Repository navigation
Lifecase 0.1.0: controlled subprocess fixtures
Lifecase 0.1.0 is a small testing asset for application teams that add their own subprocess completion or cancellation policy. It provides a prebuilt native child fixture and direct tests against official CliWrap 3.10.5. It is not another production process wrapper.
The fixture separates parent exit, inherited-pipe drain, descendant cleanup, cooperative stop, and forced shutdown. The optional Go developer verifier produces JSON/JUnit evidence and accepts external JSONL adapters. Consumers of the .NET fixture example need only the fixture binary and .NET 8 SDK; C++/Go build tools are optional.
Verified source: 9d749754b6f8bba093aa49e306e705d612a60d71. Full multi-OS CI run passed all six jobs, including the release gate.
| Target | Go lifecycle policies | Official CliWrap tests | Installed/extracted archive |
|---|---|---|---|
| Linux x64 | 11 pass | 9 pass | pass |
| macOS ARM64 | 11 pass | 9 pass | pass |
| Windows x64 | 10 pass, 1 unsupported signal | 9 pass | pass |
Native fixture tests ran twice per target, plus Linux Clang. Go test/race/vet, source checks, locked NuGet vulnerability audit, and repeat runs passed. The attached verification.json records timings and archive hashes. The unauthenticated public macOS download was checksum/source-verified and passed all 11 lifecycle smoke scenarios after publication.
Unsupported/unrun: Windows console signals, CliWrap graceful cancellation token, Job Object/deep-tree containment, Intel macOS, Windows ARM64, and platforms outside the documented archive baselines. Cooperative token-file stop is not claimed to be an OS console signal. macOS assets are unsigned and not notarized; no security setting changes are recommended. Adoption has not been established, and existing CliWrap tests remain the first choice when upstream defaults cover the application's policy.
Archives contain the native executable, MIT license, versioned protocol, checksums, and source commit metadata. Each archive has an external SHA-256 sidecar. See the Korean quickstart and .NET guide in the repository.