Skip to content

Fix bridge readiness worker race - #15

Merged
chrisknvidia merged 1 commit into
mainfrom
fix/christopherk/bridge-worker-cancellation
Jul 16, 2026
Merged

chrisknvidia merged 1 commit into
mainfrom
fix/christopherk/bridge-worker-cancellation

Conversation

@chrisknvidia

Copy link
Copy Markdown
Collaborator

Summary

  • wait for the authenticated bridge readiness worker to drain before startup returns
  • add a deterministic regression test for the worker-accounting race
  • prevent the slow-header cancellation test from intermittently observing both readiness and request workers

Root cause

The post-merge macOS Tier 3 job could begin the slow-header request while the startup health-check worker was still completing its final bookkeeping. The test then observed two active workers instead of one. This is the same intermittent failure previously seen on the PR branch.

Failed main run: https://github.com/NVIDIA/SkillEvaluator/actions/runs/29454116242

Verification

  • deterministic regression test: passed
  • original failing test: 20/20 consecutive passes
  • macOS Tier 3 contract suite: 384 passed, 5 skipped, 1 deselected
  • complete suite: 2902 passed, 7 skipped, 3 deselected
  • Ruff: passed
  • git diff --check: passed

@chrisknvidia
chrisknvidia merged commit 9d77988 into main Jul 16, 2026
10 checks passed
@chrisknvidia
chrisknvidia deleted the fix/christopherk/bridge-worker-cancellation branch August 1, 2026 03:01
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