Skip to content

[DO NOT MERGE] Test PR (please ingnore) - #288

Open
aterga wants to merge 3 commits into
mainfrom
claude/remove-version-health-checks-1nskcv
Open

aterga wants to merge 3 commits into
mainfrom
claude/remove-version-health-checks-1nskcv

Conversation

@aterga

@aterga aterga commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

[DO NOT MERGE] Test PR (please ingnore)

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
@aterga
aterga marked this pull request as ready for review December 4, 2026 15:52
@aterga
aterga requested review from a team as code owners December 4, 2026 15:52
Copilot AI max review requested due to automatic review settings December 4, 2026 15:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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 /version from 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

No deployments
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.

3 participants