Repository navigation
fix(license): replace psycopg2 synchronous PostgreSQL boundary #911
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
Draft
seonghobae
wants to merge
72
commits into
main
Choose a base branch
from
fix/remove-psycopg2-commercial-license
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 46 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
05d0fbc
test: require commercially compatible sync PostgreSQL boundary
seonghobae 76153aa
feat: add pg8000 synchronous PostgreSQL adapter
seonghobae f359de1
build: replace psycopg2 with pg8000
seonghobae 33fc33d
test: collect pg8000-backed optional PostgreSQL suites safely
seonghobae c1d466f
test: run PROV-O schema contract through pg8000 adapter
seonghobae 3d4881e
test: migrate analysis authorization DB fixture to pg8000 adapter
seonghobae 71ca95d
test: migrate reconstruction fixture to pg8000 adapter
seonghobae 062cf60
test: preserve DSN options in synthetic cleanup fixture
seonghobae 5e64e45
test: cover pg8000 optional-extra collection boundary
seonghobae a6bca54
test: migrate Voice history DB contract to pg8000 adapter
seonghobae c612f46
test: require SQLSTATE parity for migrated schema fixtures
seonghobae a23de60
fix: preserve SQLSTATE error semantics across pg8000 migration
seonghobae da64b7c
test(postgres): reject duplicate DSN options
seonghobae 2b7dde4
fix(postgres): reject duplicate DSN options
seonghobae 74433b6
test(postgres): reject raw SQL interpolation
seonghobae 5c2dbf8
fix(postgres): restrict SQL interpolation
seonghobae 0ebbd66
test(lock): require PostgreSQL driver lock convergence
seonghobae a30cedb
test(postgres): preserve connection failure contract
seonghobae 1763fbe
fix(postgres): classify startup refusals as operational
seonghobae c4f8830
test(postgres): preserve libpq default user semantics
seonghobae 6e9fffd
fix(postgres): retain default OS user for admin DSNs
seonghobae 70554ce
test(collection): detect package-imported postgres adapter
seonghobae 81e1b01
fix(collection): traverse imported local submodules
seonghobae ea3de30
test(postgres): reject silently discarded DSN fragments
seonghobae e70d7ad
fix(postgres): reject unsupported DSN fragments
seonghobae ba197bf
test(ci): preserve resolver candidate for stale uv lock
seonghobae 86c1cb0
ci: preserve resolver output for stale dependency locks
seonghobae 9c1bdee
test(postgres): reject non-finite connection deadlines
seonghobae fa7feeb
fix(postgres): bound connection deadlines to finite values
seonghobae debbcac
test(postgres): reject boolean connection deadlines
seonghobae 99bdd0e
fix(postgres): require numeric connection deadlines
seonghobae 1d23997
test(ci): reject invalid resolver-candidate publication
seonghobae 7777035
ci: fail closed when lock resolution fails
seonghobae b6709c9
test(postgres): reject explicit zero DSN port
seonghobae c894ac2
fix(postgres): fail closed on invalid DSN ports
seonghobae f0d7c22
test(postgres): reject hostless DSN transport switch
seonghobae 874c39b
fix(postgres): preserve hostless DSN transport semantics
seonghobae e1d1200
chore(stack): converge synchronous PostgreSQL migration with protecte…
seonghobae 126887c
test(ci): preserve stale-lock fail-closed workflow contract
seonghobae 3d0728c
fix(ci): preserve stale-lock evidence after main convergence
seonghobae b0218b1
test(ci): keep the existing stale-lock regression canonical
seonghobae ebef4f0
test(postgres): reject unrepresentable explicit connect timeout
seonghobae e6b95f0
fix(postgres): fail closed on unrepresentable connect timeout
seonghobae cb70ce3
chore(stack): converge PostgreSQL migration with protected main
seonghobae b389c48
docs(changelog): record synchronous PostgreSQL boundary hardening
seonghobae 097b2d7
fix(postgres): complete synchronous driver migration
8d4d8cc
test(postgres): clarify rollback control flow
b84f805
test(postgres): pin review regression contracts
seonghobae c671fdb
fix(ci): preserve resolver lock evidence across reruns
seonghobae 823a443
fix(postgres): translate transaction boundary errors
seonghobae ffde764
fix(postgres): document public sync adapter surface
seonghobae 1167fea
test(postgres): pin libpq prefer transport ordering
seonghobae ff4b02c
fix(postgres): preserve libpq prefer SSL ordering
seonghobae 8c0990a
test(postgres): pin libpq require TLS semantics
seonghobae d1650eb
fix(postgres): preserve libpq require TLS semantics
seonghobae 1da5f83
chore(ci): adopt protected concurrency contract
seonghobae db6a0e9
chore(ci): adopt protected ontology concurrency
seonghobae 59fffb9
chore(ci): adopt protected PROV-O concurrency
seonghobae cb430e7
test(ci): adopt protected workflow concurrency contract
seonghobae 950e46f
chore(main): non-force converge protected #930
seonghobae 007261b
chore(main): adapt #931 draft admission to resolver evidence
seonghobae 7651ca9
chore(main): non-force converge protected #931
seonghobae 307c29e
fix(postgres): verify server identity by default
76c0e67
docs(postgres): accept default TLS decision
1736565
test(adr): reserve non-colliding TLS decision number
seonghobae 5712294
docs(adr): move PostgreSQL TLS proposal to 0366
seonghobae 034dfc4
docs(adr): remove colliding TLS ADR 0363
seonghobae 5d40eed
docs(postgres): remove ADR trailing whitespace
326a97d
test(postgres): preserve libpq connect timeout semantics
seonghobae b7838e4
fix(postgres): preserve libpq connect timeout semantics
seonghobae 6030b29
docs(postgres): record libpq timeout compatibility
seonghobae 2d91db2
codex: address PR review feedback (#911)
seonghobae 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| ## 2.28.0 — Commercial-safe synchronous PostgreSQL boundary | ||
|
|
||
| - Replace the synchronous seed/admin/schema `psycopg2-binary` dependency with | ||
| a pinned `pg8000` adapter while keeping runtime persistence on `asyncpg`. | ||
| - Preserve generated-identifier quoting, SQLSTATE-specific schema/security | ||
| assertions, libpq-style DSN semantics that are representable by the adapter, | ||
| and fail closed on unsupported or ambiguous connection options. | ||
| - Reject boolean, non-finite, non-positive, and float-unrepresentable explicit | ||
| connection timeouts through the adapter validation contract instead of | ||
| leaking arithmetic conversion errors. | ||
| - Keep dependency-lock verification fail closed: a stale committed `uv.lock` | ||
| fails before frozen install/tests while the pinned resolver output is retained | ||
| as short-lived evidence for an exact, non-hand-edited lock update. |
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
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.