Skip to content

[stable-4.0] More graceful shutdown fixes#2692

Merged
rhafer merged 10 commits intoopencloud-eu:stable-4.0from
rhafer:backport-2690
Apr 28, 2026
Merged

[stable-4.0] More graceful shutdown fixes#2692
rhafer merged 10 commits intoopencloud-eu:stable-4.0from
rhafer:backport-2690

Conversation

@rhafer
Copy link
Copy Markdown
Member

@rhafer rhafer commented Apr 28, 2026

This backports #2690 for stable-4.0

rhafer and others added 10 commits April 28, 2026 16:22
This reverts commit 4af5add.
Previously the Supervisor was shutdonw as soon as the main context was
canceled. Which cause the managed services to fail during shutdown (in
"trapShutdownCtx()") as the Supervisor was gone already.

We now pass a separate Context to Supervisor.ServeBackground() to avoid
this.

Fixes: opencloud-eu#2282
(cherry picked from commit 7a14978)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
(cherry picked from commit 2d1cc3f)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
(cherry picked from commit 9135eab)
@rhafer rhafer self-assigned this Apr 28, 2026
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
50.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@rhafer rhafer merged commit df4bc7c into opencloud-eu:stable-4.0 Apr 28, 2026
61 of 62 checks passed
@openclouders openclouders mentioned this pull request Apr 28, 2026
1 task
@ScharfViktor ScharfViktor mentioned this pull request Apr 29, 2026
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants