Skip to content

Fix circular dependency in workflow package runtime#916

Merged
VaguelySerious merged 5 commits intomainfrom
peter/fix-runtime-circular-dependency
Feb 2, 2026
Merged

Fix circular dependency in workflow package runtime#916
VaguelySerious merged 5 commits intomainfrom
peter/fix-runtime-circular-dependency

Conversation

@VaguelySerious
Copy link
Copy Markdown
Member

@VaguelySerious VaguelySerious commented Feb 2, 2026

This just moves the Run class into its own file

…changeset

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@VaguelySerious VaguelySerious marked this pull request as draft February 2, 2026 19:10
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 2, 2026

🦋 Changeset detected

Latest commit: 2b35b24

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

This PR includes changesets to release 13 packages
Name Type
@workflow/core Patch
@workflow/builders Patch
@workflow/cli Patch
@workflow/docs-typecheck Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/web-shared Patch
workflow Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/sveltekit Patch
@workflow/world-testing 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 Feb 2, 2026

Move the Run class to its own file (runtime/run.ts) to break the circular
dependency that was causing issues with Bun's module resolution.

The cycle was:
- runtime.ts re-exports start from runtime/start.ts
- runtime/start.ts imports Run from runtime.ts

Now both files import Run from runtime/run.ts, eliminating the cycle.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@VaguelySerious VaguelySerious marked this pull request as ready for review February 2, 2026 19:18
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 2, 2026

🧪 E2E Test Results

Tests are running...

This comment will be updated with the results when the tests complete.


Started at: 2026-02-02T19:18:26Z

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 2, 2026

📊 Benchmark Results

Benchmarks are running...

This comment will be updated with the results when the benchmarks complete.


Started at: 2026-02-02T19:20:06Z

Comment thread .changeset/pre.json
"@workflow/docs-typecheck": "0.0.0",
"@workflow/serde": "4.0.0",
"@workflow/nest": "0.0.0-development",
"@workflow/nest": "4.0.0",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This fixes nest version starting at 0.0.0. No actual change otherwise.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@VaguelySerious VaguelySerious merged commit e4e3281 into main Feb 2, 2026
60 of 91 checks passed
@VaguelySerious VaguelySerious deleted the peter/fix-runtime-circular-dependency branch February 2, 2026 19:59
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.

3 participants