openclaw/scripts/pr-lib
Peter Steinberger 9a42254f0c
fix(maintainers): compare gh and GraphQL repository identity by matching id shape (#132715)
merge_outcome_read_remote compared the GraphQL repository object to the identity
captured from `gh repo view`. gh reports the repository's REST database id while
GraphQL reports the node id, so {id,url,nameWithOwner} == $repo could never hold
and every merge stopped with "authoritative PR/main metadata unavailable or
invalid".

Select databaseId alongside id and accept whichever representation gh supplied.
url and nameWithOwner keep pinning the repository exactly.

The fixture previously spread one identity into both the CLI and GraphQL
responses, so no test could see the mismatch. It now models gh's real dual shape,
which makes the existing merge tests reproduce the failure, plus a case for hosts
whose gh reports the node id from both sources.
2026-08-29 11:51:53 -07:00
..
changelog.sh fix(maintainers): avoid redundant main fetches during PR prep (#132274) 2026-08-28 19:38:04 -07:00
ci-dispatch.mjs fix(ci): let publisher own Crabbox proof (#131635) 2026-08-28 18:11:48 +08:00
common.sh fix(maintainers): recover stalled merge attempts without losing evidence (#132700) 2026-08-29 09:19:48 -07:00
crabbox-gate-contract.mjs fix(ci): allow crabbox proof across forward main (#131738) 2026-08-28 19:41:40 +08:00
crabbox-gate-plan.mts feat(ci): add admin-only Crabbox PR gate fallback (#131091) 2026-08-28 11:45:46 +08:00
crabbox-merge-bypass.mjs fix(ci): allow crabbox proof across forward main (#131738) 2026-08-28 19:41:40 +08:00
crabbox-merge-bypass.sh fix(ci): allow crabbox proof across forward main (#131738) 2026-08-28 19:41:40 +08:00
gates.sh fix(maintainers): avoid waiting past validated hosted CI (#132673) 2026-08-29 09:07:46 -07:00
merge-outcome.sh fix(maintainers): compare gh and GraphQL repository identity by matching id shape (#132715) 2026-08-29 11:51:53 -07:00
merge.sh fix(maintainers): recover stalled merge attempts without losing evidence (#132700) 2026-08-29 09:19:48 -07:00
operation-lock.sh fix(codex): candidate checks reject a mismatched app-server (#124137) 2026-08-16 09:27:12 -06:00
prepare-core.sh fix(maintainers): avoid redundant main fetches during PR prep (#132274) 2026-08-28 19:38:04 -07:00
process-group-runner.mjs
push.sh fix(maintainers): avoid redundant main fetches during PR prep (#132274) 2026-08-28 19:38:04 -07:00
review-artifacts.mjs
review.sh fix(pr): release locks after early auth failures (#132351) 2026-08-28 23:04:25 -07:00
worktree.sh fix(maintainers): preserve legacy merge evidence during cleanup (#132318) 2026-08-28 21:17:27 -07:00