Skip to content

fix(ci): allow large diffs in PR size labeling - #195

Merged
Jacksondr5 merged 1 commit into
j5/mainfrom
j5/ci-pr-size-buffer
Sep 20, 2026
Merged

Jacksondr5 merged 1 commit into
j5/mainfrom
j5/ci-pr-size-buffer

Conversation

@Jacksondr5

Copy link
Copy Markdown
Owner

PR178's large upstream diff exceeds Node's default 1 MiB subprocess output buffer, so PR Size fails with spawnSync git ENOBUFS before applying its label. Increase both numstat capture limits to 16 MiB; counting, test exclusions and the trusted-base execution boundary stay unchanged.

Validation: reproduced the failure at 1 MiB on PR178's actual diff; the updated workflow calculation completes with 1,243,410 total changed lines, 886,982 non-test lines and size:XXL. Parsed YAML, checked formatting and whitespace. No product code or dependencies changed.

This workflow uses pull_request_target, so the correction must reach j5/main before it can repair PR178's label check.

Fixes #180.

Implementation: GPT-6 in the Codex harness; independent review by Fable in the Claude Agent harness.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 effective changed lines (test files excluded in mixed PRs). labels Sep 20, 2026
@Jacksondr5
Jacksondr5 merged commit 240728c into j5/main Sep 20, 2026
17 checks passed
@Jacksondr5
Jacksondr5 deleted the j5/ci-pr-size-buffer branch September 20, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): handle large merge diffs in PR size labeling

1 participant