Skip to content

chore: prefetch storybook cli during CI tests #622

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 28, 2025

Conversation

AdrianGonz97
Copy link
Member

@AdrianGonz97 AdrianGonz97 commented Jun 28, 2025

The vast majority of our flakiness when we run tests in CI is due to some weird storybook cli error related to fetching (i think).

This PR serves as a quick test to see if we can at least alleviate some of the flakiness by prefetching the CLI before we run our test suite so it's stored in pnpm's cache.

edit:
This seems to work. Rerunning the tests in CI has yielded no errors and is 10/11 on successful runs (one of the runs failed because of a vitest onTaskUpdate error with mdsvex, so it's unrelated).

Copy link

changeset-bot bot commented Jun 28, 2025

⚠️ No Changeset found

Latest commit: 1cd9e06

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

pkg-pr-new bot commented Jun 28, 2025

Open in StackBlitz

npx https://pkg.pr.new/sveltejs/cli/sv@622
npx https://pkg.pr.new/sveltejs/cli/svelte-migrate@622

commit: 1cd9e06

@AdrianGonz97 AdrianGonz97 changed the title prefetch storybook cli during testing chore: prefetch storybook cli during CI tests Jun 28, 2025
@AdrianGonz97 AdrianGonz97 marked this pull request as ready for review June 28, 2025 21:34
@AdrianGonz97 AdrianGonz97 merged commit 4a77117 into main Jun 28, 2025
56 of 57 checks passed
@AdrianGonz97 AdrianGonz97 deleted the chore/fix-windows-ci branch June 28, 2025 22:11
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