Refactor Bippy for happy-path clarity - #93
Open
aidenybai wants to merge 2 commits into
Open
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
aidenybai
marked this pull request as ready for review
August 13, 2026 06:33
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
cnutility name withclassNamesWhy
The repository mixed normal orchestration with rare lifecycle mechanics and repeated unsafe test setup patterns. This made the most common flows harder to read and allowed fixtures to bypass the contracts production code relies on. The refactor keeps the happy path prominent, moves exceptional mechanics into cohesive boundaries, and makes test data valid by construction.
Impact
Runtime behavior and public package behavior remain compatible.
getTimingsnow accepts the smaller structural contract it actually reads, andtraverseRenderedFibersexplicitly supports root-like inputs whose current Fiber can be null. Playground and fixture imports were updated for their new kebab-case filenames.Validation
nr checktsc --noEmitchecks for Bippy, E2E, Vite, Next, TanStack, Expo, both playgrounds, and the websitenr test: 564 passed, 2 skippednr buildnr test:e2e: 339 passed across Vite, Next.js, and TanStack, 3 skippedgit diff --check