Skip to content

[WIP] Enable detectAsyncLeaks in Vitest tests#7616

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/enable-detect-async-leaks
Draft

[WIP] Enable detectAsyncLeaks in Vitest tests#7616
Copilot wants to merge 2 commits intomainfrom
copilot/enable-detect-async-leaks

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

  • Add detectAsyncLeaks: true to packages/react/vitest.config.mts (node environment)
  • Add detectAsyncLeaks: true to packages/doc-gen/vitest.config.mts (node environment)
  • Add detectAsyncLeaks: true to packages/styled-react/vitest.config.ts (node environment)
  • Add detectAsyncLeaks: true to packages/postcss-preset-primer/vitest.config.ts (node environment)
  • Build validated successfully
  • Code review: no issues
  • CodeQL: no security alerts

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@changeset-bot
Copy link

changeset-bot bot commented Mar 3, 2026

⚠️ No Changeset found

Latest commit: 79f49e2

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

Co-authored-by: siddharthkp <1863771+siddharthkp@users.noreply.github.com>
@github-actions github-actions bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Mar 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

⚠️ Action required

👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Or, apply the integration-tests: skipped manually label to skip these checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants