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

fix: update user file search #390

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

thomasrockhu-codecov
Copy link
Contributor

@thomasrockhu-codecov thomasrockhu-codecov commented Feb 27, 2024

fixes codecov/feedback#84

This PR does 3 things

  1. Rename project_root to search_root to make it more maintainable and understandable
  2. Remove the restriction on certain folders when searching for a user-given string. Unknown: how this may affect performance for large repositories. Would love insight here, but it shouldn't degrade that poorly. It's all os.walk
  3. Compare the user resolved paths to resolved found paths. This is an apples to apples match which would fail beforehand if the user didn't give full pathing (vs relative to root)

Copy link

codecov bot commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.02%. Comparing base (618a641) to head (8751e57).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #390   +/-   ##
=======================================
  Coverage   96.02%   96.02%           
=======================================
  Files          81       81           
  Lines        2816     2817    +1     
=======================================
+ Hits         2704     2705    +1     
  Misses        112      112           
Flag Coverage Δ
python3.10 96.31% <100.00%> (+<0.01%) ⬆️
python3.11 96.30% <100.00%> (+<0.01%) ⬆️
python3.8 96.27% <100.00%> (+<0.01%) ⬆️
python3.9 96.27% <100.00%> (+<0.01%) ⬆️
smart-labels 96.01% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thomasrockhu-codecov thomasrockhu-codecov merged commit c590584 into main Feb 27, 2024
18 checks passed
@thomasrockhu-codecov thomasrockhu-codecov deleted the th/fix-user-file-search branch February 27, 2024 17:26
webknjaz referenced this pull request in aio-libs/multidict Feb 28, 2024
The `codecov/codecov-action@v4` release of the official
GitHub Action for uploading coverage data to the
Codecov service turned out to be poorly tested alpha
quality software.
It has numerous bugs preventing it from successfully
sending the code coverage information over. So we
must postpone starting to use it until it's stable.

These patch downgrades it to v3 that remains functional
for the time being.

PR #941

Co-authored-by: Sviatoslav Sydorenko <sviat@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

codecov-action doesn't upload the report from windows jobs with Cygwin
2 participants