Skip to content

[aw] Increase Code Radiator safe-outputs patch limit to prevent ENOBUFS on large merge PRs#25831

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/aw-code-radiator-incomplete-result
Open

[aw] Increase Code Radiator safe-outputs patch limit to prevent ENOBUFS on large merge PRs#25831
Copilot wants to merge 2 commits into
mainfrom
copilot/aw-code-radiator-incomplete-result

Conversation

Copilot AI commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Code Radiator reported an incomplete result because create_pull_request failed while processing a large main -> net11.0 merge. The merge commit was prepared, but safe-outputs failed during format-patch with ENOBUFS due to patch output size.

  • What changed

    • Increased Code Radiator safe-outputs patch budget from 10240 to 51200.
    • Applied the update in both workflow source and generated lock workflow to keep runtime config aligned.
  • Files updated

    • .github/workflows/code-radiator.md
    • .github/workflows/code-radiator.lock.yml
  • Configuration update

    • max-patch-size / max_patch_size: 1024051200
    • Applies to:
      • create_pull_request
      • push_to_pull_request_branch
safe-outputs:
  max-patch-files: 1000
  max-patch-size: 51200

Co-authored-by: rolfbjarne <249268+rolfbjarne@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix incomplete result reported by Code Radiator [aw] Increase Code Radiator safe-outputs patch limit to prevent ENOBUFS on large merge PRs Jun 26, 2026
Copilot AI requested a review from rolfbjarne June 26, 2026 11:54
@rolfbjarne rolfbjarne marked this pull request as ready for review June 29, 2026 12:12
Copilot AI review requested due to automatic review settings June 29, 2026 12:12
@rolfbjarne rolfbjarne linked an issue Jun 29, 2026 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Code Radiator workflow safe-outputs configuration to allow larger generated patches, preventing ENOBUFS failures when processing very large PRs (e.g., main → net11.0 merges).

Changes:

  • Increased safe-outputs patch size limit from 10240 to 51200 in the workflow source configuration.
  • Regenerated/applied the same limit update in the locked workflow to keep runtime behavior aligned (both config.json generation and handler env config).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/code-radiator.md Raises safe-outputs.max-patch-size to 51200.
.github/workflows/code-radiator.lock.yml Raises max_patch_size to 51200 for create_pull_request and push_to_pull_request_branch in both embedded configs.

@rolfbjarne rolfbjarne enabled auto-merge (squash) June 29, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants