myxce/src/tools
Rongsong Shen ff9de2e004
fix(bug-924): prune stale /tmp test-fixture dirs in xce-build.sh
70+ testsuite/ files across controller/scheduler/lib call mkdtemp()
directly with no shared fixture helper, and none clean up after
themselves. Left unchecked this fills the sandbox disk (recurred three
times now: 2026-06-22, 2026-08-26, 2026-08-30, each larger than the
last -- 696GB at its worst), which then surfaces as unrelated
"Expected Non-NULL"-style cascade failures wherever the next test
happens to call mkdtemp()/persist_init(), easily mistaken for a real
regression.

Retrofitting cleanup into 70+ individual test files would be invasive
and risks breaking tests that inspect a fixture's contents across
multiple TEST_ functions in the same file. Every test run in this
project goes through xce-build.sh, so pruning once there -- age-gated
at 3 hours so a concurrent session's in-progress fixtures are never
touched -- is the lowest-risk single choke point.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019QxaSzHRB7pmYFp4cVnwkA
2026-08-30 15:07:49 +00:00
..
appimage save works 2026-03-04 18:18:53 +08:00
deploy-ha.sh fix(deploy-ha): guard against double-launching a live HA deploy 2026-08-27 07:59:24 +00:00
go_build feat(dirty-content-fingerprint): go_build injects fingerprint via ldflags 2026-08-21 06:06:05 +00:00
test-build-version-regression.sh test(build-time-versioning): add motivating-incident regression script 2026-08-20 15:14:21 +00:00
test-commit-durability.sh feat(admin-config-tool): drop ha/data/ entirely, match real client TLS 2026-07-22 14:50:51 +00:00
test-dirty-fingerprint-distinguishability.sh test(dirty-content-fingerprint): add dev-loop distinguishability regression 2026-08-21 09:56:12 +00:00
test-dirty-fingerprint-nix-production-path.sh test(dirty-content-fingerprint): add Nix production path fingerprint check 2026-08-21 11:12:15 +00:00
test-dirty-fingerprint-startup-log-unchanged.sh test(dirty-content-fingerprint): add startup-log-unchanged consistency check 2026-08-21 10:17:39 +00:00
test-heartbeat-tolerance.sh feat(admin-config-tool): drop ha/data/ entirely, match real client TLS 2026-07-22 14:50:51 +00:00
test-version-startup-consistency.sh test(build-time-versioning): add version/startup-log consistency check 2026-08-20 16:38:37 +00:00
test-xceadmin-build-install-version.sh test(build-time-versioning): add xceadmin end-to-end build/install/version cycle check 2026-08-20 17:02:01 +00:00
xce-build.sh fix(bug-924): prune stale /tmp test-fixture dirs in xce-build.sh 2026-08-30 15:07:49 +00:00