Skip to content

Make theme store context test deterministic#7806

Open
alfonso-noriega wants to merge 1 commit into
mainfrom
make-theme-store-context-test-deterministic
Open

Make theme store context test deterministic#7806
alfonso-noriega wants to merge 1 commit into
mainfrom
make-theme-store-context-test-deterministic

Conversation

@alfonso-noriega

@alfonso-noriega alfonso-noriega commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

What

Replaces fixed timeout sleeps in the theme store context test with explicit promise synchronization.

Why

This is preventive test cleanup: I did not find historical failures for this exact test in recent failed runs, but the test was asserting async context isolation with timing-based sleeps. Explicit synchronization keeps the same coverage without depending on fixed delays.

Testing

  • pnpm vitest run packages/theme/src/cli/services/local-storage.test.ts

@alfonso-noriega alfonso-noriega requested review from a team as code owners June 15, 2026 09:59

alfonso-noriega commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions Bot added the no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. label Jun 15, 2026
@alfonso-noriega alfonso-noriega force-pushed the make-theme-store-context-test-deterministic branch from f1f0fb3 to ba96643 Compare June 15, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant