fix: three quick-wins to close PRD gaps
Gap 2 (MaxUptime): container created with context deadline when MaxUptime > 0 — Docker kills the container on expiry. Gap 6 (/data/ volume): mount worktree at /data/worktree instead of /workspace, matching PRD section 3 volume layout. Gap 4 (per-task subjects): change SubjectForAgentRequest from per-stage (archie.agent.<id>.<stage>) to per-task (archie.agent.<id>.request). Stage name is carried in the AgentRequestMessage payload. PRD section 2.
This commit is contained in:
1 parent
fc33e519a5
commit
c8b22aeb8e
3 files changed
+18
-7
No files matched your search
@@ -74,7 +74,7 @@ func (r *NATSRunner) Run(ctx context.Context, workspace string, req Request) (Re
|
||||
return Result{}, err
|
||||
}
|
||||
|
||||
subject := arnats.SubjectForAgentRequest(req.TaskID, req.Stage)
|
||||
subject := arnats.SubjectForAgentRequest(req.TaskID)
|
||||
headers := natsio.Header{}
|
||||
headers.Set(arnats.ReplyHeader, replySub.Subject)
|
||||
|
||||
|
||||
Reference in new issue
Block a user