Skip to content

fix(identity): update charm-sqlite vendorHash for jwt/v5 migration - #17411

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900cr-17409-vendorhash
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900cr-17409-vendorhash

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Fix

pkgs/identity/package.nix still carried the pre-migration vendorHash after 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 on charm-sqlite-0.1.0-go-modules:

  • specified: sha256-WIrDNwE0qpmsvwy5q413UyrhhOvR3IOCtPNmBgq+k04=
  • got: sha256-zjuKq26E4w4zFbiHzHskzOmzPgfXimCQgmE0hIt+mQQ=

This PR updates vendorHash to 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-bot with what you need.

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
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 03b20294-1f34-4a68-af83-9367f8132a1b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@developing-today-fleet
developing-today-fleet Bot merged commit 239fdac into main Nov 30, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/0900cr-17409-vendorhash branch November 30, 2026 18:24
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main CI failure: container images (run 46480165968)

1 participant