Repository navigation
chore: cut the comment blocks over the file-size check's caps to what the code cannot show - #479
Merged
Merged
Conversation
… the code cannot show
Contributor
File size check0 over a hard cap (fails), 1 warning(s).
Split the file, wrap the line, shorten or exempt the comment, or list the path in 5 managed file(s) skipped; repo-platform owns them. |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The release-pipeline header inaccurately describes embedded subcommands as individual workflow steps.
Review effort: Balanced
Findings: 1
What changed in this PR
This comments-only PR shortens oversized documentation blocks while retaining code-relevant design constraints.
Changes:
- Trims comments to meet file-size check caps.
- Reshapes retained release, validation, and file-writing guarantees.
| File | Description |
|---|---|
.github/scripts/release-pipeline.ts |
Condenses release topology and pointer documentation. |
.github/scripts/gen-inputs-table.ts |
Condenses rendered-table format documentation. |
src/github/secret-scan.ts |
Removes redundant normalization details. |
src/sections/contract/errors.ts |
Condenses failure-kind documentation. |
src/sections/shared/roles.ts |
Condenses permission-pattern documentation. |
src/flows/settings-write.ts |
Reshapes writer guarantees into concise rows. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Vivswan
force-pushed
the
chore/comment-block-caps
branch
from
October 6, 2026 06:34
08d49d3 to
9300660
Compare
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 changes
How
Proof
Technical details
git diff --numstat origin/main...HEAD): 32 added, 74 removed, every one a comment line, across seven files..github/scripts/{release-pipeline.ts,gen-inputs-table.ts},src/discovery/discover.ts,src/github/secret-scan.ts,src/sections/{contract/errors.ts,shared/roles.ts},src/flows/settings-write.ts.main()'s switch and the workflows' run lines carry.LEADINGarray andregionProblemcarry.LEADINGopens with an empty line, and the "|" invariantrow's four-cell split relies on, withtest/docs/inputs.test.tsnamed as the test that pins it.EXCLUDE_GLOB_OPTIONSliteral carries.windowsrow now says only picomatch's main callable follows the host OS andmakeRedoes not, so the option is a pin rather than a change in behaviour.NotPlainData's docblock already carry.PlainFailureKindlists.permissionError's messages carry, and the prose paraphrase of the regex.writeReplacingcarries.test/e2e/generators.ts, whose over-cap block was recut on main already.test/e2e/generators.tsis 2641 lines against the 2560-line warn cap for tests.