Skip to content

test(core): harden process and project copy timing#37377

Open
rasitakyol wants to merge 1 commit into
anomalyco:devfrom
rasitakyol:test-flake
Open

test(core): harden process and project copy timing#37377
rasitakyol wants to merge 1 commit into
anomalyco:devfrom
rasitakyol:test-flake

Conversation

@rasitakyol

Copy link
Copy Markdown

Issue for this PR

Closes #37321

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Retries the process-test PID file read when the file exists but is still empty. It also gives the stale-worktree project-copy test a scoped 15 second timeout for slower CI runners.

How did you verify your code works?

  • Ran bun test test/process/process.test.ts test/project-copy.test.ts --only-failures 10 times: 370/370 tests passed.
  • Ran bun typecheck in packages/core.
  • Passed the pre-push workspace typecheck: 30/30 tasks.
  • Ran Prettier, Oxlint, and git diff --check on the changed test files.

Screenshots / recordings

Not applicable; this only changes test synchronization and timeout behavior.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@rasitakyol
rasitakyol marked this pull request as ready for review July 16, 2026 21:08
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.

v2 tests: process and project-copy tests flake in CI

1 participant