Limit step summary size to 1000KB and add lightweight console summary#5136
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Update MAX_STEP_SUMMARY_SIZE from 8MB to 1000KB (1,024,000 bytes) - Update MAX_TOOL_OUTPUT_LENGTH from 500 to 256 characters - Add generatePlainTextSummary function for lightweight console output - Update log parser bootstrap to generate plain text summary for core.info - Update Copilot and Claude parsers to return logEntries with result - Update tests for new constant values and return types - Fix TestNeutralToolsIntegration to use YAML key patterns instead of broad string match Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Update documentation comment to reflect new 256 char limit - Add MAX_BASH_COMMAND_DISPLAY_LENGTH constant (40) - Use ✗ instead of x for error status icon for better console compatibility Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Limit markdown size for job summary parsing
Limit step summary size to 1000KB and add lightweight console summary
Dec 1, 2025
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.
GitHub Actions step summaries were exceeding the 1024KB limit, causing workflow failures. Additionally, full markdown output was being sent to
core.info()which is suboptimal for raw console rendering.Changes
MAX_STEP_SUMMARY_SIZEreduced from 8MB to 1000KB;MAX_TOOL_OUTPUT_LENGTHreduced from 500 to 256 charsgeneratePlainTextSummary()function produces console-optimized output forcore.info()logEntriesfor use in plain text generationTestNeutralToolsIntegrationnow checks for YAML keys specifically, avoiding false positives from bundled JS string literalsPlain text summary format
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login(http block)/usr/bin/gh gh api user --jq .login g/workflow/js/node_modules/vitest/dist/workers/forks.js(http block)/usr/bin/gh gh api user --jq .login _main.o(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.