Skip to content

Fix pre-dispatch evaluation timeout test hang - #2

Merged
yie1d merged 2 commits into
mainfrom
fix/evaluate-deadline-ci
Aug 27, 2026
Merged

yie1d merged 2 commits into
mainfrom
fix/evaluate-deadline-ci

Conversation

@yie1d

@yie1d yie1d commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • handle both legal orderings between the evaluation deadline and fake-server observation
  • pre-release the stalled fake request when the deadline wins before started is observed
  • bound coordination and cleanup observation with independent watchdogs

Root cause

On a loaded Ubuntu runner, the 10 ms evaluation deadline could expire before the fake server observed Runtime.evaluate. The test then waited indefinitely for started, even though cdpkit had correctly cancelled the pending command.

Validation

  • exact evaluation regression test
  • evaluate module tests
  • cargo test --all-targets --locked
  • cargo fmt --all -- --check
  • cargo +1.98.0 clippy --all-targets --locked -- -D warnings
  • cargo +1.88.0 check --all-targets --locked
  • examples and repository contract tests

Chrome-specific tests remain ignored and were not run.

@yie1d
yie1d merged commit 3d8d76e into main Aug 27, 2026
6 checks passed
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