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: 'keep' status for tasks, summary in queue dump #388

Merged
merged 3 commits into from
May 25, 2022

Conversation

diafour
Copy link
Contributor

@diafour diafour commented Apr 26, 2022

Overview

Changes to support 'multiphase tasks' in addon-operator:

  • 'keep' status for tasks
  • new method to cancel task delay

Also:

  • bootstrap refactoring
  • summary in queue dump

What this PR does / why we need it

This is a supporting PR for flant/addon-operator#315.

Special notes for your reviewer

Does this PR introduce a user-facing change?


- new method to cancel task delay.
- refactor: move dependencies initialization from operator.go to separate files.
@diafour diafour force-pushed the new_keep_status_for_tasks branch from 6ef7592 to e0c992d Compare May 16, 2022 20:31
@diafour diafour requested a review from yalosev May 17, 2022 06:47
@diafour diafour merged commit 8c04818 into main May 25, 2022
diafour added a commit that referenced this pull request May 30, 2022
diafour added a commit to deckhouse/deckhouse that referenced this pull request May 30, 2022
Bring fix from shell-operator to restore
separate metrics storage for hooks.
- flant/shell-operator#388
- flant/addon-operator#323

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
nabokihms pushed a commit to deckhouse/deckhouse that referenced this pull request May 31, 2022
Bring fix from shell-operator to restore
separate metrics storage for hooks.
- flant/shell-operator#388
- flant/addon-operator#323

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
diafour added a commit that referenced this pull request Jun 15, 2022
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
diafour added a commit that referenced this pull request Jun 20, 2022
* fix: restore exponential backoff after #388
* test: exponential delaying
* test: CancelTaskDelay

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
@diafour diafour added this to the 1.0.11 milestone Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants