Closed rkapoor028 closed 3 years ago
@rkapoor028 it is just the first try of the uploader that failed, but from your log the fallback uploader succeeded.
If both had failed, you would not have seen the message View reports at
at the end. You would instead have seen an error message (those errors you point to are just warnings), and potentially a stacktrace as well.
Regarding your mention of We are not sure if its uploading the complete report or not.
, you will either have the complete report, or no report at all.
Codecov-exe uploads the full report to codecov.io, but if the report is too large then there may not be shown any report on the website (this is why the warning about the file size).
Thanks for looking into this. Ok that's good to know.
Our Coverage Report is around 35MBs, what's the size limit for the Report? We are using Cobertura format, any other format which is recommended and will take less size?
I am not sure what the size limit actually is (I think it is maximum 45MB), the warning was added before I became a part of maintaining the program.
Personally, I use the OpenCover (XML) format instead of cobertura, but I don't think you will get any size benefit for that. However, I don't think you need to worry about it for quite some time. As long as you see a report on the website, everything should have gone as planned. When/if it suddenly start reporting no report was submitted, then you could look into optimizing the size of the reports (maybe splitting them up into multiple reports, and calling codecov-exe multiple times for each report).
Perfect! thats sounds like a good plan. We can do that if required in future.
Thanks @AdmiringWorm once again. No more questions from our side.
Will close this issue as well.
No problem. If you have any further questions in the future, please feel free to contact me on the gitter channel for this repository: https://gitter.im/codecov-exe/community
We are using Codecov -Version 1.12.4 Nuget Package to upload the Cobertura Format XML Coverage reports to CodeCov. The Command we are using is
We are seeing a 400 error "Unable to upload coverage report to Codecov. Server returned: (400) Bad Request" . However, we still see the report for the commit in CodeCov portal. We are not sure if its uploading the complete report or not.
Any help will be appreciated. Thanks.