-
Notifications
You must be signed in to change notification settings - Fork 515
feat(cli): cache the shadow database baseline as a PGDATA snapshot (CLI-2191) #6184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 92 commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
1baf8ea
feat(cli): bundle pg-delta next engine
avallete 8078b53
chore: merge develop into pg-delta next
avallete 4b697a2
fix(cli): allow pg-topo parser build script
avallete c52cf53
fix(cli): embed libpg-query wasm in compiled binary
avallete 1f82bf9
feat(cli): isolate pg-delta next shadow databases
avallete 5bffecb
fix(cli): correct diff and migration execution contracts
avallete f12b1b9
chore: merge develop into pg-delta next
avallete 958d36c
test(cli): update transactional Go mocks
avallete d486195
chore(cli): remove unused diff helper
avallete 394ecf8
fix(cli): isolate pg-delta-next baseline behavior
avallete 9f66d41
chore: merge develop into pg-delta next
avallete 438a9ac
fix(cli): warn about manifestless declarative removals
avallete 0ebe58c
fix(cli): warn on pg-delta coverage gaps
avallete dcdf7e0
fix(cli): format pg-delta SQL by default
avallete 16028da
fix(cli): clarify declarative diff baselines
avallete b7ad988
test(cli): use malformed branch response type
avallete 7f6fb32
chore(cli): update pg-delta next preview
avallete f9bd289
feat(cli): improve declarative schema upgrade flow
avallete 46a1614
fix(cli): address pg-delta next review findings
avallete ca55d8a
chore(cli): use published pg-delta alpha
avallete f92a8b7
Merge remote-tracking branch 'origin/develop' into feat/upgrade-pg-de…
avallete 9f264e9
fix(cli): address pg-delta next rollout blockers
avallete 0879ced
fix(cli): add pg-net webhook remediation
avallete 3f0428f
fix(cli): scope pg-delta next schema filters
avallete 1bc9e6b
fix(cli): diff pg-delta next against live local database
avallete be38f7b
fix(cli): preserve migration transaction metadata
avallete 0139811
fix(cli): converge database webhooks configuration
avallete ab8423b
fix(cli): harden pg-delta schema workflows
avallete f00da06
Merge remote-tracking branch 'origin/develop' into feat/upgrade-pg-de…
avallete db04525
Merge branch 'develop' into feat/upgrade-pg-delta-next
avallete f27874c
chore(cli): trim pg-delta PR scope
avallete 3b2bb55
Merge remote-tracking branch 'origin/develop' into feat/upgrade-pg-de…
avallete cea474d
Merge remote-tracking branch 'origin/develop' into feat/upgrade-pg-de…
avallete 23814e7
feat(cli): upgrade pg-delta next to alpha.40
avallete a621690
fix(cli): address pg-delta engine review findings
avallete c3c4643
fix(cli): recover legacy declarative extension gaps
avallete b2b7cb9
refactor(cli): trim pg-delta next change set
avallete 3b5d564
Merge remote-tracking branch 'origin/develop' into feat/upgrade-pg-de…
avallete c360231
fix(cli): preserve declarative sync context
avallete 2cc84ab
fix(cli): preserve migration-owned pg-net
avallete d742d4a
fix(cli): keep staged declarative exports outside the active tree
avallete 27a56e6
fix(cli): replace staged-dir trim regex with a linear scan
avallete f7e27f1
fix(cli): unify declarative compat-gate recovery guidance
avallete 3223646
docs(cli): add shadow-db startup performance plan (readiness gate + w…
avallete 9d999d2
fix(cli): gate shadow readiness on a direct connect probe (~6.5s/prov…
avallete 3c2d4e4
fix(cli): exec the postgres entrypoint so containers stop in ~1s
avallete 008256e
feat(cli): cache the shadow baseline as a PGDATA snapshot (default on)
avallete 9328775
refactor(cli): extract generic PGDATA snapshot primitives, trim cache…
avallete 8c55123
docs(cli): note the frozen/online hot-save modes on the PGDATA export…
avallete 8894334
fix(cli): harden the shadow baseline cache against review findings
avallete 4520ac9
docs(cli): record deferred shadow-cache review follow-up (init SQL ke…
avallete cbace05
fix(cli): key shadow snapshots by registry-resolved job images, inter…
avallete 9925338
fix(cli): fold the CLI-embedded baseline SQL into the shadow cache key
avallete 02e7b36
fix(cli): resolve the shadow JWKS effect once per run
avallete b3bc652
fix(cli): honor the shadow cache opt-out from project dotenv, documen…
avallete 7956603
fix(cli): make OrioleDB shadows cache-ineligible, collision-proof vau…
avallete 7d033e4
docs(cli): narrow the snapshot tar's Files Written conditions to cold…
avallete 45c3fb1
chore(cli): format SIDE_EFFECTS tables
avallete cda6d4f
fix(cli): make --no-cache bypass the shadow snapshot, hash only what …
avallete 714a7bd
fix(cli): keep uncached shadow runs on one session, sweep abandoned p…
avallete d9f7467
fix(cli): hash the effective root key into the shadow cache key
avallete a256f4f
fix(cli): only discard the shadow snapshot when its contents are impl…
avallete bcdf030
fix(cli): fold the vault upsert SQL into the baseline digest
avallete 1e1b7fa
docs(cli): record the warm-aware catalog-shadow follow-up from the CL…
avallete ebe339a
docs(cli): list the partial-snapshot sweep under Files Read
avallete 607107b
fix(cli): exclusive-create the snapshot temp file so its mode can nev…
avallete 26147ad
fix(cli): fail the run when the shadow cannot come back after the bas…
avallete 0890779
fix(cli): make PG<=14 cache-ineligible, sweep partials on warm hits, …
avallete 502aefc
fix(cli): attach the exec-format recovery hint to shadow readiness fa…
avallete 29aa7e3
refactor(cli): drop PG<=14-only SQL from the shadow baseline digest
avallete 0073867
fix(cli): pass shadow setup options on the cold migrate path
avallete 0621666
fix(cli): store shadow baseline cache under SUPABASE_HOME
avallete 4be4d0c
fix(cli): warm-cache pg-delta next shadows
avallete e342263
docs(cli): clarify explicit diff output contract
avallete 7a8fa09
fix(cli): key shadow snapshots by the effective webhooks policy
avallete 0854051
chore(cli): merge develop into pg-delta next
avallete 788e918
chore(cli): merge pg-delta next into shadow database cache
avallete e912767
feat(cli): upgrade pg-delta next to alpha.41
avallete 68d524e
Merge branch 'feat/upgrade-pg-delta-next' into avallete/shadow-db-per…
avallete 09d8c6c
fix(cli): allow restored shadows to share database identity
avallete e3f59a6
Merge remote-tracking branch 'origin/develop' into avallete/supabase-…
avallete b82b010
test(cli): drop duplicated mock engine block from the develop merge
avallete e06434e
fix(cli): harden the shadow cache against review findings
avallete b057c0e
docs(cli): complete generate's shadow-cache checklist, log deferred r…
avallete 0430203
docs(cli): log the Realtime seeded-host warm-restore follow-up
avallete 40dfa48
fix(cli): key migra-path shadow snapshots by the migrate the mode wil…
avallete 04dd100
test(cli): pin the LRU victim's mtime in the retention test
avallete 9970ce4
test(cli): pin the handlers' mode-matching shadow-cache webhooks policy
avallete 9baed89
fix(cli): validate restored shadow tars, canonicalize the API-grants …
avallete 4d494f4
fix(cli): stamp and require a baseline marker in shadow snapshots
avallete b382f94
fix(cli): key-bind the snapshot marker, digest the Realtime seed cons…
avallete 9134f2e
Merge remote-tracking branch 'origin/develop' into avallete/supabase-…
avallete 5ca12af
test(cli): harden the shadow-cache live suite
avallete 4ba00ac
test(cli): make the shadow-cache live suite a black-box CLI scenario
avallete 9d27753
test(cli): derive the live suite's shadow-port candidates from the ru…
avallete f3dc609
docs(cli): log the image-tag-vs-digest cache-key accepted risk
avallete 3dd25f3
Merge branch 'develop' into avallete/shadow-db-perf-6ad622
avallete 7fd00b9
fix(cli): default the shadow baseline cache off for soak
avallete 5f80832
fix(cli): drop pgjwt before pgcrypto on PG15+ declarative shadows
avallete 29858c6
Merge remote-tracking branch 'origin/develop' into avallete/pr-6184-m…
avallete bb21b82
docs(cli): trim shadow-cache rationale comments per review
avallete 3c8ac90
test(cli): create shadow-cache e2e drift via db query
avallete b997933
fix(cli): address shadow-cache review findings
avallete e31bb57
chore(cli): match archive problems exhaustively and reframe session c…
avallete ff17c99
chore(cli): reword lifecycle cleanup comment in its own terms
avallete File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.