Repository navigation
Replace Atlas CE with Ptah Compat to plan the full Rebase schema - #84
Draft
denisvmedia wants to merge 10 commits into
Draft
denisvmedia wants to merge 10 commits into
denisvmedia wants to merge 10 commits into
Conversation
denisvmedia
marked this pull request as draft
November 13, 2026 20:28
denisvmedia
force-pushed
the
feat/ptah-native-migrations
branch
from
November 14, 2026 07:05
953ce07 to
e182d57
Compare
denisvmedia
force-pushed
the
feat/ptah-native-migrations
branch
from
November 14, 2026 07:12
e182d57 to
ac3365a
Compare
denisvmedia
force-pushed
the
feat/ptah-native-migrations
branch
from
November 16, 2026 14:59
177f473 to
f835eaf
Compare
denisvmedia
force-pushed
the
feat/ptah-native-migrations
branch
3 times, most recently
from
November 17, 2026 21:57
63bcb50 to
06c0405
Compare
denisvmedia
force-pushed
the
feat/ptah-native-migrations
branch
from
November 18, 2026 12:13
00399b2 to
322284c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Rebase previously kept policies, functions, search and vector objects,
triggers, and views outside the schema it gave Atlas CE. Ordinary
db generateanddb pushcould therefore miss changes to objects Rebasealready declares.
What changed
schema from Rebase's declarations. The ordinary plan includes policies,
Rebase's SQL functions, search and vector indexes, triggers, and declared
views.
unrelated objects, auth provisioning, and migration revisions.
atlas.sum, and revision records. Existingprojects switch packages when upgraded to Rebase 0.34.0 or its canaries.
Boot and recovery still use their generated SQL.
The broader site documentation is in draft PR #86.
Review by commit
Read the Commits tab from oldest to newest:
a44daafa— install Ptah Compat in packages, templates, and the lockfile.711df61f— render the complete declared SQL and update its fixtures.1a11af35— select Rebase-managed objects and protect unmanaged children.6a3fa4c6— prepare Compat arguments, URLs, and migration postprocessing.c8f8234e— switch ordinary generation and push to Ptah plans.5a3c9d4d— diagnose the executable through pnpm's isolated layout.b29b7e44— migrate existing projects at the Rebase 0.34.0 boundary.e47a2d19— cover migration, push, and scaffold behavior.33cc7967— avoid a planning database fordb migrate.322284ca— document setup and planner scope.Verification
On head
322284cawith published@stokaro/ptah-compat@0.30.0:strict documentation check, and all 14 post-build gates passed.
tests passed 5,452/5,452.
migration generation and
db pushafter search, vector, trigger, policy,and view changes.
Before the history rewrite, PostgreSQL 18 with pgvector completed the initial
and follow-up migration flow. Repeated generation and push converged, and
unrelated objects and migration revisions remained intact. Subsequent
functional edits only changed managed
db migratescratch startup.For a shared PostgreSQL dev server, migration replay requires an explicit
PTAH_TRUST_REPLAY_SQL=1choice. Rebase marks only its managed PGlite devserver disposable.
Remaining validation
is
action_requireduntil arebasepro/rebaseadministrator approvesthe fork run.
the configured remote Docker hosts cannot mount this Mac's temporary
fixtures or publish test container ports to the local process. Its harness
history check points at an incomplete temporary primary Git checkout. The
client socket timeout seen in the sandbox passed when rerun with host
socket access.
Closes #82.