Repository navigation
fix: persist serialized webhook consumer lifecycle - #15
Merged
09473ZH merged 2 commits intoSep 24, 2026
Merged
Conversation
Author
|
Harness integration: https://github.com/CorgiCortex/Qortex-Trading-Harness/pull/286 pins this PR's |
09473ZH
merged commit Sep 24, 2026
762d98a
into
agent/codex-long-sessions-clean
35 of 37 checks passed
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.
Serialized event senders currently cannot distinguish a running consumer from a consumer that ended without business ACK. Lost responses and restarts can consequently restart work or leave the sender polling the wrong state.
Persist admission by route and stable delivery identity before starting work. Authenticated batch status/cancel requests share route authentication and bypass model admission quota. Receiver restart exposes interrupted work; the sender owns explicit recovery for serialized event routes. Cancellation persists a tombstone before stopping the consumer; consumers sharing other obligations remain running until those obligations finish or are cancelled.
Validation: canonical
scripts/run_tests.sh -j 1passed 80 tests across seven webhook/restart test files. Real HTTP replay covers lost responses, repeated admission, busy scopes, normal completion, active cancellation, late delivery and durable restart. The additional shared-consumer cancellation check also passes. New files pass Ruff; changed modules compile. This fork has no pre-commit configuration.Dependency for CorgiCortex/Qortex-Trading-Harness#285.
completedmeans the consumer ended, not that business ACK or trading execution completed. Production deployment remains paused pending the Harness integration and separate hardware validation.