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
commented
Jul 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
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]>
coderabbitai
Bot
commented
Jul 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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:
✨ 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
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jul 27, 2026
This was referenced Jul 28, 2026
|
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jul 28, 2026
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 2, 2026
This was referenced Sep 24, 2026
Reviewers
shazia-k
shazia-k approved these changes
Hassan9215
Awaiting requested review from Hassan9215
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|