-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid JSON for check run / results gist - build failure? #13
Comments
I'm getting the same thing when I run tests for the whole solution (over 2000 tests). If I run smaller individual test suites it uploads successfully. Could be to do with the 64k character limit but I'm getting the exact error described above and not the one from #9 Edit to add - I have now tested it with a single large suite of tests and it fails to upload the check run or gist, so it isn't related to having multiple suites running. |
Can you try to disable the Check Run reports by enabling the |
This isn't accessible on a public GitHub project by any chance, is it? |
I'm afraid not but I might be able to help you out with bits of logs or any other info. Also happy to try any changes you might suggest - I did fork the repo but then had other work to do so never bothered investigating further. |
If you reduce the number of tests, does it also fix the call to create the Gist? |
Yeah both work if I reduce the number of tests
…On Tue, 6 Apr 2021, 18:43 Eugene Bekker, ***@***.***> wrote:
If you reduce the number of tests, does it also fix the call to create the
Gist?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAORN47GQRHU2FHSXE5ILT3THNB3ZANCNFSM4XI5B63A>
.
|
I was looking at the documentation for some indication of a limit on the payload for creating Gists, but it doesn't mention anything, I'll need to play around with it and see if I can nail it down. In the mean time, could you possibly work around the issue by breaking your batch of 2000+ tests into several smaller batches? If you are categorizing, perhaps run each category as a separate batch with separate result reports? |
Apologies for bumping a 6-month old issue but I thought I'd give it another go since there have been multiple releases since last time I tried it. I can confirm that this issue still persists in 1.4.4 and that setting
|
I'm seeing some strange behaviour with my test process. It runs my tests successfully and seems to generate an output, but then tries and fails to add a check run, citing invalid JSON:
It also fails to create a results gist, with the same error at line 235.
I did notice it failed to build the solution, but since the tests ran successfully I'm not sure if this is related:
The text was updated successfully, but these errors were encountered: