jest-coverage-report-action icon indicating copy to clipboard operation
jest-coverage-report-action copied to clipboard

HttpError: Body is too long (maximum is 65536 characters)

Open alexHerrmio opened this issue 1 year ago • 8 comments

Describe a bug

When procession huge test data (I guess)at some point the github api returns a HttpError with the message "Body is too long (maximum is 65536 characters)" .

Expected behavior

optional way of disabling the reporting to the gh api.

Details

  • Action version: 2.2.6

  • OS, where your action is running (windows, linux): linux

  • action.yml file
      name: CI Build and test
    
      on:
        pull_request:
        workflow_dispatch:
        push:
          branches:
            - main
            - dev
    
      jobs:
        coverageTest:
          runs-on: ubuntu-latest
          steps:
            - uses: actions/checkout@v3
            - uses: ArtiomTr/[email protected]
              with:
                 output: comment
                 annotations: none
    
  • Screenshots
    <!-- If you encounter an incorrect coverage comment display, replace this comment with screenshot -->
    
    <!-- If your action unexpectedly fails, please replace this comment with a screenshot of your console  -->
    

alexHerrmio avatar Dec 14 '23 13:12 alexHerrmio

I've published fix in v2.2.7, let me know if you still experiencing this issue

ArtiomTr avatar Mar 03 '24 11:03 ArtiomTr

Hey @ArtiomTr thanks for the effort! Unfortunaly this does not fix the issue. At least in our case we still have the same issue: image image

alexHerrmio avatar Mar 05 '24 14:03 alexHerrmio

Okay, will try to reduce report size further.

image

Oh, that's a lot!

ArtiomTr avatar Mar 06 '24 18:03 ArtiomTr

I'd be more then happy to support you here if you need any more details on the case even though I think we're not the only one experiencing such issues. Thank's again for investigating :)

alexHerrmio avatar Mar 06 '24 19:03 alexHerrmio

I'm also seeing this issue on v2.3.

StevenBoutcher avatar May 03 '24 14:05 StevenBoutcher

Ran into this for our integration test suite for a service: HttpError: Invalid request. Only 65535 characters are allowed; 117616 were supplied.

chadcromwell avatar Jul 25 '24 14:07 chadcromwell