Skip to content

fix(core): harden flaky process and project-copy tests#38826

Open
tiffanychum wants to merge 1 commit into
anomalyco:devfrom
tiffanychum:fix/37321-test-flakes
Open

fix(core): harden flaky process and project-copy tests#38826
tiffanychum wants to merge 1 commit into
anomalyco:devfrom
tiffanychum:fix/37321-test-flakes

Conversation

@tiffanychum

@tiffanychum tiffanychum commented Jul 25, 2026

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?

Process readiness wait returned empty file contents under a CI race, and the project-copy stale-worktree refresh exceeded the default 5s timeout on Windows CI. waitForFile now retries empty reads, and the stale-worktree test timeout is raised to 15s.

How did you verify your code works?

bun typecheck in packages/core; repeated bun test runs of the two flaky cases (process interrupt/timeout + project-copy stale refresh).

Screenshots / recordings

N/A — not a UI change.

Checklist

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

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jul 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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