Documentation
¶
Overview ¶
Command crashchild is the test child process for the crash-proof integration test. It runs a 50-iteration loop with a SQLite store and a slow fake tool. Parent process SIGKILLs it mid-run; this binary is relaunched with -resume <loopID> to test the crash-resume path.
SP5 extension: -supervisor mode starts a parent loop that spawns 2 children, each counting to 10. Used by the crash-resume integration test with children.
Usage:
crashchild -db /path/to/db.sqlite [-resume <loopID>] [-journal /path/to/journal] crashchild -db /path/to/db.sqlite -supervisor [-resume <loopID>]
On successful completion, prints: "COMPLETED loopID=<id> final=<n>" The journal file records each tool call (one entry per call), used to verify idempotent tools don't execute twice on resume.
Click to show internal directories.
Click to hide internal directories.