Repository navigation
fix(aqua): apply explicit package type overrides - #11901
Conversation
📝 WalkthroughWalkthroughAqua package types are now optional. Omitted types resolve to ChangesAqua package type fallback
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThe PR preserves the distinction between omitted and explicit Aqua package types so version and platform overrides can correctly switch download strategies.
Confidence Score: 5/5The PR appears safe to merge with no concrete blocking or non-blocking defects identified. The optional representation, override merge behavior, effective-type accessor usage, and cache-format bump remain consistent across the changed parsing, compiled-registry, and Aqua backend paths. Important Files Changed
Reviews (1): Last reviewed commit: "fix(aqua): apply explicit package type o..." | Re-trigger Greptile |
Summary
typewas omitted or explicitly set.github_releasevalues from version and platform overrides.github_releaseat runtime.Root cause
Aqua registry #58400 changed newer Claude Code releases from the top-level
httppackage definition to an explicitgithub_releaseversion override. mise deserialized both an omitted type and an explicitgithub_releaseas the same default enum value, then deliberately skipped that value while merging overrides. As a result, PR #11898 retained the parent HTTP behavior and failed with:Changes
github_releasetohttptransition, Claude Code-like assets, and compiled-cache round trips.Verification
mise exec -- cargo test -p aqua-registry(128 passed)mise exec -- cargo test --all-features --bin mise backend::aqua(74 passed)mise exec -- cargo check --all-featuresmise exec -- cargo clippy --workspace --all-features --all-targets -- -D warningsmise exec -- cargo fmt --all -- --checkclaude@2.1.226from the current Aqua registry in an isolated data directory and verifiedclaude --versionreturned2.1.226 (Claude Code).mise run lintcould not start locally because its hk wrapper requires a Git metadata directory while this working copy is Sapling-native; the underlying Rust formatting and Clippy checks above passed.AI-assisted — Tool: Codex; model: OpenAI/GPT-5; version: unavailable.