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 — refactor(identity): replay provider-neutral magic-link sessions (#770) by Storypapst · Pull Request #831 · 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

What changed

  • moves Keycloak password-grant and token-exchange details out of
    MagicLinkLoginService into a focused IdentitySessionExchange adapter
  • returns the provider-neutral application model
    api.model.identity.IdentitySession rather than a Keycloak response DTO or
    an outbound-port-owned model
  • preserves the public seven-field snake-case magic-link response through a
    web-owned DTO
  • restores the one-time token on empty or exceptional identity exchange
    failures
  • adds executable boundary contracts preventing the service and both web entry
    points from importing Keycloak transports, and preventing the public web
    response from depending on outbound-port packages

Current-baseline reconciliation

This PR is refreshed on current pre-dev
947cd1baa142cc4ac9360a96f4694be5e932c657. It retains the already merged
Matrix-only runtime removal, outbound telemetry, seeded replica load, bounded
Agency fallback, and replica-safety contracts.

The refresh had two semantic conflicts:

  • MagicLinkLoginServiceTest now retains the authenticated SMTP-source
    regression from pre-dev together with the provider-neutral identity-session
    tests.
  • documentation/USER_SERVICE_STABILITY.md now describes Rocket.Chat as
    removed from production source rather than merely disabled, while preserving
    the new identity boundary and the merged load/telemetry evidence.

No Rocket.Chat or Jitsi adapter, dependency, configuration, or fallback is
introduced. The target remains Matrix chat, the ORISO frontend, the
ORISO-controlled Element Call/MatrixRTC fork, and LiveKit only.

Verification on exact head

  • head: f3d4a39071d883221d1f4b9779e000711c1193b8
  • merged base: 947cd1baa142cc4ac9360a96f4694be5e932c657
  • focused Magic-Link/Keycloak/web tests: green
  • Python module-boundary contracts: 8 passed
  • full clean package/unit suite: 3,417 tests, 0 failures/errors, 4 existing
    email-supplier quarantine skips removed separately by test(stability): replay zero-quarantine guard on current pre-dev (#768) #829
  • full integration suite: 846 tests, 0 failures/errors, 5 environment-gated
    skips
  • full Python CI contracts on this branch: 37 passed
  • Spotless and git diff --check: passed
  • GitHub CI: all 12 checks terminal green, including both complete integration
    jobs, both MariaDB contracts, Redis, OpenAPI, branch and PR builds, Docker
    validation, API diff, and Required PreDev CI

GitHub's CodeRabbit status is the configured skip for this base branch, not a
completed human review. The corrected dependency direction and current merge
resolution were reviewed manually and are covered by executable boundaries.

Delivery state

This is a modular-monolith boundary improvement, not a microservice extraction.
PR #831 is open, not merged, not deployed, and not runtime proof. Follow-up
#833 remains ordered after this deeper session boundary.

Supersedes #771.
Closes #770.
Refs #750, #335, #734.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
Storypapst and others added 2 commits July 27, 2026 21:11
@Storypapst @claude
refactor: isolate magic-link identity sessions
da8a0df
Co-Authored-By: Claude Opus 4.8 <[email protected]>
@Storypapst
refactor(identity): align magic-link session with shared identity mod…
4d71752
…el (#770)
@Storypapst
Storypapst requested review from Hassan9215, shanzaeimran and shazia-k July 27, 2026 19:16
@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: 0fdc7e18-db8e-454a-a0ed-e249d0c02605

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/magic-link-identity-session-770

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
Decouple magic-link sessions from Keycloak transport #770
Closed
[Stability] Isolate magic-link identity sessions #771
Closed
refactor(identity): replay username availability input boundary (#775) #833
Merged
@kiodreambau kiodreambau mentioned this pull request Jul 28, 2026
Stabilize UserService non-blocking CI gates #335
Closed
@Storypapst
refactor(identity): keep session model out of outbound port (#770)
be71efb
@Storypapst
Storypapst marked this pull request as ready for review July 28, 2026 04:00
@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.

@Storypapst

Storypapst commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

Published for review at exact head be71efb9414924841c80987007b13c22d4b16a99.

Independent review found that the first replay let the public web DTO depend on an outbound-port model. The corrected head moves the provider-neutral IdentitySession into api.model.identity and adds an executable guard against that dependency direction.

Evidence on the corrected head:

  • 194 focused Java tests passed with zero failures, errors or skips
  • 7 module-boundary contracts passed
  • Spotless and diff checks passed
  • all 12 GitHub checks are terminal green
  • the PR is cleanly mergeable against current pre-dev

Ordered follow-up #833 was also proven in a disposable exact-head combination: after retaining both sets of additive test imports/contracts, 345 focused Java tests and 8 module-boundary tests passed. #833 stays draft until this PR lands and is then replayed onto the resulting pre-dev.

This is source/CI readiness only. It is not merged, deployed or PreDev runtime proof.

All reactions

Sorry, something went wrong.

Uh oh!

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

This was referenced Jul 28, 2026
[Stability] Route user identity policy through input port #778
Closed
Route user web identity policy through an input port #777
Closed
@Storypapst Storypapst self-assigned this Jul 28, 2026
This was referenced Jul 28, 2026
perf(agency): replay bounded outage fallback calls (#785) #832
Merged
Bound consultant agency fallback after an AgencyService batch failure #785
Closed
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
This was referenced Jul 28, 2026
Prove Matrix group-chat deactivation serialization #851
Closed
test(stability): replay zero-quarantine guard on current pre-dev (#768) #829
Merged
@Storypapst
Merge remote-tracking branch 'origin/pre-dev' into replay/magic-link-…
f3d4a39
…identity-session-770

# Conflicts:
#	documentation/USER_SERVICE_STABILITY.md
#	src/test/java/de/caritas/cob/userservice/api/service/auth/MagicLinkLoginServiceTest.java
shazia-k
shazia-k approved these changes Jul 28, 2026
View reviewed changes
@shazia-k
shazia-k merged commit a2515f3 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/magic-link-identity-session-770 branch July 28, 2026 09:15
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

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

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.