Stranded test fixes: timeout stack capture, task-file lookup retry, backup opt-in
Merged
AF
5d ago+505+505+012345678901234567890123456789-18-18-01234567890123456789
Accepted agent delivery; branch-keyed search descriptor included.
Summary by cubic
Fixes flaky integration tests stranded on response timeouts, transient task-layout resolution errors, and missing backup coverage.
- Captures bounded child stacks, the last sent request, and stderr tail on response timeouts so failures carry diagnostic evidence.
- Retries task-file layout resolution in the test helper, avoiding a transient resolver error being mistaken for a legacy flat layout.
- Opts internal docs and scripts into the
.engrambackup.


Confidence Score: 5/5
The PR appears safe to merge, with a non-blocking gap in timeout evidence.
Findings
Collected stacks disappear ▶
Summary
This PR adds timeout evidence, retries task-file lookups, and opts internal documents and scripts into backup.
- Response-timeout panics include the request and child-process details.
- Background-task tests retry task-file lookup before choosing a legacy path.
- Repository records mark internal folders for backup and describe the landing slice.
Reviews (2) · Last reviewed commit: "mason: capture userspace timeout stacks ..." · Reviewed by Greptile