ci: skip Postgres test matrix on docs-only pushes - #39
Conversation
Ports the resolve-job pattern used by pgxntool-test/pgxntool (doc-only detection gating the expensive job) and the push/PR git-diff handling from pg_count_nulls/cat_tools, which extension_tools' CI previously lacked entirely. claude-code-review.yml/claude.yml are untouched, so CLAUDE.md/README changes still get code review.
|
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 3m 28s —— View job Code Review:
|
|
Closing as superseded: For the record: the AI review's finding on this PR (implicit |
Summary
resolvejob toci.ymlthat detects doc-only pushes/PRs (viagit diffon push/PR SHAs) and gates the PostgreSQL test matrix (test) on it.Postgres-Extensions/pgxntool-testandpgxntool(job name/output naming:resolve/doc-only), combined with the push+PRgit diffhandling used inpg_count_nulls/cat_tools..github/*files never count as doc-only even if their extension matches, so workflow-file changes always run tests.claude-code-review.yml/claude.ymlare untouched — CLAUDE.md/README changes still get code review, only the expensive Postgres matrix is skipped.Test plan
python3 -c "import yaml; yaml.safe_load(open('.github/workflows/ci.yml'))"— valid YAMLresolvejob runs andtestmatrix is gated correctly (this PR itself touches.github/workflows/ci.yml, so it should NOT be treated as doc-only — good live test of the.github/*exclusion)testmatrix legs report as skipped, not pending