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
T20 — End an until-complete box at its timeout, and rerun activation hooks on resume when asked #2415
Round 1 of 10 changed nothing: This round changes nothing. The branch keeps the spec layer commit 5e3e674. The runtime and hooks layers cannot be done inside the files that the layers name, so I left them undone and did not widen the diff. Runtime layer (BOX-037): (1) box_actor.rs writes the exited state at about line 1716, and that write is hardwired to ExitEnding::Exit. A timeout ending needs a change there. (2) box_actor/host.rs builds HostParams at about line 1226, so a timeout value cannot reach box_runtime.rs without a change there. (3) The daemon BoxSpec in crates/mfile/src/spec.rs has no timeout field. Only crates/mfile/src/expand.rs carries timeout, as a string such as "2h". The spec.rs layer note covers the resume-hooks key only. Hooks layer (BOX-028): the resume decision is in box_actor.rs (resume, resume_ended), and activation hooks run from box_actor/setup.rs and box_actor/host.rs (run_session_hooks, has_hooks_for). hooks.rs can hold a helper, but no file in the layers can call it on resu…[truncated]. #3104 is still open.
changed nothing: This round changes nothing. The branch keeps the spec layer commit 5e3e674. The runtime and hooks layers cannot be done inside the files that the layers name, so I left them undone and did not widen
Activity
minimal-foundry commentedon Nov 6, 2026
Round 1 of 10 changed nothing: This round changes nothing. The branch keeps the spec layer commit 5e3e674. The runtime and hooks layers cannot be done inside the files that the layers name, so I left them undone and did not widen the diff. Runtime layer (BOX-037): (1) box_actor.rs writes the exited state at about line 1716, and that write is hardwired to ExitEnding::Exit. A timeout ending needs a change there. (2) box_actor/host.rs builds HostParams at about line 1226, so a timeout value cannot reach box_runtime.rs without a change there. (3) The daemon BoxSpec in crates/mfile/src/spec.rs has no timeout field. Only crates/mfile/src/expand.rs carries
timeout, as a string such as "2h". The spec.rs layer note covers the resume-hooks key only. Hooks layer (BOX-028): the resume decision is in box_actor.rs (resume, resume_ended), and activation hooks run from box_actor/setup.rs and box_actor/host.rs (run_session_hooks, has_hooks_for). hooks.rs can hold a helper, but no file in the layers can call it on resu…[truncated]. #3104 is still open.branch
agent/2415-end-an-until-complete-box-at-its-timeout-and-rer· epic #2236 · PR #310483b2dfcbUpdated 2026-11-06T19:48:52.566Z.