Skip to content

Stabilize worktree switcher test timeouts#878

Merged
simple-agent-manager[bot] merged 1 commit intomainfrom
fix/stabilize-worktree-switcher-test
May 1, 2026
Merged

Stabilize worktree switcher test timeouts#878
simple-agent-manager[bot] merged 1 commit intomainfrom
fix/stabilize-worktree-switcher-test

Conversation

@simple-agent-manager
Copy link
Copy Markdown
Contributor

Summary

  • Increases waitFor timeouts from default 1s to 5s for worktree selector tests that were flaking in CI
  • The "clears stale files and git params when switching worktrees" test was failing on CI because async worktree data loading didn't complete within 1s under coverage
  • Also stabilized the adjacent "restores active worktree from URL search params" test which has the same pattern

This unblocks production deployment — CI on main has been failing since PR #874 merged, preventing the DO oversized-message fix from reaching production.

Test plan

  • All 25 workspace tests pass locally
  • Test ran 5x consecutively without failure

🤖 Generated with Claude Code

The "clears stale files and git params when switching worktrees" test
was flaky in CI — the default 1s waitFor timeout is insufficient when
running full coverage on slower CI runners. Increased to 5s for all
waitFor calls in both worktree tests.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 1, 2026

@simple-agent-manager simple-agent-manager Bot merged commit 68bc175 into main May 1, 2026
18 of 19 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