GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — US-M31 add graceful shutdown handling by radaljj · Pull Request #135 · OpenResilienceInitiative/ORISO-UserService

Conversation

@radaljj

@radaljj radaljj commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements the UserService application-side part of US-M31.

  • Enabled Spring graceful shutdown:
    • server.shutdown=graceful
    • spring.lifecycle.timeout-per-shutdown-phase=30s
  • Updated the async taskExecutor to wait for active/queued tasks during shutdown:
    • setWaitForTasksToCompleteOnShutdown(true)
    • setAwaitTerminationSeconds(25)
  • Added test coverage for:
    • graceful shutdown properties being present in application.properties
    • executor shutdown waiting for an active task before returning

No API changes and no database changes.

Testing

  • mvn -Dtest=UserServiceApplicationTest -Dspotless.check.skip=true test
    • Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
  • mvn -DskipTests spotless:check
    • BUILD SUCCESS
  • mvn -DskipTests -Dspotless.check.skip=true compile
    • BUILD SUCCESS
  • git diff --check
    • passed

Note

This covers the local/application-side behavior. A real rolling-deploy E2E still needs Kubernetes because the issue is specifically about pod termination during rollout.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@radaljj
US-M31 add graceful shutdown handling
fb92ee1
@radaljj
radaljj requested a review from shazia-k June 17, 2026 21:38
@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: aaca0439-b814-48e9-a8aa-dc4fa707609c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/us-m31-graceful-shutdown

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@radaljj radaljj mentioned this pull request Jun 17, 2026
US-M31 add UserService graceful shutdown lifecycle OpenResilienceInitiative/ORISO-Kubernetes#76
Merged
shazia-k
shazia-k approved these changes Jun 19, 2026
View reviewed changes
@radaljj
radaljj merged commit d805222 into dev Jun 19, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@radaljj
radaljj deleted the fix/us-m31-graceful-shutdown branch June 19, 2026 08:16
@Storypapst Storypapst mentioned this pull request Jul 22, 2026
US-M31 add graceful shutdown handling #710
Closed
@Storypapst Storypapst mentioned this pull request Sep 14, 2026
DpaForwardEmailService and GlobalSmtpTestEmailService onto the e-mail design system #946
Closed
7 tasks
This was referenced Nov 1, 2026
Branding e-mails: always show the Träger name next to the logo, also on phones (OBP 2.1 #135) #1530
Closed
fix(email): keep the Träger name visible next to wide logos on phones (OBP 2.1 #135) #1531
Merged
shazia-k added a commit that referenced this pull request Nov 2, 2026
@shazia-k
Merge pull request #1531 from OpenResilienceInitiative/claude/obp-dev…
874d422
…-blockers-ync2mf-email-wordmark

fix(email): keep the Träger name visible next to wide logos on phones (OBP 2.1 #135)
@Hassan9215 Hassan9215 mentioned this pull request Nov 5, 2026
Release UserService v2.0.15 #1602
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@shazia-k shazia-k shazia-k approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@radaljj @shazia-k
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.