Repository navigation
claude-code: hoist github_release so mise 2026.8.4 can install it - #1
Merged
Merged
Conversation
aqua-registry#58400 moved claude-code >= 2.1.118 off the GCS raw-binary download onto GitHub Releases, expressed as a `type: github_release` version override under a top-level `type: http` package. mise 2026.8.4 deserializes an explicit `github_release` and an omitted type into the same default enum value, then skips defaults when merging overrides. It therefore applies the override's `format: tar.gz` but keeps `type: http`, which has no url for those versions: Failed to install aqua:anthropics/claude-code@latest: builder error: relative URL without a base Fixed upstream by jdx/mise#11901, merged 16 hours after 2026.8.4 was cut, so no released mise has it yet. Same shape as the goss override: hoist the form mise mishandles to the top level so nothing has to be merged. `type: http` in an override IS applied correctly by the buggy mise (http is not the default enum value), so the <= 2.1.117 GCS layout survives as an override, with `checksum.enabled: false` to cancel the top-level checksum it would otherwise inherit. Verified on mise 2026.8.4 linux-x64: claude@2.1.227 installs via claude-linux-x64.tar.gz with SHASUMS256.txt verification, and claude@2.1.100 still installs via the GCS raw binary. Both binaries report their version. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Contributor
Author
|
Removal is tracked as ezmm bead -- Claudelie |
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.
Why
mise upgradehas been failing on every workstation since mise 2026.8.4 landed:Two upstream changes collided:
>= 2.1.118off the GCS raw-binary download onto GitHub Releases, expressed as atype: github_releaseversion override under a top-leveltype: httppackage.github_releaseand an omitted type into the same default enum value, then deliberately skips defaults when merging overrides — so it applies the override'sformat: tar.gz(hencedownload .tar.gz) but keepstype: http, which has nourlfor those versions. Empty url →relative URL without a base.Fixed upstream by jdx/mise#11901, merged 2026-08-11 19:03Z — 16 hours after 2026.8.4 was cut. No released mise has it yet, so this override is what unblocks the fleet in the meantime.
Note:
mise cache cleardoes not help. The compiled registry cache holds the correct YAML; the defect is in the binary's merge logic.What
Same shape as the goss override already in this repo: hoist the form mise mishandles to the top level so nothing has to be merged.
type: github_release, bounded tosemver(">= 2.1.118").<= 2.1.117GCS raw layout survives as atype: httpversion override — explicithttpis applied correctly by the buggy mise, becausehttpis not the default enum value.checksum: {enabled: false}to cancel the top-levelSHASUMS256.txtchecksum it would otherwise inherit (override fields merge; see the goss comment).v2.1.88keeps itsno_asset: trueexclusion.Verification
On mise
2026.8.4 linux-x64, with this file as the soleaqua.registriesentry:claude@2.1.227github_releaseclaude-linux-x64.tar.gz, checksum verified againstSHASUMS256.txt, extracts,claude --version→2.1.227 (Claude Code)claude@2.1.100http/ GCS rawclaude, generates checksum,claude --version→2.1.100 (Claude Code)Stock mise 2026.8.4 fails on the first and succeeds on the second, so this is a strict improvement with no regression for pinned older versions.
Removal
Delete this package once workstations run mise > 2026.8.4 (the fix also bumps the compiled aqua cache v7→v8, so no stale-cache dance is needed). Tracked as ezmm bead — see follow-up.
-- Claudelie