Skip to content

Add /_skill-validation monitoring endpoint (CS-11093)#5472

Draft
backspace wants to merge 4 commits into
mainfrom
skill-validation-cs-11093
Draft

Add /_skill-validation monitoring endpoint (CS-11093)#5472
backspace wants to merge 4 commits into
mainfrom
skill-validation-cs-11093

Conversation

@backspace

@backspace backspace commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

backspace and others added 2 commits July 10, 2026 16:10
monitoringAuthToken is async, but handle-queue-status interpolated the
un-awaited Promise into its comparison string, so /_queue-status
actually authorized the literal token "[object Promise]" (and the test
passed because it interpolated the same Promise client-side). Move the
comparison into utils/monitoring.ts as isAuthorizedToViewMonitoring and
await the token on both sides.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Validates that every skill in a realm still resolves: enumerates Skill
cards via the index, imports each unique command codeRef module through
the prerenderer (a real host in headless Chrome, with the same shims
and virtual network a user's browser has), and returns structured
pass/fail per skill with the failing module path. Motivated by the
CS-10992/CS-11046 staging incident where a renamed host command path
silently broke the AI assistant while API health checks stayed green.

The module prerender response now carries all export names (not just
BaseDef definitions) so the endpoint can also catch a renamed export
whose module still loads.

Authenticated with the monitoring bearer token, same as /_queue-status.
A Checkly check in cardstack/infra will poll this per environment.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Preview deployments

Host Test Results

    1 files      1 suites   2h 36m 45s ⏱️
3 454 tests 3 439 ✅ 15 💤 0 ❌
3 473 runs  3 458 ✅ 15 💤 0 ❌

Results for commit c3d554e.

Realm Server Test Results

    1 files      1 suites   11m 59s ⏱️
1 818 tests 1 818 ✅ 0 💤 0 ❌
1 897 runs  1 897 ✅ 0 💤 0 ❌

Results for commit c3d554e.

backspace and others added 2 commits July 10, 2026 16:24
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Drop the CS-11093 tracker references and the staging-incident narrative
from the handler and route comments; state the threat model as the live
invariant instead. Rename the failure-reporting test timelessly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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