Skip to content

fix(ci): bump cloudflare-tools to fix install-time build race#911

Closed
sam-goodwin wants to merge 1 commit into
mainfrom
claude/focused-sammet-0b112d
Closed

fix(ci): bump cloudflare-tools to fix install-time build race#911
sam-goodwin wants to merge 1 commit into
mainfrom
claude/focused-sammet-0b112d

Conversation

@sam-goodwin

Copy link
Copy Markdown
Contributor

Bump the cloudflare-tools submodule to pick up alchemy-run/cloudflare-tools#78, fixing the intermittent "Install dependencies" failure in website.yml (e.g. run 29860893544):

Cannot find module .../cloudflare-rolldown-plugin/dist/plugin.js
  imported from .../cloudflare-runtime/tsdown.config.ts

Root cause: prepare runs bun run --filter './cloudflare-tools/packages/*' build, and bun's --filter orders workspace scripts by dependencies but not devDependencies. The rolldown-plugin is only a devDependency of cloudflare-runtime, so the runtime's tsdown config could load before the plugin's dist existed. The runtime's build script now builds the plugin first (an incremental no-op under turbo).

🤖 Generated with Claude Code

cloudflare-runtime's tsdown config imports the rolldown-plugin's dist, but
bun run --filter does not order devDependencies, so bun install's prepare
step could build the runtime before the plugin (intermittent website.yml
failure). cloudflare-tools now builds the plugin first in the runtime's
build script.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alchemy-version-bot

Copy link
Copy Markdown
Contributor

Install the packages built from this commit:

alchemy

bun add alchemy@https://pkg.ing/alchemy/0b85fde

@alchemy.run/better-auth

bun add @alchemy.run/better-auth@https://pkg.ing/@alchemy.run/better-auth/0b85fde

@alchemy.run/pr-package

bun add @alchemy.run/pr-package@https://pkg.ing/@alchemy.run/pr-package/0b85fde

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.

1 participant