Repository navigation
Conversation
…ch collection total cap deterministic: - I removed the wall-clock `std::thread::sleep` pacing from `test_batch_collection_refused_stream_ends_at_the_total_cap` in `pkgs/id/src/log_sync.rs` and replaced it with a deterministic synchronization primitive using a bounded `tokio::sync::mpsc::channel(1)` and a `tokio::sync::oneshot` completion signal. This fixes the flaky `BATCH_GRACE` timeout issue observed in CI without altering the core test logic or production behavior. - I ran `cargo fmt` on `pkgs/id/src/meta_client.rs` to address formatting warnings that caused the `cargo-fmt-check` gate to fail on this branch. Note: There are other known `clippy-lint` and `os error 2001` test failures on this branch/master that are unrelated to this specific queue fix and out of scope for this change. Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 48 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis 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. |
|
Closing — superseded on main (task 14677, lane code-d, #7297 disposition routing) Salvage analysis (content-level, rebase attempted): this PR rewrites the batch-collection total-cap test in pkgs/id/src/log_sync.rs to a capacity-1 handshake pacer and drops the wall-clock elapsed assertion. Current main has since fixed the same flake a different way: the test now calls collect_batch with an explicit TEST_GRACE parameter (250 ms), takes the first arrival via blocking_recv, and asserts the pacer is not finished — with a comment naming the exact defect this PR targeted (the wall-clock version raced the pacer scheduling under load, #3199). The elapsed assertion this PR removes is already gone from main, and the PR is written against the pre-grace collect_batch signature (it conflicts with main in log_sync.rs). The remaining delta (handshake pacing) is an alternative mechanism for a problem main already solved and verified; forcing it in would churn a settled test. Verdict: nothing unique worth landing. The meta_client.rs hunk is formatting only. Linked issue #807 is CLOSED. Branch is NOT deleted. Codex review of the PR head had completed with no findings. |
Opened by the branch-disposition execution (2026-11-07) from branch
queue/2661-807-apply-wiring-10443556125331556368.Branch origin: queue branch for issue #2661.
This branch was laptop-local work (or a stranded remote branch) with real changes ahead of
mainand no PR. Per Drew's 2026-11-07 branch-disposition ruling, ahead branches with real changes get a PR; this PR surfaces the work for triage instead of leaving it stranded on a branch.Triage owner: batch issue in developing-today/code, "Unowned PR batch from branch disposition (2026-11-07)". Outcome per batch triage: close with reason, or route to impl/finish/merge as a follow-on fix task.
Evidence: branch-ahead review
~/workspace/scratch/branch-ahead-review-2026-11-07.md; execution log~/workspace/scratch/branch-disposition-2026-11-07.md.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.