opensearch-project / opensearch-js

Node.js Client for OpenSearch
https://opensearch.org/docs/latest/clients/javascript/
Apache License 2.0
177 stars 116 forks source link

[BUG] CodeCov failing in dependabot PRs #748

Closed dblock closed 2 months ago

dblock commented 2 months ago

What is the bug?

[2024-04-08T07:22:31.805Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}

How can one reproduce the bug?

See https://github.com/opensearch-project/opensearch-js/actions/runs/8596129889/job/23552104914?pr=747

What is the expected behavior?

CodeCov to succeed.

What is your host/environment?

GHA

https://github.com/opensearch-project/opensearch-js/pull/747#pullrequestreview-1985822925

nhtruong commented 2 months ago

Bumping codecov-action from 2 to 4 solved this issue.