chore(claude): add version-alignment + downstream-pipeline checks to release skill#85
Draft
chore(claude): add version-alignment + downstream-pipeline checks to release skill#85
Conversation
…release skill When cutting v0.3.7 we discovered the extension's default_version had been pinned at 0.1 across the entire 0.3.x distribution series, which violated Theory's policy that the extension version should track the distribution major.minor. The release skill happily created tags without catching this. Update the skill to: - Verify pg_stat_ch.control's default_version equals the new tag's major.minor, with bump-type-specific guidance on what to do if not. - Verify the canonical sql/pg_stat_ch--<ext>.sql exists and, if default_version was bumped this release, that the pg_stat_ch--<prev>--<ext>.sql migration script is in place too (refs PR #84 as the precedent for the conditional-DDL migration). - After tagging, remind the operator of the downstream handoffs: pgext-packaging auto-bump (or manual update-pg-stat-ch.yml dispatch), AMI build via postgres-vm-images/trigger-build.yml, AMI ID rollout via clickgres-platform/clickgres-pg-amis-latest.yml.
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.
Summary
pg_stat_ch.control'sdefault_versionequals the new tag'sMAJOR.MINORbefore tagging (Theory's policy from Change version format, add PGXN release workflow #33). Patch and minor/major bumps get bump-specific remediation guidance — the v0.3.7 cut surfaced that the skill was happily tagging across this misalignment for months.sql/pg_stat_ch--<ext>.sqlexists, and ifdefault_versionwas bumped relative to the prior tag, thatsql/pg_stat_ch--<prev>--<ext>.sqlexists too. Refs chore(meta): align extension version with distribution (0.3) #84 as the precedent for the conditional-DDL migration pattern.update-pg-stat-ch.ymldispatch → AMI build viapostgres-vm-images/trigger-build.yml→ fleet rollout viaclickgres-platform/clickgres-pg-amis-latest.yml).