Repository navigation
Delete unused Postgres support (SQLite is the only store) - #5333
Merged
Merged
Conversation
…only store postgres:// connection strings now fail loudly in the data module instead of reaching an adapter. Removes the adapter, deadpool-postgres/tokio-postgres deps (and Cargo.lock entries), CI Postgres steps, the compose postgres service, and the installer's Postgres setup and DATABASE_URL write. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ments lost the postgres mention Taken verbatim from CI's ts-rs drift diff (run on this branch); no compile on the serving M5. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
Joel, 2026-10-23: "We don't even use Postgres anymore." Dead code deleted; SQLite through the kernel ORM is the only store.
Removed (79 added, 3001 deleted, 28 files)
core/continuum-kernel/src/orm/postgres.rsandorm/postgres/*(adapter, where-clause builder, conditional, ensure_table_exists_pg, format_pg_error, tests): about 2,600 lines, plus thePostgresAdapterexport and doc mentions in orm.deadpool-postgres/tokio-postgresfrom the workspace, kernel and core Cargo.toml; unusedrusqlite0.32 from continuum-core (no use in its src; the kernel owns it).--lockedin CI is the real check.continuum-rust-tests.yml): theDATABASE_URL: postgres://env, the "Start the runner's PostgreSQL" step, and the "cargo test -p continuum-kernel --lib (Postgres, --ignored)" step. Two later comments still say "Postgres" (left to keep the diff separable from the ci-by-crate rewrite).docker-compose.yml: the opt-in postgres service andpgdatavolume.tools/scripts/install.sh: the PostgreSQL install step and theDATABASE_URL=postgres://write into config.env (would now fail loudly on fresh installs); steps renumbered /8. Comments ininstall.sh, and the Postgres validation item indocs/CONTAINER-PATH-LINUX-VALIDATION.md.Loud error
modules/data/adapters.rs::reject_unsupported_backendruns before the adapter cache: anypostgres://orpostgresql://connection string (for example a staleDATABASE_URL) returnsPostgres is no longer supported ... unset DATABASE_URL or point it at a SQLite file path. No fallback. New testpostgres_connection_strings_are_rejected; existing tests that used postgres URLs as opaque strings now use sqlite paths.Left on purpose
tools/scripts/uninstall.shstill offers to drop a legacycontinuumdatabase; the WSL2 install report is a historical test log; epoch_watermark/concurrency/role_template comments mention Postgres as a numeric/JSON semantic reference.Verification
No local compile (the M5 is serving). CI compiles and tests this PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo