Skip to content
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

registry: add default value for pg_version if not found in manifest #681

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

vrmiguel
Copy link
Member

@vrmiguel vrmiguel commented Apr 1, 2024

The publish endpoint would occasionally fail with Failed to decompress Trunk archive (PLAT-112). It appears this is because of how we fetch the Postgres version a package was built for: checking for pg_version within manifest.json.

Older versions of Trunk CLI did not append this info which caused the endpoint to fail. The new behavior is to assume the Postgres version is 15 since, if the user's Trunk CLI was old enough to not append this info, it'd also not be enough to build the extension for any other version other than 15.

@theory
Copy link
Collaborator

theory commented Apr 1, 2024

Looks good to me!

@vrmiguel vrmiguel merged commit 54d0678 into main Apr 1, 2024
4 of 5 checks passed
@vrmiguel vrmiguel deleted the plat-112 branch April 1, 2024 19:13
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.

2 participants