Skip to content

test(mesh-replay): a hold soak reproduces the lite-07 link starvation on pre-fix builds - #9831

Draft
kixelated wants to merge 4 commits into
mainfrom
quest/m1/lite07-link-starve
Draft

kixelated wants to merge 4 commits into
mainfrom
quest/m1/lite07-link-starve

Conversation

@kixelated

@kixelated kixelated commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Claims quest/m1/lite07-link-starve.md. Draft: the quest is not complete. It reproduces and names where the fix is not; the bisect is left.

Summary

  • test/mesh-replay: a hold event (no fault, the mesh runs untouched) plus a paused check that fails when any reader pauses past stall during a hold, even if it recovers. half-roll-hold.toml rolls a and b (so a-b is the only lite-07 link) and holds 10 minutes. README and a loader test cover it.
  • Incidental macOS fix: the replay's auth server listened with Python's backlog of 5, so every session was reset at start on macOS (app code=502). request_queue_size = 128.
  • Quest Plan records the evidence below.

Findings

Relay built at each commit, this checkout's moq-bench, 4 broadcasts per relay, one run each, on a loaded shared Mac (load average about 20):

Relay build Result
5d86f05321 readers starve from the first roll, 791s pause in the hold
a1c13dd38d (parent of #9564) starved
64c69c2548 (#9564, its S5) starved (half-roll.toml)
f24ac5065e (main) clean: half-roll.toml once, half-roll-hold.toml at 4 and 32 broadcasts

Validation

  • python3 -I test/mesh-replay/replay.test.py: 28 pass.
  • quest gate just test mesh-replay --script test/mesh-replay/half-roll.toml on main passes; half-roll-hold.toml --broadcasts 4,32 on main passes both cells (600s holds, a-b on lite-07, no reader paused past 0.5s).
  • Same script on the three older builds above fails. No Rust change, so no just check run.

Public API and wire

None (test harness and quest text).

Waiting

  • Maintainer: this quest no longer gates the 0.22.0 cut and main passes. What next?
    • Bisect, then close (Recommended) - about 6 builds of half-roll.toml (3 minutes each) name the fixing commit among the 42; if it has a lowest-layer test, delete the quest and merge the harness check, else add the test. Confirms the stall is gone and why.
    • Merge the harness check and delete the quest now - cheapest; half-roll-hold.toml guards against return, but nothing names the fix or checks it has a test.
    • Keep as is for the next session - the PR stays a draft with the bisect plan.

Follow-ups

None.

Models

Size: M
Implementer: Claude Code, claude-sonnet-5-5, unknown (arm B, cohort advisor-2026-11, advisor claude-opus-5-5)

🤖 Generated with Claude Code

(Written by Claude Sonnet 5.5)

Luke Curley and others added 3 commits November 27, 2026 22:24
…s not reset

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…y reader pause

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title Readers stay fed when two subscribers share a mesh's only lite-07 link test(mesh-replay): a hold soak reproduces the lite-07 link starvation on pre-fix builds Nov 28, 2026

This branch has not been deployed

No deployments
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