feat: jj-ryu ForgeGraph bridge (external stack sync) #46
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gmackie/ForgeGraph!46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/jj-ryu-bridge-rebased"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rebased from the April jj-ryu-forgegraph-bridge branch (design doc: docs/plans/2026-04-15-jj-ryu-forgegraph-bridge-design.md, status: approved). One-way jj-ryu -> ForgeGraph stack sync: create/update/close stack nodes, reparent edges, workspace-membership authorization, stale-topology guards.
Adds 5 nullable columns + 2 unique indexes to changesets (external_source, external_source_id, external_parent_source_id, external_head_ref, last_external_sync_at) via db:push (this repo applies schema via push, not versioned migrations) — already applied to the dev DB and verified additive/safe (existing rows all NULL, no duplicate-key conflicts on the new unique indexes).
Note: the route.test.ts integration suite uses a blanket TRUNCATE ... CASCADE for cleanup between tests, which fails against the shared local dev DB's restricted grants (the forgegraph role lacks TRUNCATE on some newer tables reached via cascade, e.g. gcp_app_bindings) but should work fine against CI's own dedicated test DB where the role owns everything. Flagging this since I couldn't fully verify the test suite locally — please check CI's result on this file specifically.