Repository navigation
feat(chart): stop rendering spec.context.compaction on the AgentTemplate - #41
Conversation
Published Helm chart
|
| Chart | agent |
| Version | 1.4.4-r2c5463b5t20260924092522h7d7c768 |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/agent:1.4.4-r2c5463b5t20260924092522h7d7c768 |
| Digest | sha256:8e625c716eb5e2038a564003a9aec3033f18a58d77b919407e5d4cf04db2708a |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent --version 1.4.4-r2c5463b5t20260924092522h7d7c768Posted by architect-orb · build 431 · commit 7d7c768 · updated in place on every push
kagent-dev/kagent#2790 moved context compaction to Harness.spec.kagent.compaction. The kagent line from 1.1.0 has no spec.context on the AgentTemplate and refuses a template that carries it, so the agent's HelmRelease never installed. The platform Harness carries the compaction for every admitted agent; the context.compaction values stay accepted for existing releases and render nothing.
b638a67 to
a60da3f
Compare
|
Proof on agentlab (2026-09-24, kagent 1.1 line dev build |
* fix(agent-manager): cap the Generic agent chart below 1.5.0 Generic agent chart 1.5.0 (giantswarm/agent#41) renders no spec.context.compaction on the AgentTemplate: the kagent line from 1.1.0 refuses the field and the platform Harness carries the compaction there. The kagent 1.0 line this release delivers has no other place for it, so agent-manager.agentChart.semver is >=1.0.0 <1.5.0 until the meta chart moves to the 1.1 lines. * test(target): hold the agent chart cap in the golden comparison * test(ats): the smoke expects the capped agent chart range
Problem
kagent-dev/kagent#2790 moved context compaction from the AgentTemplate to
Harness.spec.kagent.compaction. The kagent line from1.1.0(giantswarm/giantswarm#37705) has nospec.contexton the AgentTemplate and refuses a template that carries it at admission, so every agent HelmRelease from this chart fails to install there; agentlab'sagents-testshows it.Change
The chart renders no
spec.contextany more. Thecontext.compactionvalues stay accepted, for the values of existing releases, and render nothing; the platform Harness carries the compaction for every admitted agent (agent-platformkagent.harness.compaction, the same defaults this chart used to render). Unit tests, the ATS smoke assertions and the README follow.