Improve MCP server reliability with robust health checks and increased timeouts #8777
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.
Addresses MCP error -32603 failures in static analysis workflow by fixing insufficient health checking, tight timeouts for 146 workflows, and lack of retry logic.
Changes
MCP Server Health Check (
.github/workflows/shared/mcp/gh-aw.md)Timeouts (
.github/workflows/static-analysis-report.md)Error Handling (
.github/workflows/static-analysis-report.md)Implementation
Lock files for 12 workflows updated via
make recompile.Original prompt
This section details on the original issue you should resolve
<issue_title>Improve MCP server reliability for static analysis workflow</issue_title>
<issue_description>## Summary
This PR improves the reliability of the MCP server used in the static analysis workflow to prevent MCP error -32603 issues reported in discussion #8763.
Issues Found (from investigation)
Static Analysis Workflow
Changes Made
1. MCP Server Health Check (.github/workflows/shared/mcp/gh-aw.md)
2. Increased Timeouts (.github/workflows/static-analysis-report.md)
3. Agent Error Handling (.github/workflows/static-analysis-report.md)
Expected Improvements
Testing
All changes are non-breaking and additive:
Validation
Changes follow workflow best practices:
.mdworkflow files (no.lock.ymlfiles)References
/tmp/gh-aw/agent/q-investigation-mcp-errors.mdNote: Lock files will be automatically compiled after merge per repository workflow.
To apply the patch locally:
Show patch preview (97 of 97 lines)