Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe resume composer test now mocks Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to This updates the resume test fixture to match the mention-menu API without changing production behavior; no merge-blocking issue is identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Superseded by merged #26097. Its fixture uses the same current mock export, callback and empty mention result; only JSX prop placement differs. Closing this duplicate without merging. Original measured qualification follows.
ELI5
The resume test still used the mention-menu API removed by #26017, so web typechecking stopped PR CI before unit tests could run. Update that test fixture to the current API; product behavior and all seven test cases stay unchanged.
What Changed
Mock the current
NativeChatMentionMenuexport, supply an empty nonloading/nonfailedmentionFilesresult, and useonChooseMentionFileinstead of the removedonAcceptMention. The existing test defaults, callbacks, seven cases and 12 assertion sites are unchanged.Why
Nearby composer fixtures were updated during the mention-menu change; this one was missed. Aligning the fixture restores the compile contract without restoring removed product props or weakening assertions.
Linked Issue
Follow-up to #26017; unblocks #26095. Maintainer repair, no separate issue.
Visual Proof
N/A — test fixture only; no product UI or interaction change.
Testing
pnpm tc:webpassesThe before failure is recorded in PR #26095 CI; its failing fixture blob is identical to this branch's base on
a3ecee0dce1e. This is a correctness repair, with no test-speed claim.pnpm tc:web, changed-code quality checks and formatting passed locally.Review
One test file; no production code, platform behavior, SSH execution or wire contract changes.
Agent skill upstream boundary
Checklist