Skip to content

Stabilize worktree selector tests#877

Open
simple-agent-manager[bot] wants to merge 1 commit intomainfrom
sam/fix-worktree-selector-test-wait
Open

Stabilize worktree selector tests#877
simple-agent-manager[bot] wants to merge 1 commit intomainfrom
sam/fix-worktree-selector-test-wait

Conversation

@simple-agent-manager
Copy link
Copy Markdown
Contributor

Summary

  • wait explicitly for async worktree restoration in workspace page tests

Verification

  • pnpm --filter @simple-agent-manager/web test -- tests/unit/pages/workspace.test.tsx

Agent Preflight (Required)

  • Preflight completed before code changes

Classification

  • external-api-change
  • cross-component-change
  • business-logic-change
  • public-surface-change
  • docs-sync-change
  • security-sensitive-change
  • ui-change
  • infra-change

External References

N/A: test-only CI stabilization, no external APIs or documentation needed.

Codebase Impact Analysis

Affected path: apps/web/tests/unit/pages/workspace.test.tsx. The change only makes existing assertions wait explicitly for the async worktree selector state.

Documentation & Specs

N/A: no product behavior, API, configuration, or documentation-facing behavior changed.

Constitution & Risk Check

Checked Principle XI for hardcoded values. The timeout is local test configuration, not production behavior. Risk is limited to CI runtime; the focused test file passes locally.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 1, 2026

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