Skip to content

test: deflake CI rust-test timing (pkvz + dead_session WARN) - #744

Merged
danshapiro merged 1 commit into
mainfrom
fix/ci-rust-test-flakes
Sep 7, 2026
Merged

test: deflake CI rust-test timing (pkvz + dead_session WARN)#744
danshapiro merged 1 commit into
mainfrom
fix/ci-rust-test-flakes

Conversation

@danshapiro

Copy link
Copy Markdown
Owner

Two rust-test flakes were intermittently blocking PR CI on the 4-core GitHub Actions runner (different tests each run, same root: async side-effect lag under workspace-level contention).

  • codex_locator_activity (kata pkvz): wait_for_frame budget 30s → 120s. The locator adoption sweep latency exceeds 30s under whole-workspace test contention on the CI runner (3+ CI occurrences on unrelated PRs).
  • pane_reconcile_freshagent (dead_session WARN): the tracing layer's capture push can lag the client's response read by a scheduling quantum. Replace the immediate assert with a 5s bounded poll of the capture buffer so the test tolerates that lag without masking a genuinely missing log.

@danshapiro
danshapiro force-pushed the fix/ci-rust-test-flakes branch from ef30f5f to 2b17bd4 Compare September 7, 2026 19:48
…N poll)

Two rust-test flakes were blocking PR CI on the 4-core GitHub Actions
runner (different tests each run, same root: async side-effect lag under
workspace-level contention):

- codex_locator_activity (kata pkvz): wait_for_frame budget 30s → 120s.
  The locator adoption sweep latency exceeds 30s under whole-workspace
  test contention on the CI runner (3+ CI occurrences on different PRs).
  The test's own send_create also has a 30s FRAME_BUDGET (common/mod.rs)
  that can expire before the spawn completes under load.

- pane_reconcile_freshagent (dead_session WARN): the tracing layer's
  capture push can lag the client's response read by a scheduling
  quantum. Replace the immediate assert with a 5s bounded poll of the
  capture buffer so the test tolerates that lag without masking a
  genuinely missing log.
@danshapiro
danshapiro force-pushed the fix/ci-rust-test-flakes branch from 2b17bd4 to 707530c Compare September 7, 2026 19:59
@danshapiro
danshapiro merged commit b710d6e into main Sep 7, 2026
3 of 4 checks passed
@danshapiro
danshapiro deleted the fix/ci-rust-test-flakes branch September 7, 2026 20:02
pull Bot pushed a commit to HinchK/freshell that referenced this pull request Sep 8, 2026
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