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 — [Stability] Type identity second-factor boundary by Storypapst · Pull Request #794 · OpenResilienceInitiative/ORISO-UserService

Conversation

@Storypapst

@Storypapst Storypapst commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • introduce a focused, provider-neutral IdentitySecondFactor output port
  • replace generated OTP DTOs and string-key email-verification maps at application boundaries with typed values
  • remove all five second-factor operations from the broad IdentityClient
  • preserve encoded OTP-provider usernames and the decoded username used for the verified email update
  • bound the normal path to one provider request and an initial 401 to one refresh plus one retry
  • expose stable retry tags for OTP fetch/setup/delete and email-verification start/finish
  • document the boundary, call bounds, runtime-proof gap, and Matrix-only target

Verification

  • Java 21 unit suite: 3,870 tests, 0 failures, 0 errors, 0 skipped
  • Java 21 integration/contract/E2E suite with Redis 7: 969 tests, 0 failures, 0 errors, 5 environment-gated MariaDB skips
  • focused second-factor suite: 195 tests, 0 failures, 0 errors, 0 skipped
  • Python CI contracts: 39 tests, all passing
  • zero-quarantine checker: passing
  • Spotless and diff checks: passing

Scope

This PR is stacked on #792 and is modular-monolith boundary work, not a service extraction. Nothing in this PR is merged or deployed yet. Live PreDev/SigNoz proof remains required after the stack reaches PreDev.

The target chat architecture remains Matrix only: the ORISO frontend, a controlled MatrixRTC/Element Call fork, and LiveKit. Rocket.Chat and Jitsi are removal targets, not fallbacks.

Closes #793

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
@Storypapst @claude
refactor(identity): type second-factor boundary (#793)
e72a6c1
Co-Authored-By: Claude Opus 4.8 <[email protected]>
@Storypapst Storypapst self-assigned this Jul 27, 2026
@Storypapst
Storypapst requested review from Hassan9215, shanzaeimran and shazia-k July 27, 2026 09:04
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

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: 4aba30c4-dc8d-42d6-91b2-468a1511bf13

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 refactor/identity-second-factor-793

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
Type and isolate identity second-factor verification #793
Closed
Stabilize UserService non-blocking CI gates #335
Closed
Complete the focused identity role-membership read boundary #795
Closed
[Stability] Complete identity role membership read boundary #796
Closed
[Stability] Type identity second-factor boundary #882
Merged
@Storypapst

Storypapst commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #882, which replays the #793 scope directly onto current pre-dev without importing the stale stacked identity branches. Closing this draft to keep review and CI truth on the direct replacement.

All reactions

Sorry, something went wrong.

Uh oh!

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

@Storypapst Storypapst closed this Jul 28, 2026
@shazia-k shazia-k mentioned this pull request Aug 16, 2026
[Stability] Complete identity role membership read boundary (replay of #796) #1038
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@shazia-k shazia-k Awaiting requested review from shazia-k
@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

@Storypapst Storypapst

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.

1 participant

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