Repository navigation
docs: correct GitHub requests, the cost of preview, and what publishing replaces - #266
Merged
Merged
Conversation
goldbarth
force-pushed
the
docs/github-access
branch
from
September 29, 2026 19:09
0a881c1 to
db13b71
Compare
This was referenced Sep 29, 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.
Follows #265, and is stacked on it: the base is
docs/provider-status, so this diff shows only this change. GitHub retargets it tomainonce #265 is merged.previewto save tokens, and expecting a draft where a published release is changed in public.docs/cli.mdenvironment,docs/configuration.mdgithub).GitHubPullRequestReaderaskscommits/{sha}/pullsfor every commit of the range, and the range comes fromgit logwithout--no-merges. A pull request merged with a merge commit therefore costs one request for the merge commit and one for each commit on its branch. The README carries the example: ten squash-merged pull requests take ten requests, ten of five commits each take sixty, the whole unauthenticated hour.GitHubErrorResponse.DescribeCredentialsrecognizes the limit and says so;docs/cli.mdshows that message.previewcosts whatgeneratecosts: both run the same pipeline and make the same model calls, so "to check token cost before committing to a real run" is removed and the cost is stated instead.GitHubReleaseNotesWritercreates a draft only when the tag has no release, and otherwise patches the body alone. "Nothing goes public until you publish it on GitHub" is replaced by that, and the replaced notes of a published release join the known limitations with a link to A run with flags looks like a clean run, and a published release's notes are replaced unasked #249.docs/cli.mdstill names GitLab CI where it quotes the shallow-clone error, because that is the messageGitCliCommitReaderprints.Left for its own change: the warning a run starts with when no token is set (
GitHubTokenNotice.cs) still says "roughly one per pull request", as does a comment inLlmServiceCollectionExtensions.cs. That is code, not documentation.Verified:
git grepfinds no "per pull request" request count, no "names a commit", and no "goes public" left in the README ordocs/. The branch merges intomainwithout a conflict.Tests: no test changed; documentation only.