Repository navigation
⚠️ Rename Kagenti → Rossoctl across the flagship repo (→ rossoctl) - #2230
Conversation
Full content + path rename Kagenti → Rossoctl. All 7928 case-insensitive `kagenti` references updated and 29 kagenti-named paths renamed; grep is clean. Paths renamed (git mv): - Python package kagenti/ → rossoctl/ (backend, ui-v2, tui, keycloak, auth, tests) - charts/kagenti → charts/rossoctl; charts/kagenti-deps → charts/rossoctl-deps - Java pkg io/kagenti → io/rossoctl; setup/cleanup-kagenti.sh → -rossoctl.sh; .claude/skills/kagenti* → rossoctl*; .github/scripts/kagenti-operator → operator; docs/diagrams Content: - Brand / prose / comments: Kagenti → Rossoctl - Python: dist kagenti-project → rossoctl-project; packages=["rossoctl"]; every import kagenti / from kagenti → rossoctl (0 remaining) - Go TUI module: github.com/kagenti/kagenti/kagenti/tui → github.com/rossoctl/rossoctl/rossoctl/tui - npm: @kagenti/ui → @rossoctl/ui; kagenti-app-demo → rossoctl-app-demo - Java: io.kagenti.keycloak(.authenticator) → io.rossoctl.keycloak(.authenticator) - Images ghcr.io/kagenti/* → ghcr.io/rossoctl/*; chart kagenti-operator-chart → operator-chart; cross-repo kagenti-extensions → rossocortex, kagenti-operator → operator (repo) / rossoctl-operator (deployed identity) - CODEOWNERS @kagenti/* → @rossoctl/*; CI reusable-workflow refs kagenti/.github → rossoctl/.github - Installer env interface KAGENTI_* → ROSSOCTL_* (~90 vars: KAGENTI_NS, KAGENTI_REPO, KAGENTI_CONFIG_FILE, ...). No KAGENTI_* backward-compat fallback (per "no kagenti"). - Runtime contracts: CRD groups agent.kagenti.dev → agent.rossoctl.dev, mcp.kagenti.com → mcp.rossoctl.com; label/annotation domains kagenti.io/*, protocol/inject/integrations/openshell.kagenti.io → *.rossoctl.io; namespaces kagenti-system/-webhook-system → rossoctl-*; Keycloak realm kagenti → rossoctl Verification: - grep sweep: 0 `kagenti` (content + paths); no malformed names (two rossoctl-rossoctl-* are faithful renames of pre-existing doubled source strings) - Python: compileall clean; pytest rossoctl/backend/tests → 673 passed; no broken internal rossoctl.* imports; uv.lock consistent (uv lock --check) - ruff check ✅ and ruff format ✅ (7 files reformatted — renamed identifiers grew 1 char) - Go TUI: go build ✅, go vet ✅, go test ✅ (all packages) - NOT run locally: root e2e suite (needs kubectl + kind/hypershift cluster), Java/Maven build of keycloak SPI (no maven), Helm chart rendering (no helm) Related to rossoctl#1972 Assisted-By: Claude Opus 4.8 <[email protected]> Signed-off-by: IBRAHIM IBRAHIM <[email protected]>
| # ADK agent with OpenShell supervisor as entrypoint | ||
| # Supervisor applies Landlock + seccomp + netns + OPA before exec'ing the agent | ||
| FROM ghcr.io/kagenti/openshell/supervisor:v0.0.36-kagenti.8 AS supervisor | ||
| FROM ghcr.io/rossoctl/openshell/supervisor:v0.0.36-rossoctl.8 AS supervisor |
| @@ -1,8 +1,8 @@ | |||
| # Weather agent running inside OpenShell supervisor | |||
| # Supervisor applies Landlock + seccomp, then execs the weather agent | |||
| FROM ghcr.io/kagenti/openshell/supervisor:v0.0.36-kagenti.8 AS supervisor | |||
| FROM ghcr.io/rossoctl/openshell/supervisor:v0.0.36-rossoctl.8 AS supervisor | |||
| @@ -1,5 +1,5 @@ | |||
| # hadolint ignore=DL3007 | |||
| FROM kagenti-agent-base:latest | |||
| FROM rossoctl-agent-base:latest | |||
| @@ -2042,7 +2042,7 @@ | |||
| buildrun_labels = { | |||
| k: v | |||
| for k, v in build_labels.items() | |||
| if k.startswith("kagenti.io/") or k.startswith("app.kubernetes.io/") | |||
| if k.startswith("rossoctl.io/") or k.startswith("app.kubernetes.io/") | |||
| @@ -2042,7 +2042,7 @@ | |||
| buildrun_labels = { | |||
| k: v | |||
| for k, v in build_labels.items() | |||
| if k.startswith("kagenti.io/") or k.startswith("app.kubernetes.io/") | |||
| if k.startswith("rossoctl.io/") or k.startswith("app.kubernetes.io/") | |||
mrsabath
left a comment
There was a problem hiding this comment.
Summary
Structurally this is a faithful, thorough rename — I spot-checked the sensitive substitutions (image path doubling rossoctl/rossoctl/*, kagenti-extensions→rossocortex, CRD groups *.rossoctl.dev/*.rossoctl.com, kagenti.io/*→rossoctl.io/* labels, KAGENTI_*→ROSSOCTL_* env) and they match the pre-rename source and the #1972 rollout plan. All residual kagenti-named files are old paths being removed, each with an added rossoctl counterpart. Sign-off/DCO ✅.
Requesting changes on one genuine, self-inflicted CI blocker (Chart.lock). The other failing checks are rename-transition artifacts, explained below so they aren't mistaken for defects.
Blocking
chart-tests— Chart.lock out of sync (inline). The dependency was renamed in bothChart.yamlandChart.lock, but the storeddigestwas carried over unchanged. Helm derives the digest from name+repo+version, sohelm dependency buildfails. Regenerate the lock (see inline).
Non-blocking (transition sequencing — surfaced so reviewers don't misread them)
Deploy & Test— 403 onoci://ghcr.io/rossoctl/operator/operator-chart. The refs are rewritten correctly, but therossoctlorg/registry isn't published yet. Per #1972 this is a dependency-ordering step (publishghcr.io/rossoctl/*images+charts first). E2E can't go green until then — not a code defect in this PR.CodeQL— "82 new alerts incl. 4 critical". False-positive artifact of a 555-file rename: findings likeIncomplete URL substring sanitizationfire onrossoctl.io/string literals whose logic is identical tomain. CodeQL's own note: "Alerts not introduced by this PR might have been detected because the changes were too large." Recommend confirming zero net-new alerts vsmainbefore merge.Dependency Review—[email protected](high). Pre-existing vuln re-surfaced only because the lockfile path moved (kagenti/…→rossoctl/…). Worth a separate bump; shouldn't block the rename.
Nit
- Title is 74 chars (guideline is <72) and uses a bare
⚠️prefix. The org title-rule Ruleset expects an allowed word prefix (e.g.Refactor:); the emoji alone may trip that required check on a future re-run even though it's currently green. Consider e.g.Refactor: Rename Kagenti → Rossoctl across the flagship repo.
Areas reviewed: Helm/charts, CI (5 failing checks investigated end-to-end), path renames (974 files), Python packaging, security scanners, commit conventions.
CI status: 5 failing (1 fixable now, 4 transition artifacts), rest passing; E2E HyperShift awaiting /run-e2e.
| - name: operator-chart | ||
| repository: oci://ghcr.io/rossoctl/operator | ||
| version: 0.3.0-alpha.8 | ||
| digest: sha256:6a51019293663bc08a44202438a00936c3c4b378045f344fd92061ec7b197d19 |
There was a problem hiding this comment.
must-fix — this is what fails chart-tests.
Error: the lock file (Chart.lock) is out of sync with the dependencies file (Chart.yaml). Please update the dependencies
The dependency was renamed in both files — Chart.yaml now has name: operator-chart / repository: oci://ghcr.io/rossoctl/operator, and this lock was string-substituted to match — but digest: sha256:6a51019293663bc08a44202438a00936c3c4b378045f344fd92061ec7b197d19 was carried over verbatim from the old kagenti-operator-chart entry. Helm computes the lock digest from the resolved dependency set (name + repo + version), so renaming the dep invalidates it and helm dependency build refuses to proceed.
Regenerate instead of hand-editing:
helm dependency update charts/rossoctl
helm dependency update charts/rossoctl-deps # if its Chart.lock exists toothen commit the updated Chart.lock. (Requires the renamed ghcr.io/rossoctl/operator chart to be pullable, which ties into the registry-publish sequencing noted in the summary — you may need that published first to regenerate.)
There was a problem hiding this comment.
Fixed in b36471d. Didn't hand-edit — regenerated the lock digest for the renamed operator-chart dependency via Helm's HashReq, and validated the recompute by reproducing the pre-rename digest (sha256:6a51019…) byte-for-byte, so the new value is trustworthy.
helm dependency build charts/rossoctl now passes the digest check (Saving 1 charts) and fails only on the expected 403 pulling the not-yet-published oci://ghcr.io/rossoctl/operator — which folds into the ghcr.io/rossoctl/* publish sequencing from #1972 (same class as Deploy & Test), not a defect in this PR.
…ependency The Helm dependency was renamed in both Chart.yaml and Chart.lock (kagenti-operator-chart → operator-chart; oci://ghcr.io/kagenti/kagenti-operator → oci://ghcr.io/rossoctl/operator), but the lock `digest` was carried over verbatim. Helm derives the digest from the resolved dependency set (name+repository+version), so the stale digest made `helm dependency build` fail with "Chart.lock out of sync" — the chart-tests blocker mrsabath flagged. Recomputed via Helm's HashReq (validated by reproducing the pre-rename digest byte-for-byte). `helm dependency build` now passes the digest check and only fails on the expected 403 pulling the not-yet-published oci://ghcr.io/rossoctl/operator chart — a registry-publish sequencing artifact (publish ghcr.io/rossoctl/* first), not a defect in this PR. Related to rossoctl#1972 Assisted-By: Claude Opus 4.8 <[email protected]> Signed-off-by: IBRAHIM IBRAHIM <[email protected]>
|
Thanks for the thorough review, @mrsabath 🙏 Blocking — fixed (b36471d): regenerated Non-blocking — agree with your read:
Title nit: happy to switch to a word prefix. One question — the emoji |
|
Blocked on Phase 3 of the rename rollout ordering (see #1972). This PR unblocks once |
Follow-up to the Rossoctl rename: #2230 merged the rename + Chart.lock fix but not the later rossocortex→cortex change. - rossocortex → cortex (55 files): image refs ghcr.io/rossoctl/rossocortex/* → ghcr.io/rossoctl/cortex/*, cross-repo doc links (AuthBridge demos), prose - Fix the extensions webhook-chart name (tracks the extensions repo name): rossoctl-webhook-chart → cortex-webhook-chart (oci://ghcr.io/rossoctl/cortex/cortex-webhook-chart) in release docs + skill Verification: git grep clean of rossocortex, kagenti, and rossoctl-webhook-chart; TUI go build ✅; ruff check + format ✅. Chart.lock digest already correct on main. Related to #1972 Assisted-By: Claude Opus 4.8 <[email protected]> Signed-off-by: IBRAHIM IBRAHIM <[email protected]>
Full content + path rename Kagenti → Rossoctl. All 7928 case-insensitive
kagentireferences updated and 29 kagenti-named paths renamed; grep is clean.Paths renamed (git mv):
Content:
Verification:
kagenti(content + paths); no malformed names (two rossoctl-rossoctl-* are faithful renames of pre-existing doubled source strings)Related to #1972
Assisted-By: Claude Opus 4.8 [email protected]
Summary
Related issue(s)
(Optional) Testing Instructions
Fixes #