Skip to content

A/B probe (do not merge): flush reorder only - #181

Closed
ualtinok wants to merge 1 commit into
mainfrom
ci/probe-flush
Closed

A/B probe (do not merge): flush reorder only#181
ualtinok wants to merge 1 commit into
mainfrom
ci/probe-flush

Conversation

@ualtinok

@ualtinok ualtinok commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Single-commit probe off green base 566bcde: f957d38 (flush pending before runtime maintenance). Windows dead-code manifest test verdict wanted.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Reordered the tick to flush ready pending responses before runtime maintenance, then flush again after using the same context. This ensures pending responses are written deterministically and fixes ordering issues seen on Windows.

  • Bug Fixes
    • Call write_ready_pending/write_ready_pending_to_writer before drain_runtime_events, then again after; accumulate writes.
    • Capture ctx once to avoid context changes mid-tick.
    • Added tick_flushes_ready_pending_before_runtime_maintenance test and updated poll count expectations.

Written for commit 23f2813. Summary will update on new commits.

Review in cubic

@ualtinok ualtinok closed this Aug 5, 2026
@ualtinok
ualtinok deleted the ci/probe-flush branch August 5, 2026 23:36
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