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 — fix(observability): replay bounded OTP admin-session retry metric (#766) by Storypapst · Pull Request #828 · OpenResilienceInitiative/ORISO-UserService

Conversation

@Storypapst

@Storypapst Storypapst commented Jul 27, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Collaborator

Summary

  • records userservice.outbound.retries with bounded dependency=keycloak and operation=admin-session-refresh
  • increments only when the first OTP-provider request returns HTTP 401 and the existing single retry is triggered
  • keeps successful requests and non-401 failures uncounted
  • keeps a repeated 401 propagated after exactly one retry

Current-base replay

The branch cleanly contains current pre-dev at 947cd1baa142cc4ac9360a96f4694be5e932c657. The exact current-base diff remains two files and 15 added lines; no conflict resolution or unrelated source was introduced.

Architecture boundary

The sole chat system is Matrix through the ORISO-owned frontend. Calls use an ORISO-controlled Element Call / MatrixRTC fork and LiveKit. This metric adds no Rocket.Chat or Jitsi dependency, configuration, identifier, or fallback.

Exact-head verification

Exact head: e2548f89579cf9ee7c6707c5588aa132d8531129

  • focused KeycloakServiceTest: 97 tests, 0 failures/errors/skips
  • full unit suite: 3,414 tests, 0 failures, 0 errors, 4 existing pre-dev quarantine skips
  • full integration suite: 845 tests, 0 failures, 0 errors, 5 environment-gated skips
  • complete Python CI guards: 35 passed
  • manual two-file review confirmed that only the existing first-401 retry path increments the bounded metric and no credential, user or response value is tagged
  • Spotless, working-tree and diff checks passed
  • all 12 exact-head GitHub checks are terminal green, including branch/PR builds, Docker validation, both required-integration jobs, both MariaDB contracts, Redis, OpenAPI, API diff, and Required PreDev CI
  • no database reset was needed

Deployment boundary

This PR contains source, local, and exact-head CI verification. It is open, not merged or deployed; deployed SigNoz readback remains a separate acceptance gate.

Refs #543
Refs #766
Supersedes #767

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
@Storypapst @claude
fix(observability): measure OTP admin-session retries
bf7a090
Record the existing bounded Keycloak admin-session refresh retry so PreDev dependency retries are visible in userservice.outbound.retries. Keep success, non-401, and one-retry behavior covered without changing the retry policy.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@Storypapst
Storypapst requested review from Hassan9215, shanzaeimran and shazia-k July 27, 2026 18:24
@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •
edited
Loading

Uh oh!

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

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: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ac497566-d936-4c8c-913d-93a93ca4e4ff

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
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch replay/otp-retry-metric-766

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.

All reactions

Sorry, something went wrong.

Uh oh!

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

This was referenced Jul 27, 2026
[Stability] Measure OTP admin-session retries #767
Closed
[Stability] Measure OTP provider admin-session retries #766
Closed
@kiodreambau kiodreambau mentioned this pull request Jul 28, 2026
Stabilize UserService non-blocking CI gates #335
Closed
This was referenced Jul 28, 2026
Audit the stale outbound transport metrics branch before implementing #857 #861
Closed
test(stability): replay zero-quarantine guard on current pre-dev (#768) #829
Merged
@Storypapst
Storypapst marked this pull request as ready for review July 28, 2026 03:37
@Storypapst

Storypapst commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

Published verification: exact head bf7a0909 remains mergeable and terminal green across all 12 GitHub checks. A fresh Java 21 rerun of KeycloakServiceTest passed 97/97 with zero failures, errors or skips. Exact merge-tree checks are clean with #829, #834, #854 and #862. This publishes the PR for review only; no merge, deployment or database reset was performed.

All reactions

Sorry, something went wrong.

Uh oh!

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

@cursor

cursor Bot commented Jul 28, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

All reactions

Sorry, something went wrong.

Uh oh!

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

This was referenced Jul 28, 2026
feat(observability): bound Keycloak transport and redact traces (#857) #862
Merged
Measure and bound the Keycloak admin transport #857
Closed
perf(admin): replay tenant-safe consultant agency read collapse (#764) #827
Merged
[Stability] Remove duplicate agency reads from consultant assignment #764
Closed
test(load): replay measured two-replica mixed reads (#743) #834
Merged
fix(replica): replay atomic tutorial writes on current pre-dev (#773) #830
Merged
Measure and bound asynchronous LiveService delivery #854
Merged
feat(observability): replay Matrix sync cycle traces (#760) #825
Merged
Make Matrix sync background traces attributable #760
Closed
fix(notification): replay group-chat reminder idempotency (#845) #846
Merged
Prove group-chat reminder idempotency across replicas #845
Closed
fix(notification): serialize inactive email dispatch (#847) #848
Merged
Serialize inactive-account notification dispatch across replicas #847
Closed
test(appointment): prove cleanup idempotency (#849) #850
Merged
Prove appointment cleanup idempotency on MariaDB #849
Closed
test(group-chat): prove Matrix deactivation serialization #852
Merged
Prove Matrix group-chat deactivation serialization #851
Closed
@Storypapst
Merge remote-tracking branch 'origin/pre-dev' into replay/otp-retry-m…
e2548f8
…etric-766
shazia-k
shazia-k approved these changes Jul 28, 2026
View reviewed changes
@shazia-k
shazia-k merged commit 9483bd1 into pre-dev Jul 28, 2026
12 checks passed

Uh oh!

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

@shazia-k
shazia-k deleted the replay/otp-retry-metric-766 branch July 28, 2026 09:24
This was referenced Aug 2, 2026
MagicLinkLoginService: replace the hand-written HTML with the e-mail design system #944
Closed
SupervisorAddedEmailNotificationService: replace the hand-written HTML with the e-mail design system #945
Closed
DpaForwardEmailService and GlobalSmtpTestEmailService onto the e-mail design system #946
Closed
This was referenced Sep 24, 2026
Mails of a Träger with its own mail server still leave from the platform address #1251
Closed
Platform mail server is configured in two places (Admin and deployment) #1253
Closed
Use Admin-managed SMTP for password reset and sign-in links #1274
Closed
Make platform SMTP test use Admin Settings #1280
Closed
Show Admin-managed platform SMTP safely in Admin #1284
Closed
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
@Hassan9215 Hassan9215 Awaiting requested review from Hassan9215
@shanzaeimran shanzaeimran Awaiting requested review from shanzaeimran

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

@Storypapst @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.