Repository navigation
Keep the Worker bridge sources in the publish archive - #17
Closed
jonbeckman wants to merge 1 commit into
Closed
jonbeckman wants to merge 1 commit into
jonbeckman wants to merge 1 commit into
Conversation
The Worker bundler resolves @alchemy.run/cloudflare/Bridge and Better Auth through the worker export condition, which is TypeScript. The archive exclude was dropping those sources, so a deploy failed while bundling the board Worker. Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
jonbeckman
marked this pull request as ready for review
November 28, 2026 19:10
Contributor
Author
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. |
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
A deploy of
solzero/agent-board@0.1.1failed while bundling the board Worker, the site, and the domain backfill. The generated entry imports@alchemy.run/cloudflare/Bridge. Alchemy 2.0.0-beta.85 and beta.87 both generate that import. The Worker bundler resolves it with theworkerexport condition, which issrc/Bridge.ts. The publish exclude droppednode_modules/**/*.tsand kept only the Bootstrap sources Node loads, so that file was not in the archive.@alchemy.run/cloudflareand@alchemy.run/better-authare already dependencies of@agent-board/server. Upgrading Alchemy does not change theworkercondition. The archive now keeps those two packages' TypeScript sources. A bundle of the pruned, excluded tree resolves@alchemy.run/cloudflare/Bridgeand finishes.Tests
nub run typechecknub run effect:diagnosticsnub run lintnub run formatnub prune --prod, therelease.ymlexclude list, then the Alchemy Worker bundle forpackages/server/src/BoardWorker.ts. The bundle completed. The only external imports left arenode:built-ins.Notes
Alchemy 2.0.0-beta.87 is the latest beta and still points the
workercondition at TypeScript, so this pull request does not bump Alchemy. The published0.1.1archive is unchanged. The next registry publish is the one a deploy can bundle.