Repository navigation
fix(app-server): preserve bounded event delivery - #729
GraciousGazelles wants to merge 6 commits into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour 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. |
There was a problem hiding this comment.
Code Review
This pull request refactors the in-process app-server client and runtime to improve backpressure handling and event delivery. It introduces a dedicated bounded sequencer for public event delivery, ensuring that required notifications and server requests retain FIFO custody and are not dropped during queue saturation, while best-effort events report loss via a lagged marker. The shutdown sequence is also improved to prevent deadlocks. The review feedback correctly points out two instances of the unstable let_chains feature (&& let) in lib.rs that will fail to compile on stable Rust toolchains, recommending standard nested if let or direct pattern matching instead.
|
Current-main rehydration is blocked on the existing reviewed product-choice gate: prior Luna review proved strict bounded in-memory custody, lossless/FIFO required events, and indefinite producer/later-request progress are mutually incompatible for an indefinitely undrained consumer. The canonical Ops item w12443 remains preserved/blocked pending an explicit choice: Option 1 bounded-backpressure, Option 2 progress-first unbounded facade (upstream openai#38381 style), or separately authorized Option 3 durable spool. No branch mutation or queue/merge action is safe until that contract is selected. |
|
Read-only current-main rehydration: origin/main is ee28646 (tree 41023adf850563c0daec00792ca2e665131da150); PR head remains 3c3cfc2 (tree 4a203d47cbb3a2d9928919b8a2fabd97bf706f51). A no-write merge-tree simulation is clean (prospective tree c84497276831e9594f0a8b560fef565bfc4575cd). Branch refresh was intentionally not applied because the existing exact Luna gate still requires explicit selection of bounded-backpressure, progress-first unbounded facade, or durable-spool product semantics. |
|
Superseded by #747 |
Summary
Laggedmarkers and release blocked delivery on consumer closureValidation
cargo fmt --manifest-path codex-rs/Cargo.toml --all -- --checkgit diff --checkcargo metadata --manifest-path codex-rs/Cargo.toml --no-deps --format-version 1Focused and required hosted checks are still needed for this exact head.