sql.mk: remove now-dead conditional installcheck:install guard - #59
sql.mk: remove now-dead conditional installcheck:install guard#59jnasbyupgrade wants to merge 1 commit into
Conversation
|
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 |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
pgxntool 2.3.0 fixed issue #79 by making installcheck unconditionally depend on install directly in base.mk, so this conditional (guarded to skip in TEST_EXISTING_DEPLOY=pgtle mode) no longer has any effect: base.mk's own unconditional edge fires regardless of what this file does. The pgtle-mode side effect it was guarding against is now handled instead by redirecting install's writes to a scratch DESTDIR in bin/test_existing. Verified make test and make verify-results still pass without it.
46766bf to
6e0cbc3
Compare
Code reviewNo issues found in the diff itself — the removal of the dead One note on the PR description itself: per CLAUDE.md § "Pull request descriptions", the opening should "lead with the substantive change and why," keeping incidental content out of the opening, since the maintainer builds the squash commit message directly from it. The current opening line, "Stacked on #58 (pgxntool 2.3.0 sync).", is dependency bookkeeping rather than the substantive change — the actual explanation starts in the second paragraph. Moving the stacking note below the substantive explanation (or omitting it, since GitHub already surfaces the stacked-PR relationship) would make the opening match the intended commit-message content. |
Stacked on #58 (pgxntool 2.3.0 sync).
The
ifneq ($(TEST_EXISTING_DEPLOY),pgtle) installcheck: install endifguard added in #51 to fix issue #79 (installcheck running before install) is now dead code: pgxntool 2.3.0 fixed #79 upstream by makinginstallcheckunconditionally depend oninstalldirectly inbase.mk, so this file's conditional edge has no effect either way -- base.mk's own unconditional edge fires regardless. The pg_tle-mode side effect that guard was meant to prevent (writingcat_tools.controlto the real extension directory) is now handled instead by redirectinginstall's writes to a scratchDESTDIRinbin/test_existing(also part of #58).Verified
make testandmake verify-resultsstill pass without it.