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

[feat] Allow search by term for flag comparisons #350

Merged
merged 3 commits into from
Jan 23, 2024

Conversation

rohitvinnakota-codecov
Copy link
Contributor

@rohitvinnakota-codecov rohitvinnakota-codecov commented Jan 22, 2024

Purpose/Motivation

Related to codecov/engineering-team#823, this PR updates the flags comparison type to accept a filter that allows lookups by flag term. This is required in the front end to allow the search field in the flags selector to apply to the query.

Links to relevant tickets

This closes codecov/engineering-team#1064.

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.

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2e9e7c8) 95.70% compared to head (85a70f1) 95.71%.

Additional details and impacted files
@@           Coverage Diff           @@
##            main    #350     +/-   ##
=======================================
+ Coverage   95.70   95.71   +0.01     
=======================================
  Files        740     740             
  Lines      16716   16720      +4     
=======================================
+ Hits       15998   16002      +4     
  Misses       718     718             
Flag Coverage Δ
unit 96.05% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 96.05% <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.

@codecov-staging
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link

codecov-public-qa bot commented Jan 22, 2024

Codecov Report

Merging #350 (85a70f1) into main (2e9e7c8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #350   +/-   ##
=======================================
  Coverage   96.05%   96.05%           
=======================================
  Files         625      625           
  Lines       16200    16204    +4     
=======================================
+ Hits        15561    15565    +4     
  Misses        639      639           
Flag Coverage Δ
unit 96.05% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 96.05% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
graphql_api/types/comparison/comparison.py 100.00% <100.00%> (ø)

Impacted file tree graph

@codecov-qa
Copy link

codecov-qa bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2e9e7c8) 96.05% compared to head (85a70f1) 96.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #350   +/-   ##
=======================================
  Coverage   96.05%   96.05%           
=======================================
  Files         625      625           
  Lines       16200    16204    +4     
=======================================
+ Hits        15561    15565    +4     
  Misses        639      639           
Flag Coverage Δ
unit 96.05% <100.00%> (+<0.01%) ⬆️
unit-latest-uploader 96.05% <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.

@rohitvinnakota-codecov rohitvinnakota-codecov force-pushed the rvinnakota/update-flagset-filters branch from e8c5bbd to 55c84e0 Compare January 22, 2024 21:32
@rohitvinnakota-codecov rohitvinnakota-codecov changed the title [Draft] Update FlagsSetFilters to filter flags by pull id [feat] Allow search by term for flag comparisons Jan 22, 2024
@rohitvinnakota-codecov rohitvinnakota-codecov marked this pull request as ready for review January 22, 2024 21:47
@rohitvinnakota-codecov rohitvinnakota-codecov merged commit c55a1f4 into main Jan 23, 2024
20 of 21 checks passed
@rohitvinnakota-codecov rohitvinnakota-codecov deleted the rvinnakota/update-flagset-filters branch January 23, 2024 15:49
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.

[API] Update FlagSelectFilters to filter by pull
2 participants