Skip to content

test(integration): await complete worker and interaction state - #86

Merged
nixuuu merged 1 commit into
devfrom
fix/flaky-integration-tests
Nov 4, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/flaky-integration-tests

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 4, 2026

Copy link
Copy Markdown
Member

Two integration tests failed intermittently on the new parallel CI shards (#80).

  • agent-skills ("folder/ZIP boundaries reject … without writes"): a second worker's delayed registration bumped the environment revision (3 → 4) after the test took its baseline. Reproduced deterministically with controlled ordering. Setup now awaits every worker's registration and current report before the baseline.
  • interaction-reconnect ("an answer lost at the send boundary …"): the test's snapshot read could straddle the interaction transaction and see the pending request before its timeline item. Reproduced under load. The existing wait now requires the matching timeline item.

No production changes, no sleeps, retries or weakened assertions. Each file passed 30 runs in a row (270 + 120 tests); full suite 943 pass / 152 skip / 0 fail.

Fixes: #63
Fixes: #67

Wait for every skill worker to register and report the current revision
before asserting rejected uploads leave it unchanged. Await the matching
interaction timeline item before checking reconnect replay and deduplication.

Fixes: #63
Fixes: #67
@nixuuu
nixuuu merged commit 237b1d4 into dev Nov 4, 2026
9 checks passed
@nixuuu
nixuuu deleted the fix/flaky-integration-tests branch November 4, 2026 18:31
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