Skip to content

test(nitro): stop sharing build state between the module and e2e suites - #329

Merged
HugoRCD merged 1 commit into
mainfrom
test/nitro-shared-build-state
Sep 3, 2026
Merged

test(nitro): stop sharing build state between the module and e2e suites#329
HugoRCD merged 1 commit into
mainfrom
test/nitro-shared-build-state

Conversation

@HugoRCD

@HugoRCD HugoRCD commented Sep 3, 2026

Copy link
Copy Markdown
Member

📚 Description

Base of a six-PR stack splitting the OAuth, plugins and scopes work. Nothing here is user-facing, so no changeset.

module.test.ts drove the types:extend hook against the shared discovery fixture, then removed node_modules/.nitro from it in afterAll. The e2e suite builds that same fixture out of the same directory, so the cleanup could land mid-build and fail it — roughly one run in four once the module suite grew long enough to overlap.

The hook test now runs against its own temporary app, which leaves nothing for the fixture to share. Verified by running the package suite five times in a row: 151 passing each time.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

`module.test.ts` drove the `types:extend` hook against the shared discovery
fixture, then removed `node_modules/.nitro` from it in `afterAll`. The e2e
suite builds that same fixture out of the same directory, so the cleanup
could land mid-build and fail it — roughly one run in four once the module
suite grew long enough to overlap.

The hook test now runs against its own temporary app, which leaves nothing
for the fixture to share.
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
nuxt-mcp-toolkit-docs Skipped Skipped Sep 3, 2026 3:37pm UTC

Request Review

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@pkg-pr-new

pkg-pr-new Bot commented Sep 3, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/nitro-mcp-toolkit@329
npm i https://pkg.pr.new/@nuxtjs/mcp-toolkit@329

commit: 6e79dd1

@HugoRCD HugoRCD self-assigned this Sep 3, 2026
@HugoRCD
HugoRCD merged commit 1e4e983 into main Sep 3, 2026
16 checks passed
@HugoRCD
HugoRCD deleted the test/nitro-shared-build-state branch September 3, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant