Repository navigation
Fix Launcher fail-stop races and normal completion - #65
Merged
Merged
Conversation
Contributor
Author
Review (agreed with @tmori): OK to merge to unblock hakoniwa-business-pack CI, but this addresses #64 only partlyFixed:
Please change
Tests: every new test uses fakes. Please add one real-process test of the business-pack flow: a real child exits 0, then the background session reports TERMINATED and 🤖 Generated with Claude Code |
Contributor
Author
|
Additional compatibility finding from hakoniwa-business-pack Clean Onboarding E2E:
The regression is covered by |
9 tasks
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.
Summary
FAILEDmonotonic across concurrent activate, lifecycle command, watcher, and terminate pathshako-cmd checkJSON shape, aggregate status, and status/return-code combinations; uncertain responses become diagnosticUNKNOWNWhy
After #63 merged, business-pack Clean Onboarding E2E began failing even though its drone show completed successfully. The finite show runner exited with code 0, but Launcher classified every asset exit as
unexpected_asset_exitand persistedFAILED. This restores the prior normal-completion contract without weakening fail-stop handling for actual failures.Verification
PYTHONPATH=src pytest -q— 150 passed on macOShako-cmd start, and during after-start spawningCloses #64