test: prove durable lifecycle transitions and recovery (#65) - #68
Merged
Merged
Conversation
This was referenced Sep 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Durable state now supports recovery, but its conformance evidence needs to show exactly what survives cancellation, failure, and a fresh host process. This adds the test-owned lifecycle corpus for #65.
Local validation: Rust 1.85 and stable formatting, Clippy with warnings denied, all-target acceptance/lifecycle gates (81 + 34 recipes, twice each), documentation tests, three examples, and package verification. Python report/resource regressions, contract/source checks, and repository validators pass.
This uses existing public Flow APIs and durable schemas. The corpus qualifies Linux synthetic trusted-unconfined providers; authority/effect counters and residual cleanup remain #66. Parent #31 stays open. Host exits are tested before launch and after direct-provider reaping, not while an unconfined provider or descendants remain alive.
Closes #65.
Rollback is a revert of this test/documentation PR; no persisted runtime schemas or production execution behavior change.
CI run 36233562728 passed all five jobs for review head
680f9c205a791c7872bd18b7561e8fa425db78d8: Rust 1.85, stable Rust, repository validators, and macOS/Windows durable-state checks.