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

Remove engine.Unit from Assigner engine and Fetcher engine #6808

Conversation

tim-barry
Copy link
Contributor

@tim-barry tim-barry commented Dec 12, 2024

Part of #6807 for VN Assigner engine and VN Fetcher engine.

In both cases, the engine.Unit was only used for its context. In similar situations, other code uses a context.Background() instead.

Not completely replacing ReadyDoneAware interface with Component yet, due to them still wrapping more complex engines that still use engine.Unit and ReadyDoneAware.

The engine.Unit was only used for its context. In similar situations, other code
uses a context.Background() instead.
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 41.24%. Comparing base (656cbd5) to head (4f1906e).

Files with missing lines Patch % Lines
engine/verification/fetcher/engine.go 50.00% 2 Missing ⚠️
Additional details and impacted files
@@                       Coverage Diff                       @@
##           feature/pusher-engine-refactor    #6808   +/-   ##
===============================================================
  Coverage                           41.23%   41.24%           
===============================================================
  Files                                2062     2062           
  Lines                              182738   182730    -8     
===============================================================
+ Hits                                75360    75364    +4     
+ Misses                             101060   101053    -7     
+ Partials                             6318     6313    -5     
Flag Coverage Δ
unittests 41.24% <66.66%> (+<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.

@tim-barry tim-barry marked this pull request as ready for review December 13, 2024 17:38
@tim-barry tim-barry merged commit 2e6fc67 into feature/pusher-engine-refactor Dec 16, 2024
55 checks passed
@tim-barry tim-barry deleted the tim/6807-verification-engines-remove-Unit branch December 16, 2024 18: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.

4 participants