Skip to content

Fix/add instrumentation to next build#1846

Open
NathanColosimo wants to merge 6 commits intovercel:mainfrom
NathanColosimo:fix/add-instrumentation-to-next-build
Open

Fix/add instrumentation to next build#1846
NathanColosimo wants to merge 6 commits intovercel:mainfrom
NathanColosimo:fix/add-instrumentation-to-next-build

Conversation

@NathanColosimo
Copy link
Copy Markdown
Contributor

@NathanColosimo NathanColosimo commented Apr 23, 2026

Fixes #1845

This fixes a discovery gap in @workflow/next by including Next server instrumentation entrypoints in workflow discovery.

  • adds support for workflows imported only from instrumentation.ts and src/instrumentation.ts
  • adds a regression test covering instrumentation-only manifest inclusion in the Next workbenches.
  • Porting over these changes also fixes my local project where I was getting this issue when using a bun patchfile

*lmk if you think there are other files that should be added here

Signed-off-by: nathancolosimo <nathancolosimo@gmail.com>
Signed-off-by: nathancolosimo <nathancolosimo@gmail.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 23, 2026

🦋 Changeset detected

Latest commit: 202defd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
Name Type
@workflow/next Patch
workflow Patch
@workflow/ai Patch
@workflow/world-testing Patch
@workflow/core Patch
@workflow/builders Patch
@workflow/cli Patch
@workflow/nitro Patch
@workflow/vitest Patch
@workflow/web-shared Patch
@workflow/web Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt Patch

Not sure what this means? Click here to learn what changesets are.

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

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 23, 2026

@NathanColosimo is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Signed-off-by: nathancolosimo <nathancolosimo@gmail.com>
Signed-off-by: nathancolosimo <nathancolosimo@gmail.com>
@NathanColosimo NathanColosimo force-pushed the fix/add-instrumentation-to-next-build branch from 78890e0 to 7835c66 Compare April 24, 2026 00:51
@NathanColosimo NathanColosimo marked this pull request as ready for review April 24, 2026 13:58
@NathanColosimo NathanColosimo requested a review from ijjk as a code owner April 24, 2026 13:58
Signed-off-by: nathancolosimo <nathancolosimo@gmail.com>
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.

(nextjs) discover workflows imported from instrumentation.ts

1 participant