feat: support MCP-as-CLI progress messages on stderr#28109
Conversation
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/bc53aa29-4a55-4a7f-9bb8-6c5b09a9a271 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/bc53aa29-4a55-4a7f-9bb8-6c5b09a9a271 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/bc53aa29-4a55-4a7f-9bb8-6c5b09a9a271 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
🧪 Test Quality Sentinel ReportTest Quality Score: 85/100✅ Excellent test quality
Test Classification Details
Test Analysis Notes
Scoring Breakdown
Language SupportTests analyzed:
Verdict
📖 Understanding Test ClassificationsDesign Tests (High Value) verify what the system does:
Implementation Tests (Low Value) verify how the system does it:
Goal: Shift toward tests that describe the system's behavioral contract — the promises it makes to its users and collaborators. References: §24841780742
|
Summary
actions/setup/js/mcp_cli_bridge.cjsto parse streamed JSON-RPC/SSE message payloadsnotifications/progressevents and emit progress output to stderrresult/errormessages from the streamValidation
cd /home/runner/work/gh-aw/gh-aw/actions/setup/js && npm run lint:cjscd /home/runner/work/gh-aw/gh-aw/actions/setup/js && npx vitest run mcp_cli_bridge.test.cjscd /home/runner/work/gh-aw/gh-aw && make agent-finish(fails in existing unrelated pkg/workflow tests:TestCopilotDetectionDefaultModel,TestWasmGolden_CompileFixtures)parallel_validation(Code Review: no comments; CodeQL: no alerts reported)