Repository navigation
test(mobile): guard every J5 seam in upstream mobile files - #373
Merged
Merged
Conversation
A rebase that rewrites an upstream mobile file can drop the J5 call without a type error. One table-driven test lists each seam, the J5 code it must reach and the FORK/BRANDING record that owns it, and fails with that record's name when a seam disappears. Closes #368 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reached
This review includes 1 billable file and costs up to $0.25.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 47 minutes for your next included review. View limit detailsLimit details: You’ve used all 4 included reviews currently available. Your 30 included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour. Review configuration: ⚙️ Run configurationConfiguration used: Repository: Jacksondr5/j5code/.coderabbit.yaml Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (1)
Comment |
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.
J5 edits 32 upstream mobile files, but only 3 of the 205 mobile test files are J5's. An upstream advance that rewrites one of those files can quietly drop a J5 call, such as the persona picker, the playbook board, or the draft-as-agent carrier. There's no type error, and J5 behavior just disappears.
What this adds.
apps/mobile/src/j5/upstreamSeams.test.tsis one table covering all 15 places an upstream mobile file reaches J5 code. Each row gives:If a seam disappears, the failing test's name tells the rebaser which record to re-apply. This is the per-seam test the FORK.md mobile section (#370) requires; new mobile seams add a row. Existing behavior tests stay where they are (
projectThreadStartTurn, the outbox, the composer command menu).It reads upstream sources as text, following web's
ArtifactsPage.test.tsprecedent. For component seams, that's the only cheap way to make a dropped call fail loudly.Verification
vp test run src/j5/upstreamSeams.test.ts: 15 passed.<PlaybookBoardinThreadDetailScreen.tsxfails the "case 45: native playbook board" row. Restored afterwards.Closes #368
🤖 Generated with Claude Code. Claude Opus 5.5 in J5 Code.