zot icon indicating copy to clipboard operation
zot copied to clipboard

Adding a task scheduler for background tasks

Open Andreea-Lupu opened this issue 3 years ago • 1 comments

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Andreea-Lupu avatar Aug 03 '22 17:08 Andreea-Lupu

The general design is that any extension should be able to create a Task (which should be an interface) to the TaskScheduler. The TaskScheduler shouldn't know what the task is, just that it handles it in the background and returns a status or calls a callback.

rchincha avatar Aug 05 '22 22:08 rchincha

Codecov Report

Merging #700 (19410e2) into main (19410e2) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 19410e2 differs from pull request most recent head 65c6248. Consider uploading reports for the commit 65c6248 to get more accurate results

@@           Coverage Diff           @@
##             main     #700   +/-   ##
=======================================
  Coverage   88.42%   88.42%           
=======================================
  Files          66       66           
  Lines       13104    13104           
=======================================
  Hits        11587    11587           
  Misses       1183     1183           
  Partials      334      334           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Sep 14 '22 11:09 codecov[bot]