Skip to content

Vendor the @intx leaf packages the re-pin compiles against at a8bc06ae - #456

Merged
TheGreatAxios merged 1 commit into
cl-7107-repin-1-foundationfrom
cl-7107-repin-2-db
Aug 29, 2026
Merged

TheGreatAxios merged 1 commit into
cl-7107-repin-1-foundationfrom
cl-7107-repin-2-db

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Re-pin wave 2, PR 2/7 — @intx/db at a8bc06ae.

Changed: re-vendored; upstream's 0085_add_approval_run_idx (7c7916f8, approvalStore.listByRunId) takes our slot, so wire_projection → 0086 and origin → 0087 (original journal whens kept).
Kept: wire_projection column + loadFrozenWireProjection (CL-6324), workflow_definition.origin (CL-6452) — upstream still has neither.
Retired: nothing.
Tests: fresh replay lands upstream's index and both columns (vendor/intx/db/src/migrate.test.ts, DB-gated); a schema migrated under the old numbering is refused with the reset instruction (scripts/db-setup.test.ts) — workbench replays platform SQL from scratch by filename and never consumes the drizzle journal at runtime; journal↔files parity test.
Not done: nothing deferred.

…ind it

Upstream added 0085_add_approval_run_idx (indexed approvalStore.listByRunId,
which the re-pinned hub-api needs), taking the number our wire_projection
migration held. Ours move to 0086/0087 with their original journal `when`
values, which still sort after upstream's entry. The wire_projection column
+ loadFrozenWireProjection reader and the workflow_definition.origin column
re-apply unchanged; upstream still has neither.

Workbench applies the platform SQL by sorted filename through
scripts/db-setup.ts, which replays from scratch and refuses a schema set up
under a different file list. Tests pin both halves: a fresh replay lands
upstream's index and both workbench columns, and a schema migrated under the
old numbering is refused with the reset instruction rather than patched.
A journal test keeps drizzle-kit's view consistent with the files.
@TheGreatAxios TheGreatAxios changed the title cl 7107 repin 2 db Vendor the @intx leaf packages the re-pin compiles against at a8bc06ae Aug 28, 2026
@TheGreatAxios
TheGreatAxios merged commit 5078024 into main Aug 29, 2026
5 checks passed
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