Skip to content

feat(deploy): remote-only, remove local buildpacks/Docker build - #7

Merged
boyander merged 1 commit into
mainfrom
feat/remote-only-remove-buildpacks
Jul 21, 2026
Merged

feat(deploy): remote-only, remove local buildpacks/Docker build#7
boyander merged 1 commit into
mainfrom
feat/remote-only-remove-buildpacks

Conversation

@boyander

Copy link
Copy Markdown
Member

Parte del cutover (arch/deploy/remote-artifact-default-cutover.md). Este PR va el ÚLTIMO del rollout.

Cambios

  • El CLI ya no construye: siempre sube source y el builder construye server-side.
  • Borra el bloque de build local, upload_tag.ts, check_environment.ts, upload_logs.ts, la dep @faabletools/buildpacks, y los flags --local/--buildpack/--remote.
  • Manda source: { manifest } sin plan (el builder re-detecta y sincroniza runtime_strategy en el completado).
  • Sin fallback local: una admisión rechazada (opt-out build_mode=local, kill-switch off) o un build error salen en rojo.
  • El builder remoto no se ve afectado (se compila del repo buildpacks, no del paquete npm).
  • Mensajes de manifest.ts que citaban --local actualizados.

Tests

45 tests AVA verdes; tsc verde; sin referencias a docker en el path de deploy.

Rollout (⚠️ orden)

Mergear/publicar después de: api + deploy-controller + buildpacks desplegados, kill-switches ON en prod, y backfill $unset hecho. Antes de eso, el gate rechazaría source de apps aún en build_mode=local sin fallback.

The CLI no longer builds: it always uploads the source and the platform builds
server-side. Removes the local build path (upload_tag, check_environment,
upload_logs), the @faabletools/buildpacks dep, and the --local/--buildpack/
--remote flags. Sends source with a manifest only — the builder re-detects the
framework and syncs runtime_strategy on completion. No local fallback: a
rejected admission (build_mode=local opt-out, kill-switch off) or a build error
exits red. The remote builder is unaffected (built from the buildpacks repo, not
the npm package). See arch/deploy/remote-artifact-default-cutover.md.
@boyander
boyander merged commit 145730d into mainJul 21, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.24.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@boyander