Repository navigation
feat(agent-manager): admit agent-manager 3.x beside 2.24.0 and later - #1386
Closed
fiunchinho wants to merge 1 commit into
Closed
fiunchinho wants to merge 1 commit into
fiunchinho wants to merge 1 commit into
Conversation
components.agent-manager.versionRange is >=2.24.0 <4.0.0. agent-manager 3.0.0 removes replaceCredential from the set tools (giantswarm/agent-manager#365); its chart takes the same values as 2.24.0. UPGRADE.md names the operator actions.
Published Helm chart
|
| Chart | agent-platform-connectivity |
| Version | 4.179.3-ra5c8c175t20261112182627hc904d95 |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/agent-platform-connectivity:4.179.3-ra5c8c175t20261112182627hc904d95 |
| Digest | sha256:8deb878e878cb28ad80f5303f9bea792b164a1d5595138d011faae8a99b06a1a |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent-platform-connectivity --version 4.179.3-ra5c8c175t20261112182627hc904d95Posted by architect-orb · build 32232 · commit c904d95 · updated in place on every push
Published Helm chart
|
| Chart | agent-platform |
| Version | 4.179.3-ra5c8c175t20261112182627hc904d95 |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/agent-platform:4.179.3-ra5c8c175t20261112182627hc904d95 |
| Digest | sha256:1a4004dc26b6fea6f6c3225a5841ea8d7f71a220ec905041671c91e7ea851445 |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent-platform --version 4.179.3-ra5c8c175t20261112182627hc904d95Posted by architect-orb · build 32233 · commit c904d95 · updated in place on every push
Member
Author
|
Superseded by #1375, which admits agent-manager 3.x, reads github.tokenExchange in the chart and the connectivity policies, and validates the range floors. |
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.
Do not merge as it is (2026-11-13). giantswarm/agent-manager#381, merged after this change was written and released in agent-manager
v3.0.0-rc.10, moves the chart valuegithubTokenExchangetogithub.tokenExchange(endpointbecomestokenEndpoint,secretNamebecomesexistingSecret, the new key needsgithub.enabled: true, and the schema refuses the old key). So the statement below that the chart forwards the same values to both majors no longer holds. Graveler (since giantswarm/giantswarm-configs#1070) and gazelle (since giantswarm/giantswarm-configs#1067) setagent-manager.githubTokenExchange; graveler follows release candidates and would move to 3.x at once, and its token exchange and commit mode would stop. Before a merge: the connectivity chart's egress rule and the meta chart's floor check read the new key, the platform manager renders it (giantswarm/giantswarm-platform-manager#927), the installations are reconciled, and the range is decided again (a clean cut to>=3.0.0 <4.0.0is now the better choice).Do not merge before:
devctl release wait giantswarm/agent-manager 3.0.0). Then re-run this pull request's CI:verify-components-chartsresolves the range to 3.0.0 and renders the forwarded values against its chart. Today the range resolves to 2.24.0.replace_organization_credential). Graveler and gazelle run 3.38.2 (feat(organizations)!: drop replaceCredential from the set tools agent-manager#365); glean's portal follows>=2.1.0 <4.0.0. A portal on the 2.x chart line has no organization pages and is not affected.gitops.prereleases: true: there the range becomes>=2.24.0-0 <4.0.0-0, so the release of this change moves their agent-manager to the newest 3.0.0 release candidate at once, not when 3.0.0 is published.Problem
agent-manager is on the 3.0.0 line since giantswarm/agent-manager#365. The meta chart admits
>=2.24.0 <3.0.0, so no installation gets agent-manager 3.x, and a hold on 3.x is outside the chart's tested range.Change
components.agent-manager.versionRangeis>=2.24.0 <4.0.0(was>=2.24.0 <3.0.0). The values comment, the README table andtests/golden/meta-ci-engine-off.yaml(make golden-update) follow.>=3.0.0 <4.0.0. Between v2.24.0 and v3.0.0-rc.8, agent-manager changes nothing inhelm/(values,values.schema.json, templates, RBAC),cmd/orinternal/migrate(git diff --stat v2.24.0 v3.0.0-rc.8 -- helm cmd internal/migrateis empty). The chart forwards the same values to both majors. The break is in the MCP tool contract only, and nothing this chart ships needs 3.0.0. A floor of 3.0.0 would put agent-manager inUNRELEASEDandagent-platform.giantswarm.io/unreleaseduntil 3.0.0 is out: dev builds refuse their install, and the tag pipeline refuses every meta chart release, the 4.180.0 candidates included. Precedent:components.backstage(>=2.68.0 <4.0.0) andcomponents.klaus-gatewayadmit more than one major the same way.gitops.prereleases, it moves to the newest 3.0.0 release candidate when this release is applied.agent-manager: 2.24.0(every pin is its range's floor,make golden-update), and the migrate imageagentManager.migration.image.tagstays2.24.0: themigratecommand is the same in 3.0.0.UPGRADE.md: a new entry with the operator actions.docs/organization-credentials.mdsays 3.x takes noreplaceCredential.CHANGELOG.mdis not changed: the file says that a pull request does not edit it, and the title is the release note.What agent-manager 3.0.0 breaks
v2.24.0..v3.0.0-rc.8 (
a49613d):replaceCredentialremoved fromset_organization_model,set_organization_connector,set_organization_egress_policy; a call with it is refusedinvalid_request(bindArgsusesDisallowUnknownFields)internal/api/organizations.go:127-138,docs/tools.mdreplace_organization_credentialset_organization_modelrefuses withconflictaproviderchange of a model that names a credential Secret and keeps itcredentialSecretcreateargument on the three set tools; new error codealready_exists(409)api/openapi.yamllist_organizationsaddspermissions.createAgents(one more SelfSubjectAccessReview as the caller)internal/organizations/list.golist_organization_membersnames the member-read right of chart 4.179.0 in its refusalmainsince 4.179.0)cmd/serve.go),migrateTests
make golden-update, thenmake verify-all: all 119 targets pass locally. A secondmake golden-updateleaves no diff.verify-components-charts:ok: every range is published; Chart.yaml carries no agent-platform.giantswarm.io/unreleased. The range resolves to 2.24.0 and renders the forwarded values in every shape.verify-prereleases:'>=2.24.0 <4.0.0' stops below 4.0.0, its candidates included.Review
gitops.prereleasesit moves to the newest 3.0.0 release candidate with this release. The entry, the values comment and this description say so.providerrefusal of #391 was stated too wide: it applies only to a model that names a credential Secret and keeps it, and the code isconflict.migratecode is the same in 3.0.0.Deferred
>=2.22.0, and its consumption test pins agent-manager 2.24.0; the 3.0.0 pin goes with the meta chart release that admits it.