Skip to content

test: allow restart recovery to settle - #32

Merged
danyel117 merged 1 commit into
mainfrom
fix/ci-timing-flakes
Aug 20, 2026
Merged

test: allow restart recovery to settle#32
danyel117 merged 1 commit into
mainfrom
fix/ci-timing-flakes

Conversation

@danyel117

Copy link
Copy Markdown
Contributor

Summary

  • use the existing long-wait helper for restart recovery
  • allow up to 5 seconds under publish-job I/O load while still returning immediately on success

Evidence

The normal unit job passed, while npm prepublishOnly failed only because the generic 2-second polling deadline expired at test/server.test.ts:2393. The same test normally completes in about 40 ms.

Validation

  • focused restart test: 100/100 passes
  • bun run lint
  • bun run typecheck
  • bun run test (213 pass)
  • bun run test:coverage (213 pass)
  • bun run build
  • bun run pack:dry-run

@danyel117
danyel117 merged commit 6bd33d5 into main Aug 20, 2026
4 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