Drop remaining test-suite references from topo.md and guard.sh
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
87aeee6f93
commit
5bb415c7bc
2 files changed
+5
-9
No files matched your search
+2
-3
@@ -2,15 +2,14 @@
|
||||
# Run a command under a memory and wall-clock guard.
|
||||
#
|
||||
# Usage: tools/guard.sh [-m MAX_GB] [-t MAX_SECONDS] -- <command...>
|
||||
# tools/guard.sh -m 8 -t 900 -- swift test
|
||||
# tools/guard.sh -m 8 -t 900 -- swift build -c release
|
||||
#
|
||||
# Every second the resident set of the command's whole process tree is
|
||||
# summed; if it exceeds MAX_GB (default 8) or the clock exceeds MAX_SECONDS
|
||||
# (default 1800) the tree is killed (TERM, then KILL) and the script exits
|
||||
# 137 with a line saying why. Inherited from the lucisv repo, where a runaway
|
||||
# test once consumed 100 GB and took the machine down (2026-09-03): agents
|
||||
# run every `swift test`, fuzzer, soak test and two-process loopback run
|
||||
# through this.
|
||||
# run any long or uncertain command (build sweeps, soaks) through this.
|
||||
#
|
||||
# macOS has no enforced `ulimit -v`, so the guard is a poller, not a cap:
|
||||
# a process that allocates faster than one second's worth of headroom can
|
||||
|
||||
Reference in new issue
Block a user