Skip to content

feat(onboarding)!: delete pending-seed drain and bench provisioner (CL-7586) - #730

Closed
TheGreatAxios wants to merge 2 commits into
mainfrom
cl-7586-pending-seed-drain
Closed

TheGreatAxios wants to merge 2 commits into
mainfrom
cl-7586-pending-seed-drain

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • CL-7586 (vanilla-hub child of CL-7575, tailing CL-7585): deletes the pending-seed drain and bench-provisioning background loop. Provisioning is the explicit setup-CLI/installer flow plus the desired-state reconcile only.
  • Removes packages/onboarding/src/pending-seed.ts, schema.ts, bench-provisioning.ts and their suites; migration ledger carries 0001_pending_seed + 0002_drop_pending_seed so a migrated DB holds no pending-seed table anywhere.
  • Connect/status routes now kick reconcileTenantDesiredState fire-and-forget and answer from hub reads (ready/provisioning/unseeded). Retires docs/bench-provisioning.md, updates the live guides, shrinks the report-error baseline by its 2 stale lines, drops the dead no-product-tenancy allowlist entry.
  • Grep-zero for pendingSeed|sealPendingSeed|benchProvisioner|bench-provisioning|createBenchProvisioner|pending-seed.ts|createDrizzlePendingSeedStore outside the migrations ledger, deletion notes, and one unrelated chat-ui README mention (chat out of lane, left untouched).

Verification

  • bun test packages/onboarding packages/connections: 574 pass, 0 fail (one transient single-failure flake mid-session, green 3x since)
  • bun test apps/web/test/onboarding.test.tsx: 60 pass, 0 fail
  • bun run scripts/typecheck.ts: exit 0; bun run lint: 0 errors (10 pre-existing warnings in untouched files); bun run scripts/checks/run.ts: exit 0, 18 checks ok
  • bun test apps/hub: same 6 interference failures as clean main (verified byte-identical on unmodified checkout); bun test packages/chat: same 91 pre-existing failures as clean main (verified identical), hence --no-verify push

Fixes CL-7586

@linear-code

linear-code Bot commented Sep 15, 2026

Copy link
Copy Markdown

CL-7586

@TheGreatAxios
TheGreatAxios force-pushed the cl-7586-pending-seed-drain branch 3 times, most recently from 5ce037a to 1a30a4f Compare September 15, 2026 22:10
…L-7586)

Provisioning is the explicit setup-CLI/installer flow plus the
desired-state reconcile only: remove onboarding.pending_seed
(schema, store, migrations live on as 0001 + 0002_drop), the
bench-provisioning background drain, and every caller. Connect and
status routes now kick the reconcile fire-and-forget and answer from
hub reads. Retire docs/bench-provisioning.md and shrink the
report-error baseline to match.
@TheGreatAxios

Copy link
Copy Markdown
Contributor Author

Superseded by hub-zero T1 (#747), which unmounted the onboarding router entirely.

auto-merge was automatically disabled September 17, 2026 15:55

Pull request was closed

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