Skip to content

Isolate routing submission stage - #193

Merged
Stephen Belanger (Qard) merged 4 commits into
mainfrom
pipeline/09-routing-stage-handlers
Oct 19, 2026
Merged

Stephen Belanger (Qard) merged 4 commits into
mainfrom
pipeline/09-routing-stage-handlers

Conversation

@Qard

@Qard Stephen Belanger (Qard) commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

RoutingSink remains the bounded actor and wiring point while plugin execution and sink submission use separate stage handlers with private state. Submission owns configuration, emit/flush, delivery status, and SDK-specific failure classification. The container maps typed stage outcomes into shared retry conditions; generic recovery does not inspect SDK or plugin errors. Empty filtered batches retain their existing no-op behavior.

Preserves #192's shared InputPort contract, original delivery receipts, and typed failure comparisons. Completion recovery checks the error cause chain so submission-stage wrappers cannot turn a post-acceptance ledger failure into a batch resubmission. The inherited regression reproduced two submissions before this fix and exactly one afterward.

Based on main at 4520392, including merged #192. Validation at 7c52017: all 544 tests pass in the locked all-feature Rust suite without exclusions or environment overrides; five live-agent tests remain normally ignored. Strict all-target/all-feature Clippy, formatting, and diff checks pass. Fresh remote CI is pending.

Pipeline layer 9; base: main (includes #192).

Rebased at a4ad11f: all four commits retain identical patches (git range-diff); diff checks pass. Tests are left to fresh CI as requested.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T12:59:35.941034Z 7396142 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Qard
Stephen Belanger (Qard) force-pushed the pipeline/08-span-journal-ports branch from 7a3f6ff to 618f178 Compare October 19, 2026 19:15
Base automatically changed from pipeline/08-span-journal-ports to main October 19, 2026 19:25
@Qard
Stephen Belanger (Qard) force-pushed the pipeline/09-routing-stage-handlers branch from f7b9c20 to a4ad11f Compare October 19, 2026 19:25
@Qard
Stephen Belanger (Qard) merged commit c41676d into main Oct 19, 2026
22 checks passed
@Qard
Stephen Belanger (Qard) deleted the pipeline/09-routing-stage-handlers branch October 19, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants