Skip to content
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

[CY-5317] Uploading the coverage reports fails silently #53

Open
koenighotze opened this issue Nov 30, 2021 · 2 comments
Open

[CY-5317] Uploading the coverage reports fails silently #53

koenighotze opened this issue Nov 30, 2021 · 2 comments
Labels
jira-issue Issue tracked on JIRA

Comments

@koenighotze
Copy link

No error is reported, if curl fails during the report upload. The workflow still continues as if the action succeeded.

I suggest do either drop at least an error message ("Upload failed because of: XYZ"), or add a configuration parameter fail_on_error to the action itself.

The curl errors are swallowed here, because of the -s flag to curl.

bash <(curl -Ls https://raw.githubusercontent.com/codacy/codacy-coverage-reporter/master/get.sh) report $auth $params --partial &&\
bash <(curl -Ls https://raw.githubusercontent.com/codacy/codacy-coverage-reporter/master/get.sh) final $auth
@github-actions github-actions bot added the jira-issue Issue tracked on JIRA label Nov 30, 2021
@github-actions github-actions bot changed the title Uploading the coverage reports fails silently [CY-5317] Uploading the coverage reports fails silently Nov 30, 2021
@github-actions
Copy link

Internal ticket created : CY-5317

@bmulholland
Copy link

This isn't the first "fails silently" bug I've seen with Codacy (also seen with eslint, rubocop, and brakeman all failing silently). It seems to be an issue in every part of the product. Can I suggest that this be raised as a priority internally? How will we ever trust that Codacy is working if it could be failing without us knowing at any time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira-issue Issue tracked on JIRA
Projects
None yet
Development

No branches or pull requests

2 participants