test(runner): platform-guidance tests learn the always-on file-citation sentence - #6017
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe pull request updates platform-guidance unit tests. The tests cover file-citation guidance, revised length ceilings, and conditional skill and instruction sentences based on available tools. ChangesPlatform guidance test coverage
Estimated code review effort: 2 (Simple) | ~10 minutes Mergeability Score: ⚪ Minimal · up to This test-only change updates platform-guidance expectations and character budgets for the always-on file-citation sentence; it does not alter runtime behavior, and no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Railway Preview Environment
Updated at 2026-08-13T18:13:22.321Z |
What
Fixes the red
run-runner-testscheck on the release PR #5988. Test-only change; no runtime code is touched.Why
#6009 added the file-citation sentence to
platformGuidanceAppendixdeliberately without a tool gate (any run can mention a file in chat, and the client now resolves absolute paths). Five older tests inplatform-guidance.test.tsstill used "the whole appendix isundefined" as a proxy for "the config sentences are gated oncommit_revision", and the two character-budget ceilings predate the third sentence.How
parameters.agent.skills,agents_md) and the presence of the file-citation sentence, instead of an empty block.Verification
Full runner unit suite: 2146/2146 passing, 126 files.
tsc --noEmitclean.