GeezerVison is showing github.com — feat(observability): replay Matrix sync cycle traces (#760) by Storypapst · Pull Request #825 · OpenResilienceInitiative/ORISO-UserService
Conversation
Storypapst
commented
Jul 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
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: 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:
✨ 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
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
|
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.
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.
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.
|