Skip to content

Parallelize astro-expressive-code integration test builds#422

Merged
hippotastic merged 7 commits intomainfrom
hippotastic/parallelize-integration-tests
Feb 6, 2026
Merged

Parallelize astro-expressive-code integration test builds#422
hippotastic merged 7 commits intomainfrom
hippotastic/parallelize-integration-tests

Conversation

@hippotastic
Copy link
Copy Markdown
Collaborator

Attempts to speed up astro-expressive-code tests by building and testing the fixtures of all Astro versions concurrently with Vitest, while keeping each fixture build local to its suite so that eventual errors only influence the respective version.

  • Converts Astro version test suites in packages/astro-expressive-code/test/integration.test.ts to use describe.concurrent(...).
  • Adds deterministic per-fixture HMR ports (24700 + n) to avoid Vite port collisions during parallel fixture builds.
  • Adds packages/astro-expressive-code/test/fixtures/astro-build-shim.cjs for sandboxed environments where os.cpus() can be empty, which could otherwise break older Astro builds with invalid concurrency.

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 6, 2026

Deploy Preview for expressive-code ready!

Name Link
🔨 Latest commit abf9719
🔍 Latest deploy log https://app.netlify.com/projects/expressive-code/deploys/69853eab7b59a6000862aca3
😎 Deploy Preview https://deploy-preview-422--expressive-code.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@hippotastic hippotastic merged commit e9d2218 into main Feb 6, 2026
5 checks passed
@hippotastic hippotastic deleted the hippotastic/parallelize-integration-tests branch February 6, 2026 14:52
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