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 — feat(observability): replay Matrix sync cycle traces (#760) by Storypapst · Pull Request #825 · 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

  • starts one userservice.matrix.sync observation around the Matrix long poll and the complete event-processing path
  • records only a bounded low-cardinality result: success, soft_failure, or exception
  • keeps Matrix access tokens, sync cursors, room/user/event identifiers, paths, and URLs out of observation attributes
  • documents the 2026-07-26 SigNoz baseline and the required post-deployment readback

Current-base replay

This branch cleanly merges current pre-dev at 947cd1baa142cc4ac9360a96f4694be5e932c657; that base is contained in the exact PR head. The exact current-base diff remains limited to three files (226 insertions, 5 deletions).

The superseded #761 is stacked on the old conflicting #757 architecture and assumes shared leader/cursor coordination that is not present on current pre-dev. This replay deliberately targets the current one-replica Matrix listener and does not import that stale coordination code. Multi-replica ownership and durable cursor coordination remain a separate follow-up behind the explicit replica ceiling.

The governing communications target is Matrix as the sole chat system, the ORISO-owned frontend, an ORISO-controlled Element Call / MatrixRTC fork, and LiveKit. Rocket.Chat and Jitsi are full removal targets, never fallbacks.

Review

The exact three-file diff was manually reviewed across successful sync, handled transport/provider failure, unexpected processing failure, observation scope, cursor behavior, sensitive attributes, and shutdown/error propagation. No blocking finding remains.

No human review has been submitted. The successful GitHub CodeRabbit status is the configured skip for pre-dev; it is not a completed review.

Exact-head verification

Exact head: 68ce9c53593282a35181454a9965e16d53e706c1

  • focused MatrixEventListenerServiceTest: 86 tests, 0 failures, 0 errors, 0 skips
  • full unit suite: 3,417 tests, 0 failures, 0 errors, 4 existing pre-dev quarantine skips
  • required integration suite: 845 tests, 0 failures, 0 errors, 5 environment-gated skips
  • Python CI guards: 35 passed
  • 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, reviewable, and not merged or deployed. The SigNoz parent/child trace readback remains open until the reviewed change is merged and deployed to PreDev.

Refs #543
Refs #760
Supersedes #761

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
@Storypapst
feat(observability): trace Matrix sync cycles (#760)
922f8b4
@Storypapst
Storypapst requested a review from shazia-k July 27, 2026 17:43
@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: 24f31106-f1c3-45e0-b5be-8897f8156694

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/matrix-sync-observability-760

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.

@Storypapst
Storypapst requested review from Hassan9215 and shanzaeimran July 27, 2026 17:43
This was referenced Jul 27, 2026
Make Matrix sync background traces attributable #760
Closed
feat(observability): trace Matrix sync cycles (#760) #761
Closed
@kiodreambau kiodreambau mentioned this pull request Jul 28, 2026
Stabilize UserService non-blocking CI gates #335
Closed
@Storypapst Storypapst self-assigned this Jul 28, 2026
@Storypapst
Storypapst marked this pull request as ready for review July 28, 2026 05:46
@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
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
test(stability): replay zero-quarantine guard on current pre-dev (#768) #829
Merged
@Storypapst
Merge remote-tracking branch 'origin/pre-dev' into replay/matrix-sync…
68ce9c5
…-observability-760
shazia-k
shazia-k approved these changes Jul 28, 2026
View reviewed changes
@shazia-k
shazia-k merged commit 709e3ef 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/matrix-sync-observability-760 branch July 28, 2026 09:25
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.