daemon: extract the container run from the task pipeline #1938

Open
opened 2026-11-12 17:20:56 +00:00 by sam · 0 comments
Owner

After #1929 to #1934, Daemon still carries the per-task pipeline and the container run (acquireTaskContainer, runViaAgent, the State Store relay, run credentials, model egress) in one type with about 29 fields and 62 methods. Extract the container run into its own type with required dependencies, the pipeline calling it through a narrow interface.

Done when container_run.go has no *Daemon receiver and its fields are off Daemon.

After #1929 to #1934, Daemon still carries the per-task pipeline and the container run (acquireTaskContainer, runViaAgent, the State Store relay, run credentials, model egress) in one type with about 29 fields and 62 methods. Extract the container run into its own type with required dependencies, the pipeline calling it through a narrow interface. Done when container_run.go has no *Daemon receiver and its fields are off Daemon.
sam added the chorelow labels 2026-11-12 17:20:56 +00:00
sam added a new dependency 2026-11-13 02:51:04 +00:00
sam added the deferred label 2026-11-15 17:26:09 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1938