Repository navigation
Keep the Worker bundle sources in the alchemy.new archive - #16
Merged
Merged
Conversation
The generated entry imports @alchemy.run/cloudflare/Bridge, and the worker export condition resolves that to TypeScript. The publish exclude was deleting those sources, so the deploy stopped at the bundle step. Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
jonbeckman
marked this pull request as ready for review
November 28, 2026 19:10
Contributor
TegamiThis repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under Create a changelog → · Changelog format Release preview
Changelogs in this PR
Run Managed by Tegami. |
The publish job and the pull request job pack the same pruned tree through one workflow, so the exclude list stays in one place. The pull request run validates only and does not publish. Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
alchemy.new stops while bundling agent-board 0.1.1. The generated Worker entry imports
@alchemy.run/cloudflare/Bridge. The bundler resolves that import with theworkerexport condition, which points atsrc/Bridge.ts. The publish exclude droppednode_modules/**/*.tsand kept only the bootstrap files, so that source is not in the archive and the bundle fails. The same resolve applies to@alchemy.run/better-auth/*.The publish step now keeps the TypeScript sources under
@alchemy.run/cloudflare/srcand@alchemy.run/better-auth/src. Node still loads Alchemy's runtime bootstrap as TypeScript. Alchemy 2.0.0-beta.87 does not change this: the generated entry still importsBridge, and theworkercondition still points at TypeScript.Tests
packages/server/src/BoardWorker.ts. The bundle failed with the deploy error: the generated entry imports@alchemy.run/cloudflare/Bridge, which cannot be resolved.Notes
Patch release. Version 0.1.1 stays as published. The next published version is the one to deploy.