Repository navigation
ci: re-enable the Windows test-build job - #659
Merged
Merged
Conversation
Storybook 11.0.0-beta.2+ (storybookjs/storybook#37344) passes `windows: process.platform === 'win32'` to picomatch in `globToRegexp`, fixing the POSIX-only `webpackInclude` bug tracked in #601.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Re-enable the
windows-latest(26.x) entry in.github/workflows/ci.yamlthat was temporarily disabled in136465d6(tracked in #601), and fix a Windows ESMfile://URL import bug uncovered inrspack-mock-plugin.test.tsonce Windows tests ran again:Upstream Storybook fixed the
picomatchv4 WindowswebpackIncludebug in https://redirect.github.com/storybookjs/storybook/pull/37344 (2b0874cc, shipped inv11.0.0-beta.2and included in our currentv11.0.0-rc.1). Becausepackages/builder-rsbuild/prebundle.config.mjsexternalizesstorybook/internal/common,toImportFninvokes the fixedglobToRegexpat runtime.Evidence
test-build (windows-latest, 26.x)was disabled in136465d6after PR feat!: adopt Storybook 11 stable docgenServer feature #594 failed with empty story contexts on Windows.45944124797) passed all sandbox builds and 32/33 unit test files (confirming#601is resolved), failing only inrspack-mock-plugin.test.tswhere the generatedautomock-wrapper.mjsemitted a rawD:\...path in an ESMimport(Received protocol 'd:').packages/builder-rsbuild/tests/plugins/rspack-mock-plugin.test.tsconvertsautomockLoaderviapathToFileURL(...).href(df280789).pnpm exec rs test packages/builder-rsbuild/tests/plugins/rspack-mock-plugin.test.ts(16/16),pnpm check(408 lint/type, 624 fmt),pnpm check-dependency-version.test-build (windows-latest, 26.x)re-triggered ondf280789.Merge Danger
Door: Two-way
Reverting restores the commented matrix entry with zero runtime code impact.
Blast Radius: CI-only
Affects GitHub Actions workflow execution on
v4and one unit test helper; addstest-build (windows-latest, 26.x)back into theci-passedgate.