Skip to content

fix(ci): install client packages in example deploy jobs (unblocks burn redeploy)#4727

Merged
thruflo merged 1 commit into
mainfrom
vbalegas/fix-examples-deploy-install
Jul 16, 2026
Merged

fix(ci): install client packages in example deploy jobs (unblocks burn redeploy)#4727
thruflo merged 1 commit into
mainfrom
vbalegas/fix-examples-deploy-install

Conversation

@balegas

@balegas balegas commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

What

Adds @electric-sql/client, @electric-sql/experimental and @electric-sql/react to the pnpm install filters in deploy_examples.yml and deploy_all_examples.yml, and adds a short Deployment section to examples/burn/README.md.

Why — burn is still down after #4725

The deploy job's Deploy step unconditionally builds the three client packages before sst deploy, but the Install step only installs the example's own dependency graph (pnpm --filter "<example>..."). Burn is an Elixir app with no workspace dependency on those packages, so their devDeps (shx, tsup) are missing and the build dies:

../../packages/typescript-client build: sh: 1: shx: not found
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @electric-sql/client@1.5.24 build

The job failure is masked by continue-on-error: true (run 29458958432 shows green with a failed Deploy burn job), so #4725 never actually redeployed burn — the ECS service is still on task definition revision 1, crash-looping on the revoked ANTHROPIC_KEY.

All other examples pass because they happen to depend on the client packages via the workspace, which pulls them into the install.

Redeploy

The README change puts examples/burn in the changed-deployable matrix, so merging this PR triggers the burn deploy — now unblocked — which picks up the rotated ANTHROPIC_KEY and the Haiku model config from #4725.

🤖 Generated with Claude Code

The deploy step unconditionally builds @electric-sql/client,
@electric-sql/experimental and @electric-sql/react, but the install
step only installs the example's own dependency graph. For examples
with no workspace dependency on those packages (burn), the build
fails with 'shx: not found' and the deploy never runs — which is why
the burn demo stayed down (crash-looping on a revoked ANTHROPIC_KEY)
even after #4725 merged: its deploy job failed before sst ran, masked
by continue-on-error.

Add the three packages to the install filters in both deploy
workflows, and document burn's deployment in its README — which also
puts examples/burn in the changed-deployable matrix so merging this
redeploys it with the rotated key and Haiku config.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@thruflo
thruflo merged commit be716cc into main Jul 16, 2026
13 checks passed
@thruflo
thruflo deleted the vbalegas/fix-examples-deploy-install branch July 16, 2026 11:36
@thruflo
thruflo deployed to Pull request July 16, 2026 11:36 — with GitHub Actions Active
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.

2 participants