Skip to content

refactor(polling): split poll_once.rs into 10-slice mod with PollState (#754) - #1164

Merged
Carme99 merged 1 commit into
mainfrom
w2-754
Oct 7, 2026
Merged

Carme99 merged 1 commit into
mainfrom
w2-754

Conversation

@Carme99

@Carme99 Carme99 commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Summary

poll_once.rs (11,988L) → polling/{clocks,iteration,refresh,gate,rules,presence,status_text,write,timing,exit}.rs + registry. 14→17 &mut out-params travel as one &mut PollState (allows removed from run/run_inner). All 121 polling tests move with identical assertions (incl. restored replacement-authority test in refresh.rs); Box::leak preserved verbatim. No behaviour change.

Closes #754

Review

Two independent 100/100 MERGE verdicts (Critic754 + Critic754b).

Verification

  • cargo test --lib polling: 126/126 list (121 sites); full: 910/910
  • cargo check/clippy/fmt/link-audit: clean

@Carme99
Carme99 merged commit d10fe74 into main Oct 7, 2026
14 checks passed
@Carme99
Carme99 deleted the w2-754 branch October 8, 2026 20:32
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.

refactor: split polling/poll_once.rs into focused modules

1 participant