Repository navigation
fix(identity): update charm-sqlite vendorHash for jwt/v5 migration - #17411
Merged
Merged
Conversation
49d7b73 migrated pkgs/identity from golang-jwt/jwt v3.2.2 to jwt/v5 v5.4.0, changing go.mod/go.sum, but left vendorHash in package.nix at the pre-migration value. The container-images workflow now fails deterministically with a fixed-output hash mismatch on charm-sqlite-0.1.0-go-modules (run 46480165968, 3/3 attempts): specified sha256-WIrDNwE0qpmsvwy5q413UyrhhOvR3IOCtPNmBgq+k04=, got sha256-zjuKq26E4w4zFbiHzHskzOmzPgfXimCQgmE0hIt+mQQ=. Update vendorHash to the hash CI computes for the current tree (pkgs/identity unchanged since the failed run's head 935079c). Closes #17409
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
developing-today-fleet
Bot
deleted the
xaltha/0900cr-17409-vendorhash
branch
November 30, 2026 18:24
This was referenced Nov 30, 2026
developing-today-fleet Bot
pushed a commit
that referenced
this pull request
Nov 30, 2026
8027f2a (#17343 slice 1) migrated pkgs/identity's ssh surface to the charm v2 stack (wish/v2 v2.0.6), changing go.mod/go.sum, but did not update vendorHash in package.nix. It reached main inside merge 239fdac (PR #17411), so main carries the jwt/v5-only hash while the vendor tree now includes the v2 stack. Verified firsthand by a remote build on main (fleet run 46484314556): hash mismatch on charm-sqlite-0.1.0-go-modules, specified sha256-zjuKq26E4w4zFbiHzHskzOmzPgfXimCQgmE0hIt+mQQ=, got sha256-dMnJ4XnJIClX+n42seMRiIXIgH6YqakcgFY0N8StLPU=. Update vendorHash to the got value. Closes #17414
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.
Fix
pkgs/identity/package.nixstill carried the pre-migrationvendorHashafter 49d7b73 migrated pkgs/identity from golang-jwt/jwt v3.2.2 to jwt/v5 v5.4.0 (go.mod/go.sum changed, hash not updated). The container-images workflow failed deterministically (run 46480165968, 3/3 attempts) with a fixed-output hash mismatch oncharm-sqlite-0.1.0-go-modules:sha256-WIrDNwE0qpmsvwy5q413UyrhhOvR3IOCtPNmBgq+k04=sha256-zjuKq26E4w4zFbiHzHskzOmzPgfXimCQgmE0hIt+mQQ=This PR updates
vendorHashto the got hash. pkgs/identity is unchanged between the failed run head (935079c) and this PR base, so the CI-computed hash is the hash of the current vendor tree.One-line change, full diff read at head. Remote verification (nix build of the identity image attrs) dispatched separately; results recorded on #17409.
Closes #17409
🤖 Lane 0900-CR (xaltha, wave 0900)
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.