Skip to content

refactor(hub)!: move sidecar provisioners out of packages into apps (CL-8320) - #828

Merged
TheGreatAxios merged 2 commits into
mainfrom
provisioners-apps
Sep 18, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
provisioners-apps

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Fold packages/sandbox-sidecar, packages/process-provisioner, packages/docker-provisioner, and packages/e2b-sandbox-sidecar into apps/hub/src/provisioners/: one copy of the shared allocation-lifecycle core (sandbox-sidecar.ts), plus process.ts, docker.ts, and e2b.ts importing it relatively — no duplication, no cross-app cycle.
  • apps/hub/src/server.ts's buildSidecarProvisioner imports all three backends from ./provisioners/*; dropped the @corbits/docker-provisioner, @corbits/e2b-sandbox-sidecar, and @corbits/process-provisioner workspace deps from apps/hub/package.json.
  • apps/sidecar-docker now holds only the Dockerfile/image build bits (minimal package.json, no src); apps/sidecar-e2b now holds only the template/ assets (minimal package.json, no src).
  • Updated docs/sidecar-provisioners.md and tsconfig.build.json by hand.

Test plan

  • bun install
  • bun run typecheck && bun run lint && bun run fmt
  • bun test apps/hub (53 pass, 7 skipped DB-gated suites — no DATABASE_URL locally)

@TheGreatAxios TheGreatAxios changed the title refactor(hub,sidecar)!: move sidecar provisioners out of packages into apps refactor(hub)!: move sidecar provisioners out of packages into apps (CL-8320) Sep 18, 2026
@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8320

…CL-8320)

Fold packages/sandbox-sidecar, packages/process-provisioner,
packages/docker-provisioner, and packages/e2b-sandbox-sidecar into
apps/hub/src/provisioners/ as sandbox-sidecar.ts (the one shared
allocation-lifecycle core), process.ts, docker.ts, and e2b.ts, so
buildSidecarProvisioner in server.ts composes all three backends
against a single copy of the core with no cross-app dependency cycle.
apps/sidecar-docker keeps only the docker image build (Dockerfile);
apps/sidecar-e2b keeps only the E2B sandbox template assets.
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