Skip to content

Increase Code Radiator safe-output patch size limit#25642

Merged
rolfbjarne merged 3 commits into
mainfrom
copilot/increase-max-patch-size
Jun 4, 2026
Merged

Increase Code Radiator safe-output patch size limit#25642
rolfbjarne merged 3 commits into
mainfrom
copilot/increase-max-patch-size

Conversation

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Code Radiator failed when large merge PRs exceeded the default 1024 KB safe-output patch limit, causing PR creation to fall back to an issue. This updates the workflow to allow substantially larger generated patches.

  • Workflow source

    • Raise the top-level safe-outputs.max-patch-size in code-radiator.md from the default to 10240 KB.
  • Compiled workflow

    • Update the generated safe-output config in code-radiator.lock.yml so both PR creation and PR branch updates use the new 10240 KB limit.
  • Result

    • Large inter-branch merge patches can proceed through create_pull_request instead of being rejected by the safe-output size guard.
safe-outputs:
  max-patch-files: 1000
  max-patch-size: 10240

Copilot AI linked an issue Jun 4, 2026 that may be closed by this pull request
Co-authored-by: rolfbjarne <249268+rolfbjarne@users.noreply.github.com>
Copilot AI changed the title [WIP] Update max patch size for Code Radiator workflow Increase Code Radiator safe-output patch size limit Jun 4, 2026
Copilot AI requested a review from rolfbjarne June 4, 2026 06:19
@rolfbjarne rolfbjarne marked this pull request as ready for review June 4, 2026 07:31
Copilot AI review requested due to automatic review settings June 4, 2026 07:31
@rolfbjarne

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

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

This PR updates the Code Radiator agentic workflow configuration to increase the safe-output patch size limit so large inter-branch merge diffs can be handled via PR creation/updates instead of falling back to filing an issue.

Changes:

  • Raised the frontmatter safe-outputs.max-patch-size limit to 10240 KB in the workflow source (code-radiator.md).
  • Regenerated the compiled workflow (code-radiator.lock.yml) so both create_pull_request and push_to_pull_request_branch enforce the new max_patch_size: 10240.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/code-radiator.md Increases the top-level safe-output patch size limit in the workflow source frontmatter.
.github/workflows/code-radiator.lock.yml Updates the generated safe-outputs config to apply the new patch size limit for PR creation and branch update pushes.

fetch-depth: 0
safe-outputs:
max-patch-files: 1000
max-patch-size: 10240
@rolfbjarne rolfbjarne merged commit ac15946 into main Jun 4, 2026
12 checks passed
@rolfbjarne rolfbjarne deleted the copilot/increase-max-patch-size branch June 4, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Code Radiator failed

4 participants