Revert CAT_TOOLS_GIT_REF override now that cat_tools 0.3.0 is on PGXN - #47
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. |
Deleting the variable entirely loses the framework for using it again if PGXN's cat_tools ever goes stale a second time. Keep it declared and empty, with a comment explaining what it's for instead. Also restore RELEASE.md's explicit "never release with this set" warning and its why -- the automated release-safety job is a backstop, not a replacement for an agent/human running the release process knowing to check this by hand first.
|
Claude finished @jnasbyupgrade's task in 1m 35s —— View job Code ReviewTasks:
SummaryThis push (commit
No issues found that block merge. Nothing else to flag. |
Revert the CAT_TOOLS_GIT_REF override now that cat_tools 0.3.0 is on PGXN, and automate the check that a release must never be cut while it's set.
ci.yml: workflow-levelCAT_TOOLS_GIT_REFreverted to empty since a plainpgxn installnow satisfiesMETA.in.json's declared floor; left declared (not deleted) as a documented knob for if PGXN's cat_tools ever goes stale again.ci.yml:pg-tle-testgets its own job-scopedCAT_TOOLS_GIT_REF, empty by default and falling back to thestabletag, since it always clones cat_tools from source for pg_tle registration independent of the release-gated variable above.bin/in_releaseplus arelease-safetyCI job hard-fail if a real version is ever set whileCAT_TOOLS_GIT_REF/CAT_TOOLS_SKIP_INSTALLis non-empty, automating the "never release with the override set" check that used to be manual only.RELEASE.mdstates this explicitly for whoever runs the release process: the automated job is a backstop, not a substitute for checking by hand first.bin/in_release's fail condition was checked by hand against all three states (stable+no-override, stable+override, real-version+override), since CI itself never legitimately exercises the failing case — that's exactly the state this guards against.