feat(mcp): ci_job_status tool — Actions history query - #689
Merged
Merged
Conversation
Add ci_job_status tool to read-only MCP server for querying GitHub Actions run history: status, conclusion, duration, flake signal. Tool spawns gh CLI with 10s timeout (no shell:true), parses deterministic JSON, handles errors gracefully. Includes test fixtures for normal history, empty history (never_executed=true), and gh failure → structured error. All tests pass. - mcp/server.mjs: Add getCIJobStatus() + tool registration - mcp/CLAUDE.md: Document tool contract + test strategy - tests/mcp-ci-status.test.mjs: 4 test cases (init, normal, empty, error) - tests/mcp-fleet.test.mjs: Update tool count from 11 to 12 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pipe-join the sub-bullet field lists for fleet_instances, fleet_multibox_summary, and ci_job_status into dense single lines. No contract information removed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This PR adds tests/mcp-ci-status.test.mjs; verify_test_suite_count.py expects the documented count to match discovery. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Aug 3, 2026
Merged
Owner
Author
|
Evicted from the merge queue: batch #736 (integrate/q-1785730980) red with every member individually green |
This was referenced Aug 4, 2026
Owner
Author
|
Evicted from the merge queue: batch #766 (integrate/q-1785803317) red with every member individually green |
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.
Summary
Add ci_job_status tool to read-only MCP server for GitHub Actions workflow run history queries.
gh run listvia child_process (no shell:true, 10s timeout)Test plan
Generated with Claude Code