Skip to content

Resolve PR heads independently of capped commit lists - #293

Merged
tzhouam merged 1 commit into
mainfrom
fix/pr-head-over-100-commits-20261002
Oct 2, 2026
Merged

tzhouam merged 1 commit into
mainfrom
fix/pr-head-over-100-commits-20261002

Conversation

@tzhouam

@tzhouam tzhouam commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

PRs with more than 100 commits can fail the pinned-head check because GitHub CLI returns a capped commit list. Resolve the fetch snapshot and final publication check from headRefOid, and reject missing head authority.

The regression covers a truncated 100-commit list whose last entry differs from the actual head, real local Git fetch/diff/worktree materialization, and publication refusal when the head is missing. Existing stale-head guards remain in place.

Validation: 2,421 offline tests passed, 17 skipped; core lint, SPEC freshness, documentation checks, knowledge validators, and CLI smoke passed. The paired ReviewBot release also passed all 1,965 tests.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@tzhouam
tzhouam merged commit c51086e into main Oct 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant