dependency-review-action icon indicating copy to clipboard operation
dependency-review-action copied to clipboard

Quick Fix: truncate oversized core.summary outputs

Open elireisman opened this issue 1 year ago • 0 comments

Addresses a bug where the detailed DR report outputs can overflow core.summary, causing the DR Action to throw the following error:

$GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got <REDACTED>. For more information see: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary

The long term fix is to refactor the summary.ts package so that each segment of the formatted summary is cached and can be measured and reformatted with care rather than truncated blindly when it is oversized. This will prevent end users missing important details on their vulnerability and license results from the DR run.

elireisman avatar Jul 04 '24 00:07 elireisman