Skip to content

fix(daemon): drain and finalize traces deterministically - #149

Open
rgao-coreweave wants to merge 1 commit into
109-12-permission-spansfrom
109-13-deterministic-shutdown
Open

fix(daemon): drain and finalize traces deterministically#149
rgao-coreweave wants to merge 1 commit into
109-12-permission-spansfrom
109-13-deterministic-shutdown

Conversation

@rgao-coreweave

@rgao-coreweave rgao-coreweave commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Make daemon shutdown deterministic: stop socket admission, protect a successor socket inode, await queued hook work, finalize child spans before parent turns, flush Weave, and close transcripts. Signal handling also covers the startup window before socket binding completes.

Validation

  • npm run check

@rgao-coreweave
rgao-coreweave force-pushed the 109-13-deterministic-shutdown branch 2 times, most recently from 3583571 to a85028b Compare July 23, 2026 03:14
@rgao-coreweave
rgao-coreweave force-pushed the 109-13-deterministic-shutdown branch from a85028b to d0ed5d8 Compare July 23, 2026 05:50
@rgao-coreweave
rgao-coreweave force-pushed the 109-13-deterministic-shutdown branch from d0ed5d8 to 86166cd Compare July 23, 2026 16:24
@rgao-coreweave
rgao-coreweave force-pushed the 109-13-deterministic-shutdown branch from 86166cd to 250a87f Compare July 23, 2026 22:46
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 23, 2026
@wandb wandb unlocked this conversation Jul 23, 2026
@rgao-coreweave
rgao-coreweave force-pushed the 109-13-deterministic-shutdown branch from 250a87f to a1255d8 Compare August 7, 2026 19:19
@rgao-coreweave
rgao-coreweave force-pushed the 109-13-deterministic-shutdown branch from a1255d8 to e08486b Compare August 7, 2026 19:24
@rgao-coreweave
rgao-coreweave marked this pull request as ready for review August 7, 2026 19:41
@rgao-coreweave
rgao-coreweave requested a review from a team as a code owner August 7, 2026 19:41
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