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
Suspend/resume creates redundant ActorTemplates and golden snapshots #378
While running AX on local KIND/Substrate at d8ed0fe, creating a task and then suspending/resuming it produced three ActorTemplates, each with a golden snapshot, without changing the workload.
Repro: apply a task, wait for Ready, then run ax suspend task <name> and ax resume task <name>. List its templates with kubectl ate get actor-templates -a <atespace>.
AX_TASK_YAML includes task status and spec.suspend, and that environment value feeds the template-name hash. Lifecycle changes therefore create new templates unnecessarily.
Small proposed fix: exclude those fields from the embedded launch configuration. The existing lifecycle test now checks template reuse and confirms a command change still produces a distinct template. It fails before the fix; controller, runner and metadata tests pass with -race afterward.
Sharing here rather than opening a PR while contributions are restricted.
@AlexsJones I sent you an invite that should enable PRs for you.
We are in the process of rewriting Agent Substrate's actor lifecycle and hence will rewrite our controller. In the meantime, I'm happy to patch changes if you send any. The controller will be written pretty soon :)
Activity
rakyll commentedon Sep 24, 2026
@AlexsJones I sent you an invite that should enable PRs for you.
We are in the process of rewriting Agent Substrate's actor lifecycle and hence will rewrite our controller. In the meantime, I'm happy to patch changes if you send any. The controller will be written pretty soon :)
AlexsJones commentedon Sep 24, 2026
Thanks @rakyll, much appreciated! I've opened #390 with the fix. Happy to rework it or fold it into the controller rewrite, whichever suits.