Skip to content

fix(crashlytics-autotriage): raise MCP_TIMEOUT so the Firebase MCP server connects#90

Merged
stozo04 merged 1 commit into
mainfrom
feature/crashlytics-autotriage-mcp-timeout
Jun 23, 2026
Merged

fix(crashlytics-autotriage): raise MCP_TIMEOUT so the Firebase MCP server connects#90
stozo04 merged 1 commit into
mainfrom
feature/crashlytics-autotriage-mcp-timeout

Conversation

@stozo04

@stozo04 stozo04 commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Description

Four consecutive runs on #87 failed with the Firebase MCP server never surfacing the crashlytics_* tools. Root cause is a documented, fixed claude-code-action issue: #1152 — the Claude CLI's MCP startup timeout defaults to 30s, and firebase-tools mcp exceeds it while booting + authenticating to Google, so the server is killed before it connects. Pre-installing the package (PR #89) didn't help because the bottleneck is boot/auth time, not download.

Changes

  1. Raise MCP_TIMEOUT + MCP_TOOL_TIMEOUT to 120s via GITHUB_ENV before the action (the propagation bug from #1152 is fixed in @v1).
  2. Drop the _comment key from .github/firebase-mcp.json — keep the canonical {"mcpServers": {...}} shape only, in case the config parser is strict.
  3. Keep the pre-install and show_full_output (still temporary).

Type of Change

  • 🐛 Bug Fix (CI / MCP startup)

How Has This Been Tested?

  • Diagnosed from the run log (show_full_output) + the upstream issue #1152, which matches the symptom exactly.
  • Re-test after merge: re-label crashlytics-auto; the firebase MCP server should now connect within the 120s window and crashlytics_get_issue should return data.

If it still fails

show_full_output is on, so the log will show the firebase server's actual error — at that point it's almost certainly auth: confirm the Firebase Crashlytics API is enabled on openloop-8c266 and the gh-crashlytics-reader SA has roles/firebasecrashlytics.viewer. Also note: a re-test needs a real, current Crashlytics issue ID (a stale/closed ID returns no data even when the tools work).

Checklist

  • 🔍 Self-review performed.
  • 📖 Workflow YAML + JSON validated.

…rver connects

Root cause (anthropics/claude-code-action#1152): the Claude CLI's MCP startup
timeout defaults to 30s. The firebase-tools MCP server exceeds that while booting
+ authenticating to Google, so it never connects and the crashlytics_* tools
never surface (4 consecutive runs on #87). Pre-install alone didn't help because
the bottleneck is boot/auth time, not download.

- Raise MCP_TIMEOUT and MCP_TOOL_TIMEOUT to 120s via GITHUB_ENV before the action.
- Drop the `_comment` key from .github/firebase-mcp.json in case the MCP config
  parser is strict (keep only the canonical {"mcpServers": {...}} shape).
@stozo04 stozo04 merged commit b9dacca into main Jun 23, 2026
1 check passed
@stozo04 stozo04 deleted the feature/crashlytics-autotriage-mcp-timeout branch June 23, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant