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

Downgrade codecov uploader to v3 until it is no longer in a broken state #140

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

felixfontein
Copy link
Collaborator

It breaks with


Traceback (most recent call last):
  File "codecov_cli/main.py", line 81, in <module>
  File "codecov_cli/main.py", line 77, in run
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1688, in invoke
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "click/decorators.py", line 33, in new_func
  File "codecov_cli/commands/upload.py", line 243, in do_upload
  File "codecov_cli/services/upload/__init__.py", line 71, in do_upload_logic
  File "codecov_cli/services/upload/upload_collector.py", line 152, in generate_upload_data
  File "codecov_cli/services/upload/network_finder.py", line 17, in find_files
  File "codecov_cli/helpers/versioning_systems.py", line 111, in list_relevant_files
ValueError: Can't determine root folder

While the corresponding issue (codecov/codecov-action#1258) has been closed, it's not fixed, and there's only a workaround (codecov/feedback#263 (comment)) which, seriously, looks pretty dubious to me.

@felixfontein felixfontein added the backport-2 Automatically create backport to stable-2 branch label Feb 10, 2024
@felixfontein felixfontein merged commit eebe995 into ansible-community:main Feb 10, 2024
5 checks passed
@felixfontein felixfontein deleted the codecov branch February 10, 2024 21:23
Copy link

patchback bot commented Feb 10, 2024

Backport to stable-2: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-2/eebe995898d3b7c32113ecc4e73e78fd17920bf4/pr-140

Backported as #141

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Feb 10, 2024
felixfontein added a commit that referenced this pull request Feb 10, 2024
…ate. (#140) (#141)

(cherry picked from commit eebe995)

Co-authored-by: Felix Fontein <felix@fontein.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-2 Automatically create backport to stable-2 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant