Repository navigation
CI: bound dependency comments and retain complete reports - #8958
Draft
youknowdot wants to merge 1 commit into
Draft
youknowdot wants to merge 1 commit into
youknowdot wants to merge 1 commit into
Conversation
Send the dependency report through a file instead of the comment action's large environment input. Keep short reports in the comment and retain complete longer reports in the job summary, with an artifact fallback above the summary size limit. Preserve the existing trigger, permissions, action pins and trust boundary. Fixtures cover the recorded E2BIG report, UTF-8 size limits, empty reports and the summary/artifact boundary. Zizmor reports the same inherited pull_request_target finding on main and this change, with no new finding. Assisted-by: Codex:model-version-unavailable
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Large standard-library updates generate a dependency report that is too large for the comment action's environment input. On #8954, the 157,859-byte report prevents Node from starting with
Argument list too long.Write the report to a temporary file and pass its path to the existing pinned comment action. Short reports remain in the comment; longer reports link to the complete run summary. Reports above the summary's 1 MiB limit use an artifact with the repository's existing pinned upload action.
This is independent of the Python 3.15 migration and applies directly to current 3.14 main. The trigger, token permissions, checkout/trust boundary, existing action versions and no-Lib-change removal behavior are retained. Because this is a
pull_request_targetworkflow, the correction must reach trusted main before the mega PR can use it.Validation:
dangerous-triggersfinding on unchanged main and this change, with no new findings. This is not a clean local scan; no suppression or trigger/permission change was addedThe existing failed run supplies the current failure evidence. Main CI approval is a separate issue.
AI assistance: prepared and validated with Codex at the user's direction. Exact model metadata is unavailable; the commit records
Assisted-by: Codex:model-version-unavailable.