Increase Code Radiator safe-output patch size limit#25642
Merged
Conversation
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
rolfbjarne
approved these changes
Jun 4, 2026
Member
|
/azp run |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Contributor
There was a problem hiding this comment.
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-sizelimit to10240KB in the workflow source (code-radiator.md). - Regenerated the compiled workflow (
code-radiator.lock.yml) so bothcreate_pull_requestandpush_to_pull_request_branchenforce the newmax_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 |
dalexsoto
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
safe-outputs.max-patch-sizeincode-radiator.mdfrom the default to10240KB.Compiled workflow
code-radiator.lock.ymlso both PR creation and PR branch updates use the new10240KB limit.Result
create_pull_requestinstead of being rejected by the safe-output size guard.