vm: assert deck's served apps from deps.lock and every .mattstack route - #447
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…k route Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r relaunch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedNext included review available in 13 minutes. View limit detailsLimit details: You’ve used the included review currently available. Your 83 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (21)
Comment |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng file Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
VM assert checks the served apps the bundle ships (RT-284, spec section H)
Part of the 2.13.0 prod-readiness release (RT-279..284). The clean-room assert now fails unless deck serves exactly the bundle's catalog in prod, and it fetches every
.mattstackroute instead of the first.What changed
Guest helper (
rt-tray/vm/run/guest/)served-apps.sh, sourced byassert-installed.shandtrigger-update.shjq/catalog.jq,jq/launchctl-print.jq,jq/served-verdict.jq(the guest has only the bundle's jq)Contents/Resources/deps.lockserve rows; nothing names an apphealth.ok, no dev-link issue, an advertisedicon(the bundled identity resolved),<name>.mattstackroute, argv[Helpers/<name>, ...serve.args], cwd~/.mattstack/<name>, a pid; deckdevMode: falsecom.mattstack.deck.<name>job, and any pending serve rowWiring
assert-installed.sh: every route, served-app assert (90s poll), headless stated passtrigger-update.sh: optional--headless; served-app assert (180s) and every route after the relaunchwalkthrough.shpasses--headlessto the update legTests
check-vm-scripts.shscripts/lib/__tests__/vm-served-catalog.test.tspinscatalog.jqtoparseDepsLockin CI (runs against deps.lock: serve field for bundled apps #442's fixture and the shipped lock)Review fixes (stand-in Opus review; CodeRabbit was rate-limited)
Helpersbinary); the 180s poll waits for the post-update restartassert-installed.shpolls the served set before fetching routes, so a route is not judged while its app is still startinglaunchctl-print.jqfinds the job header on any line, so a stderr warning cannot make a loaded tool read as unloadedbun run test); the parity test honoursVM_TEST_JQVerification
bash rt-tray/vm/check-vm-scripts.sh:all vm checks okbun test rt-tray/vm/run/helpers scripts/lib/__tests__/vm-served-catalog.test.ts: 39 pass, also 39 pass under the bundle's jq 1.8.2 (VM_TEST_JQ)bun test scripts/lib/__tests__/vm-served-catalog.test.ts: 2 pass; droppingserve.argsincatalog.jqmakes the fixture case fail onargsdemobunx tsc --noEmitclean,bash scripts/repo-purity.shokNot run here
No VM run: the assert goes green only on a bundle carrying the serve rows and deck 1.1.0 (units B, C, D and the deps.lock row PRs). The release walkthrough is its first real run. Until boxscore's row flips from pending to bundled, the assert fails it by name, as intended.
🤖 Generated with Claude Code