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 — test(group-chat): prove Matrix deactivation serialization by Storypapst · Pull Request #852 · 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

  • require the real-MariaDB replica contract for Matrix group-chat deactivation
  • prove two scheduler instances open overlapping database transactions and serialize on the existing pessimistic row lock
  • scope setup and cleanup to the proof Matrix room so the contract cannot delete unrelated shared-database rows
  • document the delivery boundary: one purge during healthy concurrent execution, not crash-safe exactly-once delivery

Architecture context

This is part of the complete Rocket.Chat and Jitsi removal target:

  • Matrix is the sole chat system
  • ORISO uses its own frontend
  • calls use an ORISO-controlled Element Call / MatrixRTC fork
  • LiveKit provides the media layer
  • Rocket.Chat and Jitsi are removal targets, never fallbacks

This change covers only the UserService Matrix group-chat deactivation scheduler. It supersedes the historical Rocket.Chat-oriented scheduler replay from commit 13d12f18 and introduces no Rocket.Chat or Jitsi dependency.

Delivery boundary

The MariaDB row lock proves serialization while both replicas and their transactions are healthy. It does not make the external Matrix purge crash-safe exactly once: a stop after Matrix accepts the purge but before the database transaction commits can replay that purge. Closing that window requires an idempotent Matrix operation plus a durable transition or outbox.

Stack

This PR is stacked on #850 at exact base 56f6b31bd041a9be8657440dc096f76ac8d80f25; review the #852 top changes at exact head 195caa09071eedf064be9ce6fe697368c6170cc4.

Verification

  • 3,373 unit/package tests: 0 failures, 0 errors, 4 skipped
  • 842 integration tests across 80 reports: 0 failures, 0 errors, 5 skipped
  • 4 disposable-MariaDB 10.11 contract tests with all 101 Liquibase changesets: 4 passed
  • required CI contract: 7 passed
  • package build, Spotless, and diff check passed
  • temporary MariaDB removed; shared Redis healthy; persistent local database untouched

Open-PR compatibility

Synthetic merges are clean with #823, #825, #827, #828, #829, #831, #832, #834, #846, #848, #854, #856, and #862.

#830 has one mechanical conflict in .github/workflows/mariadb-contract.yml because both branches extend the same required-test list. Merge #830 first, then replay #850/#852 and retain both TutorialProgressServiceMariaDbReplicaIT and OrganizerMariaDbReplicaIT plus DeactivateGroupChatSchedulerMariaDbReplicaIT.

Release status

This evidence applies to the exact source head and local/CI verification only. The PR is not merged, not deployed to pre-dev, and not runtime-proven there.

Closes #851
Refs #543
Refs #757

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
@Storypapst @claude
test(group-chat): prove Matrix deactivation serialization (#851)
6ac5b84
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 22:21
@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: d0e72e8c-5b9c-41ce-90a1-abb555771e75

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/group-chat-deactivation-serialization-851

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
Make UserService replica safety and residual state coupling measurable #543
Open
feat(stability): make UserService replica safety measurable (#543) #757
Closed
test(appointment): prove cleanup idempotency (#849) #850
Merged
Prove appointment cleanup idempotency on MariaDB #849
Closed
Storypapst and others added 2 commits July 28, 2026 08:42
@Storypapst
Merge remote-tracking branch 'origin/replay/appointment-cleanup-idemp…
ede3e6e
…otency-849' into replay/group-chat-deactivation-serialization-851
@Storypapst @claude
test(group-chat): isolate Matrix replica proof (#851)
195caa0
Co-Authored-By: Claude Opus 4.8 <[email protected]>
@Storypapst Storypapst mentioned this pull request Jul 28, 2026
Prove Matrix group-chat deactivation serialization #851
Closed
@Storypapst
Storypapst marked this pull request as ready for review July 28, 2026 06:55
@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.

Base automatically changed from replay/appointment-cleanup-idempotency-849 to pre-dev July 28, 2026 06:58
@Storypapst Storypapst mentioned this pull request Jul 28, 2026
test(stability): replay zero-quarantine guard on current pre-dev (#768) #829
Merged
shazia-k
shazia-k approved these changes Jul 28, 2026
View reviewed changes
@shazia-k
shazia-k merged commit b09a9cb 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/group-chat-deactivation-serialization-851 branch July 28, 2026 07:42
@Storypapst Storypapst mentioned this pull request Jul 29, 2026
Make scheduled group-chat deactivation cluster-safe #379
Closed
6 tasks
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.