Skip to content

Fix: regenerate token-broker go.sum for renamed cortex authlib#490

Open
Ibrahim2595 wants to merge 1 commit into
rossoctl:mainfrom
Ibrahim2595:fix/token-broker-authlib-gosum
Open

Fix: regenerate token-broker go.sum for renamed cortex authlib#490
Ibrahim2595 wants to merge 1 commit into
rossoctl:mainfrom
Ibrahim2595:fix/token-broker-authlib-gosum

Conversation

@Ibrahim2595

Copy link
Copy Markdown
Contributor

Summary

Closing the last cross-repo go.sum gap from the rename, now that cortex #680 is merged.

token-broker pinned the pre-rename cortex authlib commit v0.0.0-20260619001334-ce3417655ee8 (its go.mod declared github.com/rossoctl/rossocortex/authbridge/authlib — a module-path mismatch), and go.sum had no checksum (the placeholder was removed earlier since it couldn't be valid until cortex published the cortex/ path).

  • Bumped github.com/rossoctl/cortex/authbridge/authlib → post-rename v0.0.0-20260720192358-48fb3c767572
  • Regenerated real go.sum via go mod tidy (incl. the transitive x/crypto, x/sys bumps authlib now requires)

Verification

  • token-broker: go build ✅, go vet ✅, go test ✅ (8 pkgs, 0 fail)

Related issue(s)

Related to rossoctl/rossoctl#1972

Follow-up to the cortex rename (rossoctl/cortex#680, now merged): token-broker
pinned the pre-rename cortex authlib commit v0.0.0-20260619001334-ce3417655ee8,
whose go.mod declared github.com/rossoctl/rossocortex/authbridge/authlib — a
module-path mismatch, and go.sum had no matching checksum (the placeholder was
removed earlier since it couldn't be valid until cortex published the cortex/ path).

Bumped github.com/rossoctl/cortex/authbridge/authlib to the post-rename commit
v0.0.0-20260720192358-48fb3c767572 and regenerated real go.sum via `go mod tidy`
(also pulls the transitive x/crypto, x/sys bumps authlib now requires).

Verification: token-broker go build ✅, go vet ✅, go test ✅ (8 pkgs, 0 fail).
This closes the last cross-repo go.sum gap from the rename.

Related to rossoctl/rossoctl#1972

Assisted-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: IBRAHIM IBRAHIM <66755652+Ibrahim2595@users.noreply.github.com>
@Ibrahim2595
Ibrahim2595 requested a review from a team as a code owner July 20, 2026 19:56

@cwiklik cwiklik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes the last cross-repo go.sum gap from the Rosso rename: bumps token-broker's dependency from the pre-rename cortex authlib pseudo-version to the post-rename github.com/rossoctl/cortex/authbridge/authlib v0.0.0-20260720192358-48fb3c767572 and regenerates go.sum via go mod tidy.

Verified:

  • No leftover pre-rename rossocortex in go.sum — the rename is fully applied.
  • authlib appears with both h1: and /go.mod checksums; all added modules resolve from github.com/golang.org (no unexpected hosts).
  • go mod tidy also incidentally bumped the go directive (1.26.0→1.26.4), testify (1.10→1.11.1), and the transitive x/crypto·x/sys·jwx·secp256k1 set — normal tidy side-effects; build/vet/test reported green.

CI note: E2E Tests is failing for an unrelated reason — the suite fails pulling ghcr.io/rossoctl/cortex/authbridge-envoy:latest (denied), i.e. the renamed cortex image isn't published/public under the new namespace yet. That's rename image-publishing fallout, not caused by this go.sum change (this PR touches only token-broker deps). It will, however, keep the E2E gate red until that image is available.

LGTM. Single signed commit, no .claude/.vscode.

Assisted-By: Claude Code

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.

2 participants