8000 introduce mirror versioning, put pgvector support behind version gate by serprex · Pull Request #3066 · PeerDB-io/peerdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

introduce mirror versioning, put pgvector support behind version gate #3066

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 7 commits into from
Jun 24, 2025

Conversation

serprex
Copy link
Member
@serprex serprex commented Jun 18, 2025

this avoids breaking existing setups build on pgvector types coming through as strings

this system can be used in the future to maintain a chronology of breaking changes & not apply new behavior to old mirrors

it's meant to be a single dimension so that there isn't the exponential explosion of feature combinations we have with the dynconf system. We've previously tried to leverage by having breaking changes only be introduced as optional features, but this hits two problems: old behavior has to be default, & it's a complicated mechanism designed for flexible configuration, rather than a means to gate backwards incompatible changes from existing mirrors

this represents a point in PeerDB's life where we have people who just want the thing they tested (+ security fixes, etc)

infra for managing this system will be future work, outlined in #3095

this avoids breaking existing setups build on pgvector types coming through as strings
@serprex serprex changed the title introduce mirror versioning, put pgvector support behind version support introduce mirror versioning, put pgvector support behind versiongate Jun 18, 2025
@serprex serprex changed the title introduce mirror versioning, put pgvector support behind versiongate introduce mirror versioning, put pgvector support behind version gate Jun 18, 2025
@serprex serprex merged commit 2779bfb into main Jun 24, 2025
19 checks passed
@serprex serprex deleted the pgvector-string-default branch June 24, 2025 19:29
ilidemi pushed a commit that referenced this pull request Jun 24, 2025
…#3066)

this avoids breaking existing setups build on pgvector types coming through as strings

this system can be used in the future to maintain a chronology of breaking changes
& not apply new behavior to old mirrors

it's meant to be a single dimension,
so there isn't the exponential explosion of feature combinations we have with the dynconf system
We've previously tried to leverage by having breaking changes only be introduced as optional features,
but this hits two problems: old behavior has to be default,
& it's a complicated mechanism designed for flexible configuration,
rather than a means to gate backwards incompatible changes from existing mirrors

this represents a point in PeerDB's life where we have people who just want the thing they tested (+ security fixes, etc)

infra for managing this system will be future work, outlined in #3095
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.

3 participants
0