Repository navigation
feat: urlcode upgrade - #665
Merged
Merged
Conversation
jimhoyd
force-pushed
the
claude/upgrade
branch
2 times, most recently
from
September 24, 2026 17:28
79dd5ce to
dc50212
Compare
jimhoyd
force-pushed
the
claude/release-rewrite
branch
from
September 24, 2026 17:31
f15e6f0 to
9569aa0
Compare
`urlcode upgrade [--check] [--to X] [--site dir]` moves core and every installed extension and artifact to one version together. The target is the latest stable release (npm's latest dist-tag, which only a stable release moves) unless --to names another, including a prerelease or an older one. Core is installed first; its own dist/addons.json then decides which add-on bytes follow, and the lock is checked against those pins. The new runtime validates the project, and the site's workflow moves to the same action release. Any failure restores package.json, package-lock.json and the workflows and reinstalls. The release verify job checks a fresh site reports itself up to date. Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
force-pushed
the
claude/upgrade
branch
from
September 24, 2026 17:36
dc50212 to
f873c69
Compare
Merged
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.
Summary
Third of three PRs; #663 and #664 are merged.
urlcode upgrade [--check] [--to X.Y.Z] [--site directory] [--json]moves core and every installed extension and artifact to one version together.Target. By default it is the latest stable release: npm's
latestdist-tag, which only a stable release moves (prereleases go toalpha).--toselects any release, including a prerelease or an older one.What it does, in order:
dist/addons.json, so the add-on bytes that belong to it come from its pins and nothing else.jimhoyd-com/urlcode/action@v…to the same release.Rollback. Any failure restores
package.json,package-lock.jsonand the workflows, then reinstalls.--checkreports current → target and changes nothing. A second run is a no-op.Not included. It does not migrate configuration. If an extension's schema changed, validation names the field.
Release verify. The release
verifyjob now also checks that a fresh site reports itself up to date.Evidence
test/upgrade.test.ts(5 tests) uses a fake npm registry of core releases, each carrying its ownaddons.jsonand a stand-in CLI:--checkreports the target and changes nothing, and refuses a non-stablelatest.--toworks for a prerelease and a downgrade, and refuses anything that isn't a version.The root suite (792 tests), lint, typecheck and
npm run checkpass.Not yet exercised against real registry releases: that needs two published versions of this design.
🤖 Generated with Claude Code