Repository navigation
the GitHub Action reads strict the way it reads soft-fail, asks again after a 429, a 5xx or a rate-limited 403, and shows a refused GITHUB_API_URL without its user part - #282
Merged
Conversation
…shown without its user part; a request asked again after 429, 5xx or a rate-limited 403 strict was compared after lowering its case only, so " true" meant not strict and no value was ever named. It is now stripped as soft-fail is, and a value that is neither "true" nor "false" is named in a warning and means not strict. A GITHUB_API_URL the script refuses was printed whole, a password in its user part included. Everything before its last "@" is now left out, and the refusals that come before the token is checked hand the token to _shown. api() asks again, to the same address, after an answer of 429, of 500 to 599, or of 403 with a rate limit's headers: at most three requests, no wait above 60 seconds, at most 120 seconds of waiting in a run. Each request is built anew with the token as an unredirected header. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…gain Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…er tests run in CI An exact pin, since the render file's assertions are about one parser's rendering, with a marker for the systems PyPI has a wheel of that release for on Linux. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…I_URL, and asking again A new file for the four. The process test gains the report-mode twin of a contradicted claim, and the test that pinned the refusal's sentence for an address with a user part pins the new sentence. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ITHUB_API_URL Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…airs The 403 rule is stated as the code has it, in the docstrings and in action.yml: a 403 is asked again where a retry-after of digits, or a spent limit with a reset time, says when its rate limit ends. A docstring said asking again reaches no new address; it sends the token to no origin but the API's. The token is looked for in a refused GITHUB_API_URL before the value is cut at its last "@". The strict warning says both things strict changes. Tests: a rate limit answered three times, the token in a refused GITHUB_API_URL, a value named as it was set, a request asked again at the address it was asked at, a wait rounded up to the reset, and the sentences action.yml and the README gained. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…edes Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 18, 2026
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 two of three (part one was #281): small repairs to the GitHub Action that change no verdict on a diff that was read. One kind of input moves an exit code, and it is named below.
What changes
strictis read the waysoft-failis. Surrounding whitespace is stripped and case is ignored. A value that is neither "true" nor "false" means not strict, as before, and is now named in a warning. The one exit code that moves: "true" with white space round it (" true") used to mean not strict, without a word; it now means strict.GITHUB_API_URLis shown without what stands before its last "@". It was printed whole, a password in its user part included.action.yml'sruns:block is held line for line; the verdict word is held under strict; the process test has its report-mode twin.cmarkgfmis in thetestextra, on Linux, so the file that renders the summary with GitHub's Markdown parser stops being skipped in CI.How it was checked
cmarkgfm.action.ymlwere each run against the tests, and each made a test fail.What is not verified
cmarkgfmwas not installed from the extra on any system here. This pull request's own CI is the check that the extra installs on Python 3.9 to 3.12 and that the render file passes there.Not in this change
A timeout and a dropped connection are not asked again. A created branch's head commit and a diff GitHub refuses are the next part.
🤖 Generated with Claude Code