Skip to content

awf v0.4.1

Choose a tag to compare

@github-actions github-actions released this 07 Jul 23:07

A patch release fixing a native-backend timeout deadlock.

Fixed

  • Native-backend timeout deadlock (leaked agent process). On the native
    backend a step's real workload runs as a grandchild (under sh -c, and the
    sandbox trampoline). A timeout SIGKILLed only the direct child, so the
    grandchild survived holding the step's stdout/stderr pipe write-ends open — the
    reader goroutines never saw EOF, no step outcome was ever produced, and the
    whole run deadlocked, with the agent process orphaned and still holding its
    network connections. The native backend now runs each step in its own process
    group and kills the whole group on timeout (with a WaitDelay backstop),
    reaping the workload and surfacing the timeout as a retryable failure that
    feeds the existing retry / recovery: continue path — matching the Docker
    backend's existing process-tree reaping.