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 multiple iterations of an artifact in ReleaseVisitor #555

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

barhodes
Copy link
Contributor

@barhodes barhodes commented Oct 9, 2024

Added a check to prevent the same artifact from being iterated through multiple times in the ReleaseVisitor if that artifact is referenced by multiple artifacts.

Copy link

github-actions bot commented Oct 9, 2024

Formatting check succeeded!

Copy link

codecov bot commented Oct 9, 2024

Codecov Report

Attention: Patch coverage is 91.17647% with 9 lines in your changes missing coverage. Please review.

Project coverage is 73.06%. Comparing base (0831d31) to head (813d6c0).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...encds/cqf/fhir/utility/visitor/ReleaseVisitor.java 89.41% 4 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #555   +/-   ##
=========================================
  Coverage     73.05%   73.06%           
  Complexity       19       19           
=========================================
  Files           365      365           
  Lines         19366    19384   +18     
  Branches       2957     2963    +6     
=========================================
+ Hits          14148    14162   +14     
- Misses         3791     3793    +2     
- Partials       1427     1429    +2     

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

taha.attari@smilecdr.com added 2 commits October 9, 2024 15:22
@barhodes barhodes marked this pull request as ready for review October 9, 2024 19:41
Copy link

sonarqubecloud bot commented Oct 9, 2024

Copy link
Collaborator

@sliver007 sliver007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you!

@barhodes barhodes merged commit 6a2cfb0 into master Oct 9, 2024
8 checks passed
@barhodes barhodes deleted the add-duplicate-check-to-release-visitor branch October 9, 2024 19:56
TahaAttari pushed a commit that referenced this pull request Oct 9, 2024
* Add check to release visitor to prevent iterating through the same artifact multiple times

* add short circuit and tests

* spotless

* reduce complexity

---------

Co-authored-by: taha.attari@smilecdr.com <taha.attari@smilecdr.com>
TahaAttari pushed a commit that referenced this pull request Oct 11, 2024
* Add check to release visitor to prevent iterating through the same artifact multiple times

* add short circuit and tests

* spotless

* reduce complexity

---------

Co-authored-by: taha.attari@smilecdr.com <taha.attari@smilecdr.com>
TahaAttari pushed a commit that referenced this pull request Oct 17, 2024
* Add check to release visitor to prevent iterating through the same artifact multiple times

* add short circuit and tests

* spotless

* reduce complexity

---------

Co-authored-by: taha.attari@smilecdr.com <taha.attari@smilecdr.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.

2 participants