Repository navigation
the GitHub Action reads a branch created by a push of one commit against that commit's parent, and a refused diff against GitHub's list of files where no claim needs the diff's content - #283
Merged
fathomlab merged 6 commits intoNov 18, 2026
Conversation
… parent, and a refused diff against GitHub's list of files where every claim is about which files changed A push that creates a branch has no commit before it, so the compare address names no base. The head commit's parents are looked up; with exactly one, the diff read is the compare of that parent with the head commit. A commit with no parent, or a merge, is not read so. A pull request whose diff GitHub answers 406 for: GitHub's message is shown, and where every claim the gate reads turns on which files changed, GitHub's list of the pull request's files is read in the diff's place, as a diff of headers and no content. The list is used only where it is whole, every name is one git writes into a header as it is, and the pull request did not change while the list was read. Otherwise the gate does not run, as before, and the text names the condition. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…files needs Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… a refused diff main() with the real api() against a server on loopback: what is asked, what is printed, each condition under which the list is not used, and each way the lookup of a parent ends. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A created branch is read as its head commit against one parent only where the push is that one commit: read so, a push of several commits left the earlier ones unread, and a push that failed before could pass. The lookup's answer must be for that commit, and an answer that cannot be used is said to be that, apart from a lookup that failed. GitHub's message is searched for the token before it is cut. A refused lookup, page or re-read is named for what was asked, where it was called the diff's address. A pull request of more files than GitHub lists is told a re-run fails the same way. The notice says no claim needs the diff's content, which is also true of a tests-pass claim. The sentence for a name the script does not write names a rename's earlier name. A diff that was read and not measured says on its last line what was read. action.yml and the README give the conditions under which the list is read. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…reading An event that does not list its commits as the head commit alone is said to be that, where the text said the push holds other commits. action.yml says what the second read of the pull request holds it to. The README names the commits a created branch is not read for. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…files for a refused diff Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this is
The follow-up to #280, part three of three (after #281 and #282): two cases where the diff an event names cannot be had now get a reading of their own. Since #280 both failed a blocking check whenever the text held a claim the gate reads, and no re-run helped.
The two readings
A push of one commit that creates a branch. There is no commit before it, so the compare address has no commit for its base and the API answers 404. Where the push holds its head commit and no other, the script now looks up that commit's parents, and where there is exactly one, reads the commit against it: the message gated is that commit's, and the diff of the push is that commit's own. A push of several commits is not read so, because the earlier commits would go unread; nor is a commit with no parent, or a merge. Those count as a failed fetch, as before, and the text says which it was.
A pull request whose diff GitHub refuses. GitHub answers 406 for a diff past its size limit. The script now shows GitHub's own message, and may read GitHub's list of the pull request's files in the diff's place. It does so only where every one of these holds:
Then the gate judges the description against a diff of headers and no content, and the summary, a notice and the last line say the list was read and not the diff. Otherwise the gate does not run, as before, and the text names the condition that did not hold.
Why paths and no content
Asked for pull request #63 of this repository (38 files, 171,417 added lines), GitHub refused the diff, and its list of files held all 38 paths, a patch for 25 of them, and no added line for nine files that changed. A claim that needs content cannot be judged from such a list, so none is.
What a workflow will notice
In a blocking check, a refused diff under claims about which files changed, and a branch created by a push of one commit, now follow the gate's verdict where they failed. Report mode prints verdicts there where it printed DID NOT RUN. The list needs the permission
pull-requests: read; a workflow without it is told so. Nothing printed changes where the diff is served, or on a push to a branch that exists.How it was checked
What is not verified
🤖 Generated with Claude Code