refactor(agentexec): remove legacy execution paths
Autonomous workflows now have exactly one production boundary: a task-scoped archie-agent receives a full-task core-NATS request and runs the worker-local stage loop. The legacy [agent] section remains decode-only for migration; it no longer selects runtime behavior.
This commit is contained in:
1 parent
cc6b093820
commit
5d00ec7b0c
65 files changed
+454
-2678
No files matched your search
@@ -98,8 +98,8 @@ func TestRunMissingFile(t *testing.T) {
|
||||
// has no cancellation mechanism. A skill script that blocks forever
|
||||
// (select{}) wedges the calling goroutine permanently. Every other
|
||||
// execution path in archie-core supports context cancellation
|
||||
// (exec.CommandContext in SubprocessRunner, context.Cause checks in
|
||||
// InProcessRunner), but Run cannot be canceled or timed out because it
|
||||
// (context.Cause checks in LoopRunner), but Run cannot be canceled or timed
|
||||
// out because it
|
||||
// takes no context.Context and calls i.EvalPath synchronously.
|
||||
func TestRunBlocksIndefinitelyOnBlockingScript(t *testing.T) {
|
||||
path := writeScript(t, `package main
|
||||
|
||||
Reference in new issue
Block a user