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
Fix hang when using --exec flag in Nix sandboxed builds
The busy-wait loop at await.c:900-906 was spinning at 100% CPU without
yielding, preventing the exec thread from completing in constrained
environments like Nix's sandboxed builds.
Added msleep(10) to the loop to allow the exec thread to get CPU time.
This fixes 4 tests that were timing out in Nix builds:
- test_placeholder_in_exec
- test_exec_runs_on_success
- test_exec_with_fail_flag
- test_exec_with_output
All 46 tests now pass in nix-build.
Also added default.nix and shell.nix for Nix package maintainers.
Fixes#18
0 commit comments