fix(verification): skip the upgrade path test for extensions with no manifest (swamp-club #2696) #383
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2696-check-upgrades-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes swamp-club #2696.
Problem
pathTestinscripts/check_upgrades.tsreturnedno manifest name, cannot pull itwhen an extension had nomanifest.yaml. It returned before reaching the "not published before this change, path test skipped" branch. gatorwalk-factory deliberately has no manifest until go-live (no_manifest_test.tsenforces this), so any model version bump there failed verify-build'supgrade-path-test. #2687 reverted its bump to get around it.Change
The manifest decision moves into an exported pure function,
pathTestTarget(headManifest, baseManifest):pathTestcalls it; the pull/create/source/method/typeVersion sequence is unchanged. There is one unit test per row inscripts/check_upgrades_test.ts.Why the new skip is safe
check_upgrades.tsis a trust-root script, and this makes the upgrade gate skip one case it used to fail. The skip is narrow. It applies only when there is no manifest at HEAD and none at the merge base, and an extension like that cannot have been published, so there is nothing to pull or upgrade from. The module comment (skipped for extensions with no published version),agent-constraints/verification-conventions.mdandimplementation-conventions.mdalready promised this skip. Removing the manifest from a published extension, or a nameless manifest, still fails. The static upgrade-entry check is untouched.Verification
work_item.tsbumped to2026.09.30.1with a matching upgrades entry): exit 1 before the fix, now exit 0 withgatorwalk-factory: no manifest, never published, path test skipped. The bump itself is not part of this PR.164b7f44-a139-4ce6-a80f-3a9d51032ef5and verify-reviewsfc30f809-da64-4732-9f30-957765066a51: 12 passed, 2 skipped by guard, 0 failed. code-review and ci-security-review both passed.c6d1f7fe-bff6-40d0-9e75-743b87d8c08fposted for1929514e1.🤖 Generated with Claude Code