Skip to content

GEN-2113 establish Neon persistence foundation - #161

Merged
asselstine merged 1 commit into
mainfrom
gen-2113-neon-postgresql
Sep 18, 2026
Merged

asselstine merged 1 commit into
mainfrom
gen-2113-neon-postgresql

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Summary

  • add the initial tenant-qualified PostgreSQL schema for identity, integrations, Jobs, execution, audit, transcript search, and orchestration wake state
  • add an advisory-locked, repeatable migration runner and isolated schema verification script
  • pin pg and add the first tenant-scoped transactional repository for idempotent invocation/run creation with durable wake hints
  • document the isolated Neon migration workflow

This is the deployable persistence foundation for GEN-2113. Routing production traffic away from the existing Durable Objects and the data-preserving cutover remain later rollout steps from the issue plan.

Verification

  • npm run check
  • migration applied twice to PostgreSQL 17
  • npm run db:verify --workspace=factorize on PostgreSQL 17
  • migration applied twice and schema verification passed on a disposable Neon branch (branch removed after verification)

Linear: GEN-2113

@github-actions
github-actions Bot enabled auto-merge September 18, 2026 17:03
@linear

linear Bot commented Sep 18, 2026

Copy link
Copy Markdown

GEN-2113

@asselstine
asselstine disabled auto-merge September 18, 2026 17:05
@asselstine
asselstine added this pull request to the merge queue Sep 18, 2026
Merged via the queue into main with commit 81356eb Sep 18, 2026
2 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