Revert CAT_TOOLS_GIT_REF override now that cat_tools 0.3.0 is on PGXN - #47
Revert CAT_TOOLS_GIT_REF override now that cat_tools 0.3.0 is on PGXN#47jnasbyupgrade wants to merge 2 commits into
Conversation
cat_tools 0.3.0 published to PGXN 2026-08-06, so a plain `pgxn install` now satisfies META.in.json's declared floor -- the git-source override this repo's (now-deleted) RELEASE.md warned never to release with is no longer needed. Unblocks cutting the 1.0.0 release per ../ai/RELEASE.md. pg-tle-test still needs a concrete git ref for its own from-scratch cat_tools clone (that job never installs via PGXN), so it gets its own job-level CAT_TOOLS_GIT_REF, decoupled from the removed release gate.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Claude finished @jnasbyupgrade's task in 1m 6s —— View job Code ReviewTasks:
SummaryThis is exactly the release-blocking cleanup the PR description says it is, and the diff backs it up:
No issues found. Nothing to flag, no suggested fixes. |
Manually checking ci.yml before every release is easy to forget -- add bin/in_release (true when default_version is a real version, i.e. cutting a release) and a release-safety CI job that hard-fails if that's ever true at the same time CAT_TOOLS_GIT_REF/CAT_TOOLS_SKIP_INSTALL is set at the workflow level. pg-tle-test needs its own cat_tools git ref regardless (it always clones from source for pg_tle registration, never via PGXN); give it an empty-by-default job-scoped CAT_TOOLS_GIT_REF that falls back to the `stable` tag, decoupled from the release-gated one above. Restores a local RELEASE.md: there's a genuine repo-specific reason again now that this mechanism exists.
|
Claude finished @jnasbyupgrade's task in 2m 19s —— View job Code ReviewTasks:
SummaryThis push (commit f96ae0e) builds on the earlier revert by automating the guardrail it previously relied on manual review for. The diff is clean and internally consistent:
No issues found. Nothing to flag, no suggested fixes. |
Summary
pgxn installnow satisfies
META.in.json's declaredcat_tools: 0.3.0floor. Theworkflow-level
CAT_TOOLS_GIT_REF: 0.3.0override (added to work aroundPGXN's previously-stale 2017
cat_toolsrelease) is no longer needed.RELEASE.mdand theshared
../ai/RELEASE.mdwarn about: never cut a release while adependency is pinned to a git ref instead of PGXN. Clearing it is a
prerequisite for cutting the pending 1.0.0 release.
pg-tle-teststill needs a concrete git ref for its own from-scratchcat_toolsclone (that job registers cat_tools viapg_tle, never throughPGXN/filesystem install). It now carries its own job-scoped
CAT_TOOLS_GIT_REF, empty by default and falling back to thestabletag, decoupled from the release-gated override above.
bin/in_release(truewhen
default_versionis a real version, i.e. cutting a release) and arelease-safetyCI job that hard-fails if that's ever true at the sametime
CAT_TOOLS_GIT_REF/CAT_TOOLS_SKIP_INSTALLis set at the workflowlevel — this was previously a manual step in
RELEASE.md, easy to forget.RELEASE.mdnow documents just that mechanism (the genericguardrail itself lives in the shared
Postgres-Extensions/ai/RELEASE.md).Verified locally
pgxn install 'cat_tools>=0.2.1' --sudofetches and installs
cat_tools0.3.0 from PGXN (confirmed by running it).make verify-resultspasses on PG17 (fresh install + build tests)..github/workflows/ci.ymlparses as valid YAML after the edit.bin/in_releaseand therelease-safetyjob's fail condition checkedagainst all three cases: stable+no-override (pass), stable+override
(pass — that's normal mid-development use), real-version+override
(fails, as intended).
Test plan
new release-safety job) — confirms the plain-PGXN path and the new
guard job both work in the actual CI container, not just locally.