Skip to content

Signal proxy drain completion without polling - #8

Merged
pathscale merged 1 commit into
masterfrom
fix/event-driven-drain
Aug 31, 2026
Merged

pathscale merged 1 commit into
masterfrom
fix/event-driven-drain

Conversation

@pathscale

Copy link
Copy Markdown
Owner

What changed

  • track active run transitions in a registry-owned watch signal
  • wait for idle without repeatedly locking and scanning the run map
  • use the same event-driven drain contract for Unix and WebSocket shutdown
  • cover immediate and multi-run idle waits

Verification

  • cargo test -p agency-proxy --quiet
  • no sleeps, intervals, or timeouts remain in crates/proxy/src

@pathscale
pathscale force-pushed the fix/event-driven-drain branch from c75e308 to 5b68c33 Compare August 31, 2026 02:31
@pathscale
pathscale force-pushed the fix/event-driven-drain branch from 5b68c33 to 764a6e0 Compare August 31, 2026 02:53
@pathscale
pathscale merged commit 5ef4903 into master Aug 31, 2026
1 check passed
@pathscale
pathscale deleted the fix/event-driven-drain branch August 31, 2026 04:42
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.

1 participant