kishikawakatsumi / xcresulttool

A GitHub Action that generates a human-readable test report from the Xcode result bundle and shows it on GitHub Checks.
MIT License
363 stars 69 forks source link

When unit test contains a crash, xcresulttool report generation will error #739

Open amleszk opened 1 year ago

amleszk commented 1 year ago

Hello thank you for creating this useful tool.

We observed an error generating reports when crash has occurred in one of the unit tests. It might be due to the crash log message containing a stack trace, not being filtered in the report. And causing the text size to be bloated.

Steps to reproduce

Warning: The 'summary' will be truncated because the character limit (65535) exceeded.
Error: Invalid request.

For 'properties/message', {"_value"=>{}} is not a string.
For 'properties/message', {"_value"=>{}} is not a string.
For 'properties/message', {"_value"=>{}} is not a string.
For 'properties/message', {"_value"=>{}} is not a string.
For 'properties/message', {"_value"=>{}} is not a string.
Error: $GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 1841k. For more information see: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary