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: Report filtering by path pattern string (#internal_148) #303

Merged
merged 4 commits into from
Dec 13, 2023

Conversation

JerrySentry
Copy link
Contributor

Purpose/Motivation

Fix the regex pattern matching for path filtering for Reports. * pattern will consume the previous pattern 0 or more times, in this case {path}.* means prefix matching. Before, {path}* will unintentionally consume the previous character of the path string.

Links to relevant tickets

https://github.com/codecov/internal-issues/issues/148

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@codecov-qa
Copy link

codecov-qa bot commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (566c312) 95.66% compared to head (e6eac75) 95.66%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #303   +/-   ##
=======================================
  Coverage   95.66%   95.66%           
=======================================
  Files         612      612           
  Lines       15820    15820           
=======================================
  Hits        15134    15134           
  Misses        686      686           
Flag Coverage Δ
unit 95.66% <100.00%> (ø)
unit-latest-uploader 95.66% <100.00%> (ø)

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.

Copy link

codecov-public-qa bot commented Dec 12, 2023

Codecov Report

Merging #303 (e6eac75) into main (566c312) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #303   +/-   ##
=======================================
  Coverage   95.66%   95.66%           
=======================================
  Files         612      612           
  Lines       15820    15820           
=======================================
  Hits        15134    15134           
  Misses        686      686           
Flag Coverage Δ
unit 95.66% <100.00%> (ø)
unit-latest-uploader 95.66% <100.00%> (ø)

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

Files Coverage Δ
api/public/v2/report/views.py 98.54% <100.00%> (ø)

Impacted file tree graph

@JerrySentry JerrySentry merged commit 92a1434 into main Dec 13, 2023
14 checks passed
@JerrySentry JerrySentry deleted the api_i148 branch December 13, 2023 21:41
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.

None yet

2 participants