Files
restic-manager/internal/agent/runner
steve 4f1ca2fed8
CI / Test (rest) (pull_request) Successful in 36s
CI / Test (store) (pull_request) Successful in 38s
CI / Build (windows/amd64) (pull_request) Successful in 8s
CI / Lint (pull_request) Successful in 18s
CI / Build (linux/amd64) (pull_request) Successful in 7s
CI / Build (linux/arm64) (pull_request) Successful in 7s
CI / Test (server-http) (pull_request) Successful in 3m11s
e2e / Playwright vs docker-compose (pull_request) Failing after 3m39s
runner tests: use /dev/shm tmpfs for stub exec to dodge overlayfs ETXTBSY
setupScript writes a small shell script then immediately fork/execs
it through the runner. The existing write-tmp-then-rename pattern
prevents the userspace ETXTBSY race on a vanilla filesystem, but
overlayfs has an additional window where the kernel's view of
"who holds a writable fd to this inode" can lag the rename — and
the new container-based CI jobs hit it from time to time
("fork/exec ...: text file busy").

Switch the test temp dir to /dev/shm when available (tmpfs has
no overlay layering), falling back to t.TempDir() when /dev/shm
isn't usable. Production code path is unaffected; this is a
pure test helper change.
2026-05-08 21:26:22 +01:00
..
2026-05-01 00:03:59 +01:00