Skip to content

fix(recording): Fix events archiving on servers with blocknote - #25054

Merged
antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
kepstin:events-pad-hang
May 11, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
kepstin:events-pad-hang

Conversation

@kepstin

@kepstin kepstin commented May 11, 2026

Copy link
Copy Markdown
Contributor

The main archive script was updated to handle blocknote, but the separate events archiving script for the defaultKeepEvents=true configuration was not updated.

The script was therefore trying to pull the etherpad events from blocknote notes, which triggered a separate bug in bbb-pad where it did not return a response to the http connection, leading to a 2 minute hang, which backed up the recording queue.

The simple fix is to skip pulling the etherpad events if the notes implementation is not etherpad.

The main archive script was updated to handle blocknote, but the
separate events archiving script for the `defaultKeepEvents=true`
configuration was not updated.

The script was therefore trying to pull the etherpad events from
blocknote notes, which triggered a separate bug in bbb-pad where it did
not return a response to the http connection, leading to a 2 minute
hang, which backed up the recording queue.

The simple fix is to skip pulling the etherpad events if the notes
implementation is not etherpad.
@kepstin
kepstin requested a review from antobinary May 11, 2026 15:17
@coderabbitai

coderabbitai Bot commented May 11, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

The pull request modifies the store_etherpad_events method to validate the notes editor type before downloading etherpad notes. After parsing events.xml and extracting notes_id, the method now reads the notes_editor field and only proceeds with etherpad event storage when notes_editor equals 'etherpad'. If notes_id is missing or blank, it logs a warning and returns early. If the notes_editor type does not match etherpad, it logs a debug message and returns without processing.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description clearly explains the problem context, the underlying issues, and the solution, all of which directly relate to the changeset that skips etherpad event pulling for non-etherpad notes implementations.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title 'fix(recording): Fix events archiving on servers with blocknote' directly addresses the main change: preventing events archiving failures on servers using blocknote instead of etherpad.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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 and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@antobinary antobinary changed the title Fix events archiving on servers with blocknote fix(recording): Fix events archiving on servers with blocknote May 11, 2026
@antobinary antobinary added this to the Release 3.0 milestone May 11, 2026
@github-actions

Copy link
Copy Markdown

🚨 Automated tests failed

@antobinary
antobinary merged commit f552270 into bigbluebutton:v3.0.x-develop May 11, 2026
33 of 34 checks passed
@kepstin
kepstin deleted the events-pad-hang branch May 12, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants