You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TaskSpec.resources is documented but never applied to the ActorTemplate #369
TaskSpec.resources (requests/limits for cpu and memory) is part of the proto, documented in docs/manifests.md with a full example, and shown in ax describe, but nothing in the controller reads it. internal/controller/reconciler.go never references Spec.Resources, and BuildActorTemplate in internal/substrate/client.go creates the ActorTemplate without a resources block, so the sandbox is sized purely by the WorkerPool/template defaults. Users who set limits get no error and no effect.
AX d8ed0fe.
Reproduction
Apply the Task example from docs/manifests.md (requests 500m/1Gi, limits 2/4Gi), then inspect the created template with kubectl ate get actor-template <task>-tmpl-... -a <atespace> -o yaml: there is no resources entry.
Expected
Either the values are mapped onto the ActorTemplateresources (Substrate's limits list of {name, quantity}), or the field is documented as not yet implemented and ax-server rejects/warns when it is set.
Suggested fix
Smallest honest change: add "not yet implemented" next to resources in docs/manifests.md and log a warning in the reconciler when the field is non-empty. Full fix: translate Spec.Resources.Limits into ActorTemplate.Resources.Limits in BuildActorTemplate and include it in the template hash so a change re-provisions the template.
Activity
feat(controller): apply Task resource limits to the ActorTemplate
Make Skills Strictly Opt-In in Gemini Planner (google#369)
rakyll commentedon Sep 27, 2026
Related to #433.
feat(controller): apply Task resource limits to the ActorTemplate
feat(controller): apply Task resource limits to the ActorTemplate
feat(controller): apply Task resource limits to the ActorTemplate (#405)