Skip to content

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

Merged
rolfbjarne merged 4 commits into
mainfrom
copilot/aw-code-radiator-incomplete-result
Jun 30, 2026
Merged

rolfbjarne merged 4 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: 10240 β†’ 51200
    • 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
dalexsoto
dalexsoto previously approved these changes Jun 29, 2026
@rolfbjarne
rolfbjarne merged commit bace2b2 into main Jun 30, 2026
12 checks passed
@rolfbjarne
rolfbjarne deleted the copilot/aw-code-radiator-incomplete-result branch June 30, 2026 07:42
rolfbjarne added a commit that referenced this pull request Jul 15, 2026
The problem is that the merge is always too big, surpassing the built-in limits to avoid the agentic workflows from creating havoc.

This doesn't make much sense to me (the merges are small, but maybe it's the entire diff between the two branches that's taken into account?), but Copilot gave up fixing it (#25954 - basically saying "this needs to be done manually").

So remove this specific branch flow to avoid getting issues filed every time an (unsuccessful) attempt is made.

References:

* #25839
* #25843
* #25844
* #25866
* #25871
* #25890
* #25905
* #25917
* #25927
* #25929
* #25930
* #25946
* #25965
* #25981
* #26027
* #26044
* #26050
* #26054
* #26066
* #26092
* #25831
* #25831
* #25831
* #25896
* #25925
* #25954
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants