Repository navigation
Conversation
Production's fronting edge answers `GET /version` with a redirect to the landing site rather than serving it, so the "Deployment version" check warned on every run — a permanent amber badge on a column where the MCP surface served everything a client depends on, correctly. The endpoint is an operator convenience, not part of the MCP contract, and a build stamp nobody exposes says nothing about whether the server is up. So drop the check. The probe itself stays: `/version` is the server's own account of which build is running and which II instances it serves, and it still feeds the deployment banner and the II discovery in checkLinkage — those are informational and degrade to absent (as they already did on production, whose II is pinned with --target-ii). Staging keeps its "Running deployment: v0.4.0 @ eb5c31f" line and both of its monitored IIs. Verified against both live deployments with the registration probes off: staging and production now report pass across every section. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B94J3aqjbMhUKph1Rx3Zxz
The previous wording said the deployment banner and the advertised II list "simply go unreported" when /version is not served. Only the banner is that harmless. The advertised list feeds checkLinkage and checkIiHealth, and with nothing advertised and no pin those emit a failing ii-target and ii-unresolved — a dashboard that cannot discover the II cannot monitor it. That behaviour predates this change, but the sentence read as though nothing degraded at all, which would mislead an operator standing up a new target. Say it plainly in the README and in the comment on the probe, and name the fix: pin the II with --ii / II_ORIGIN (or --target-ii per instance), which is how the deployed dashboard configures production. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B94J3aqjbMhUKph1Rx3Zxz
Two leftovers from removing the check: The statuspage total-outage test still named `version` among the auxiliary checks that survive an unreachable server — it no longer exists, and the fixture next to that comment had already dropped it. The production findings snapshot said "neither is graded any more" of the blank deployment banner and the unreadable linked II. Only `/version` is ungraded; an II the dashboard cannot resolve still fails, which is precisely why the deployed dashboard pins production's with --target-ii. Say which is which. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B94J3aqjbMhUKph1Rx3Zxz
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The change discards /version diagnostics, hiding the production probe’s 308 redirect behind a generic missing-instances message when II discovery fails.
1 open issue
What changed in this PR
Makes /version informational in MCP status monitoring while retaining deployment metadata and Internet Identity discovery.
Changes:
- Removes
/versionfrom graded endpoint checks. - Adds regression coverage and updates outage fixtures.
- Updates monitoring documentation and explanatory comments.
| File | Description |
|---|---|
| monitoring/mcp-status/statuspage.test.js | Removes the version check from the outage fixture and comments. |
| monitoring/mcp-status/statuspage.js | Updates the auxiliary-check explanation; no behavior change. |
| monitoring/mcp-status/README.md | Explains informational metadata and Internet Identity pinning. |
| monitoring/mcp-status/checks.test.js | Tests that served and redirected /version responses are ungraded. |
| monitoring/mcp-status/checks.js | Removes version grading while preserving metadata extraction. |
Review effort: Max
Comment on lines
+329
to
+330
| // /version is missing it is simply omitted, but the advertised II list | ||
| // goes with it, and checkLinkage/checkIiHealth then fail on an II they |
This branch has not been deployed
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.

[DO NOT MERGE] Test PR (please ingnore)