ci: pass repo owners to run-tests.yml for fork-account matching#40
ci: pass repo owners to run-tests.yml for fork-account matching#40jnasbyupgrade wants to merge 4 commits into
Conversation
Pairs with the pgxntool-test change. When pgxntool runs its own tests (commit-with-no-tests or master-to-master), pass pgxntool-owner = this PR's head account (a fork for fork PRs) and pgxntool-test-owner = Postgres-Extensions, so fork PRs check out their own pgxntool branch and always take pgxntool-test from canonical master rather than a fork's master. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 19 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Pull request overview
Updates this repo’s CI reusable-workflow invocation so fork PRs can pass the correct repository owners into pgxntool-test’s run-tests.yml, enabling correct paired-branch resolution across fork accounts.
Changes:
- Pass
pgxntool-owneras the PR head repo owner (github.event.pull_request.head.repo.owner.login) to support fork PR pairing. - Pass
pgxntool-test-owneras the canonicalPostgres-Extensionsowner when falling back topgxntool-test/master.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The README's Development section pointed at the old decibel/pgxntool-test URL and didn't mention how contributions are coordinated. Point at Postgres-Extensions/pgxntool-test and note that changes are normally paired across both repos (matching branch + account), linking to pgxntool-test's "CI and Contributing" section. Regenerated the matching README.html paragraph. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pairs with pgxntool-test PR: Postgres-Extensions/pgxntool-test#25
Problem
CI resolved the paired sibling branch using
github.repository_owner(Postgres-Extensions), so a fork PR never found its paired branch (which
lives on the fork) and tested against the wrong, unpaired code. This is what
made the fix-38 PRs' CI fail: pgxntool-test's resolve looked for the pgxntool
branch on Postgres-Extensions, didn't find it (it was on the fork), fell back to
pgxntool=master, and master lacked the paired change.This PR (pgxntool side)
When pgxntool runs its own tests (
commit-with-no-testsor master-to-master),pass explicit owners to
run-tests.yml:pgxntool-owner= this PR's head account (the fork for fork PRs)pgxntool-test-owner=Postgres-Extensions(canonical master only — never a fork's master)The matching resolve/owner logic and the
pgxntool-owner/pgxntool-test-ownerinputs on
run-tests.ymlare in the paired pgxntool-test PR.Merge order: pgxntool-test first (so
run-tests.yml@mastergains the ownerinputs), then this PR.
🤖 Generated with Claude Code