Refactor: Rename rossocortex → cortex + clean residual kagenti refs#489
Conversation
Follow-up to the Rossoctl rename: rossoctl#485 merged the rename + go.sum fixes but not the later rossocortex→cortex change, and .claude/skills files that landed on main after the branch still referenced kagenti. - rossocortex → cortex (19 files): token-broker require github.com/rossoctl/rossocortex/authbridge/authlib → .../cortex/...; webhook image defaults + e2e ghcr.io/rossoctl/rossocortex/* → ghcr.io/rossoctl/cortex/* - Residual kagenti → rossoctl in .claude/skills (9 files): /tmp/kagenti/* → /tmp/rossoctl/*, kagenti-operator-controller-manager → rossoctl-operator-controller-manager, Kagenti brand Verification: go build ✅, go vet ✅, internal/webhook/config test ✅; git grep clean of kagenti and rossocortex. token-broker depends on github.com/rossoctl/cortex/authbridge/authlib, which resolves once cortex #680 merges and its authlib module publishes under the cortex path. Related to #1972 Assisted-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: IBRAHIM IBRAHIM <66755652+Ibrahim2595@users.noreply.github.com>
mrsabath
left a comment
There was a problem hiding this comment.
Summary
The operator-side counterpart to cortex#680, and the content is faithful: token-broker require path github.com/rossoctl/rossocortex/authbridge/authlib → .../cortex/..., webhook image defaults + e2e refs ghcr.io/rossoctl/rossocortex/* → ghcr.io/rossoctl/cortex/*, and the residual kagenti → rossoctl cleanup in the 9 .claude/skills files (/tmp/kagenti/*, kagenti-operator-controller-manager, brand). Signed-off ✅; Build/Unit/Integration/Lint/CodeQL all green.
Requesting changes on one blocking item (the PR title).
Blocking
verify-pr-titlefails and blocks merge.⚠️ Rename rossocortex → cortex + clean residual kagentidoesn't start with an allowed prefix (Build, Chore, CI, Docs, Feat, Fix, Perf, Refactor, Revert, Style, Test, Feature, Bug fix, Proposal, Breaking change, Other/Misc). Retitle, e.g.Refactor: Rename rossocortex → cortex + clean residual kagenti refs. Same required check as cortex#680.
Non-blocking (correctly scoped out by the author)
E2E Testsfails ondocker pull ghcr.io/rossoctl/cortex/authbridge-envoy:latest— the renamed cortex sidecar image isn't published yet. The reference is correctly renamed; this is the registry-publish gate tied to cortex#680 shipping its images, not a defect here.token-broker/go.sumheads-up: go.mod now requiresgithub.com/rossoctl/cortex/authbridge/authlib, but go.sum has no matching checksum yet (it can't be regenerated until cortex publishes thecortex/authlibmodule path — gated on #680). This is harmless to this repo's CI becausetoken-brokeris a separate Go module that no operator CI job builds (verified: Build/Unit/Integration pass). Rungo mod tidyintoken-broker/once cortex#680 lands + publishes.
Areas reviewed: Go module require path, image refs, .claude/skills residual-kagenti cleanup, CI (both failures traced end-to-end), commit conventions.
CI status: 2 failing — verify-pr-title (blocking, fix the title) and E2E Tests (cortex image-publish gate); Build/Unit/Integration/Lint/CodeQL/Trivy all passing.
|
Fixed — retitled to Agreed on the non-blocking items:
|
|
|
mrsabath
left a comment
There was a problem hiding this comment.
Re-reviewed. My earlier blocker (the ⚠️ title) is resolved — verify-pr-title is green, and the rossocortex → cortex rename + residual-kagenti cleanup in .claude/skills are faithful. Clearing my REQUEST_CHANGES.
Two things the merger should know (neither is a code defect in this PR):
-
E2E Testsis still red, but that run is stale — it ran at 17:50, before cortex #680 merged (19:23), and fails ondocker pull ghcr.io/rossoctl/cortex/authbridge-envoy:latest. The cortex sidecar images still aren't published: cortex #680 is merged but not yet tagged, so noghcr.io/rossoctl/cortex/*packages exist. E2E can't pass until cortex is taggedv*and those packages are set Public (new GHCR packages default private → the anonymousdocker pull403s). Re-running E2E now won't help until then. -
token-broker/go.modfollow-up: it still pins a pre-rename cortex commit —github.com/rossoctl/cortex/authbridge/authlib v0.0.0-20260619001334-ce3417655ee8. Now that #680 landed thecortexmodule path, ago mod tidyintoken-broker/should bump this to a post-#680 cortex commit and regeneratego.sum. It's harmless to this repo's CI (no operator CI job buildstoken-broker), but worth doing before anything consumes it.
Approving on the understanding that the merge/tag sequence (cortex tag → set packages Public → re-run operator E2E) is tracked on rossoctl/rossoctl#1972.
Areas reviewed: Go module require path, image refs, .claude/skills cleanup, CI (E2E traced), commit conventions.
CI status: verify-pr-title green; E2E Tests red (stale run; downstream-gated on cortex tag+publish); all else passing.
Summary
Follow-up to the Rossoctl rename. #485 merged the rename + go.sum fixes, but not the later rossocortex→cortex change; separately,
.claude/skillsfiles that landed onmainafter the branch still referencedkagenti.github.com/rossoctl/rossocortex/authbridge/authlib→.../cortex/...; webhook image defaults + e2eghcr.io/rossoctl/rossocortex/*→ghcr.io/rossoctl/cortex/*kagenti → rossoctlin.claude/skills(9 files):/tmp/kagenti/*→/tmp/rossoctl/*,kagenti-operator-controller-manager→rossoctl-operator-controller-manager, brandVerification
go build✅,go vet✅,internal/webhook/configtest ✅git grepclean ofkagentiandrossocortexKnown cross-repo dependency
token-brokerdepends ongithub.com/rossoctl/cortex/authbridge/authlib, which resolves once cortex #680 merges and its authlib module publishes under thecortexpath.Related issue(s)
Related to #1972