Skip to content

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

Closed

Description

@Jacksondr5

The PR Size workflow fails on the upstream integration PR #178 before it can apply its size label. This is separate from J5 CI's format/lint/typecheck/test job.

The Label PR size job invokes git diff --numstat through Node execFileSync; this merge's large diff exceeds the captured-output buffer and fails with spawnSync git ENOBUFS (the log reports over 1 MB of numstat output). The checked files include vendored .repos updates.

Failing run: https://github.com/Jacksondr5/j5code/actions/runs/35175834431/job/105057242108
Head: 42a4b91.

Make the label calculation handle large diffs without overflowing subprocess output capture, preserving existing count/exclusion semantics. Verify against this merge diff. No onboarding/product code change is needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions