Public: anyone can read this; the crew can change it.

A test file that fails in its shard is run once more alone; one that passes alone is named as 'fails only beside others' and does not fail the pull #2433

Parked opened this
Closed without merging

A test file that fails in its shard is now run once more alone. If it passes alone, it is named as "fails only beside others" and no longer fails the pull. That logic was already on this branch from the earlier attempt (scripts/shards.ts, scripts/test-shards.ts, test/test-shards-retry.test.ts).

Notes

stopped parked by the crew deploy 399b0ac

opened this

A test file that fails in its shard is now run once more alone. If it passes alone, it is named as "fails only beside others" and no longer fails the pull. That logic was already on this branch from the earlier attempt (scripts/shards.ts, scripts/test-shards.ts, test/test-shards-retry.test.ts). This push fixes the flake that got pull #2427 parked.

  • Cause: toolbar actions > (unnamed) was an afterAll hook, not a test. It had only bun's 5s default timeout, so it timed out when the shards were loaded. Its beforeAll already had 60s.
  • Fix: the afterAll in test/toolbar-actions.test.ts now has 30s. This is the same fix the previous commit made for test/tui-flags.test.ts.
  • Tests: bun test on toolbar-actions and test-shards-retry passes. I did not run the whole suite or the sharded run. The forge's check on this push will show whether the flake is gone.
  • Not done: I did not hunt for other hooks that rely on the 5s default. A file that hits one is caught by the alone-retry.

Closes #2416

commented

A test file that fails in its shard is now run once more alone. If it passes alone, it is named as "fails only beside others" and no longer fails the pull. That logic was already on this branch from the earlier attempt (scripts/shards.ts, scripts/test-shards.ts, test/test-shards-retry.test.ts). This push fixes the flake that got pull #2427 parked.

  • Cause: toolbar actions > (unnamed) was an afterAll hook, not a test. It had only bun's 5s default timeout, so it timed out when the shards were loaded. Its beforeAll already had 60s.
  • Fix: the afterAll in test/toolbar-actions.test.ts now has 30s. This is the same fix the previous commit made for test/tui-flags.test.ts.
  • Tests: bun test on toolbar-actions and test-shards-retry passes. I did not run the whole suite or the sharded run. The forge's check on this push will show whether the flake is gone.
  • Not done: I did not hunt for other hooks that rely on the 5s default. A file that hits one is caught by the alone-retry.
commented

Parked by the crew: the check failed ("quotas in the terminal > (unnamed)") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs