Skip to content

Backport #2963: Fix dotted tsconfig alias workflow discovery#2982

Open
github-actions[bot] wants to merge 1 commit into
stablefrom
backport/pr-2963-to-stable
Open

Backport #2963: Fix dotted tsconfig alias workflow discovery#2982
github-actions[bot] wants to merge 1 commit into
stablefrom
backport/pr-2963-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #2963 to stable (backport job run).

AI recommendation: This is a self-contained bug fix to fast-discovery.ts (the buggy shouldSkipFastDiscoveryImport function verified to exist on stable), fixing WorkflowNotRegisteredError for dotted tsconfig-aliased imports. The accompanying test additions and Windows cleanup-timeout hardening all touch files present and maintained on stable, and none of the changes depend on main-only APIs.

Merge conflicts were resolved by AI (opencode with anthropic/claude-opus-4.8). Please review the conflict resolution carefully before merging.

* Fix dotted alias workflow discovery

* Increase streamer stress test cleanup timeout

* Increase canary HMR rediscovery timeout

Signed-off-by: Nathan Colosimo <110621881+NathanColosimo@users.noreply.github.com>
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7482bba

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

This PR includes changesets to release 16 packages
Name Type
@workflow/builders Patch
@workflow/astro Patch
@workflow/cli Patch
@workflow/nest Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/vitest Patch
workflow Patch
@workflow/world-testing Patch
@workflow/nuxt Patch
@workflow/core Patch
@workflow/web-shared Patch
@workflow/web 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

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Error Error Jul 17, 2026 5:17am
example-nextjs-workflow-webpack Error Error Jul 17, 2026 5:17am
example-workflow Error Error Jul 17, 2026 5:17am
workbench-astro-workflow Error Error Jul 17, 2026 5:17am
workbench-express-workflow Error Error Jul 17, 2026 5:17am
workbench-fastify-workflow Error Error Jul 17, 2026 5:17am
workbench-hono-workflow Error Error Jul 17, 2026 5:17am
workbench-nitro-workflow Error Error Jul 17, 2026 5:17am
workbench-nuxt-workflow Error Error Jul 17, 2026 5:17am
workbench-sveltekit-workflow Error Error Jul 17, 2026 5:17am
workbench-tanstack-start-workflow Error Error Jul 17, 2026 5:17am
workbench-vite-workflow Error Error Jul 17, 2026 5:17am
workflow-docs Ready Ready Preview, Comment, Open in v0 Jul 17, 2026 5:17am
workflow-swc-playground Error Error Jul 17, 2026 5:17am
workflow-tarballs Error Error Jul 17, 2026 5:17am
workflow-web Ready Ready Preview, Comment Jul 17, 2026 5:17am

);

expect(discovered.discoveredWorkflows).toEqual(new Set());
expect(discovered.discoveredFiles).toEqual(new Set([normalize(entryFile)]));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
expect(discovered.discoveredFiles).toEqual(new Set([normalize(entryFile)]));

Test references non-existent discovered.discoveredFiles property, causing tsc (TS2551) to fail and breaking @workflow/builders#build and downstream Vercel builds

Fix on Vercel

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.

0 participants