Skip to content

[4.1 port] recording and GraphQL Redis fixes from v4.0.x-develop (#26109 #26110 #26111 #26112) - #26143

Merged
TiagoJacobs merged 6 commits into
bigbluebutton:v4.1.x-developfrom
TiagoJacobs:port-26109-26112-recording-graphql-41
Oct 21, 2026
Merged

TiagoJacobs merged 6 commits into
bigbluebutton:v4.1.x-developfrom
TiagoJacobs:port-26109-26112-recording-graphql-41

Conversation

@TiagoJacobs

Copy link
Copy Markdown
Member

Ports #26112, #26111, #26110 and #26109 from v4.0.x-develop to v4.1.x-develop, so the next forward-merge finds the same change on both sides.

The six commits are cherry-picked unchanged (git cherry-pick -x). The only edit is in configuration-files.md: the file is CRLF on 4.0 and LF on 4.1, so the docs commit went in with -X ignore-space-at-eol and its new lines converted to LF.

Admins change recording settings in /etc/bigbluebutton/recording/recording.yml,
which BigBlueButton.read_props merges over the shipped bigbluebutton.yml. The
screenshare, notes and podcast format scripts, the captions util, the process
worker, the caption inbox, the analytics post_events script and the events
archiver loaded bigbluebutton.yml themselves and so ignored the override: a
moved log_dir, recording_dir, events_dir or captions_dir, or
store_recording_status, only applied to the formats that already used
read_props.

Switch them to read_props, and add a test that no script loads
bigbluebutton.yml directly.

(cherry picked from commit cd6d461)
The recording services (rap-starter, the resque worker, the caption inbox)
log only through Journald::Logger, which drops every line without an error
when there is no journal, as in a container.

BigBlueButton.system_logger returns the same Journald::Logger when
JOURNAL_STREAM is set, which systemd does for every unit whose stdout/stderr
goes to the journal (systemd.exec(5)), so package installs keep logging to
journald. Otherwise it returns a StdoutLogger on a synced stdout: a Logger
subclass with the journald-specific methods the recording code calls, tag
(fields appended to the lines inside the block) and exception.
BigBlueButton.logger and rap-caption-inbox.rb use it.

(cherry picked from commit 7e6fc02)
akka-apps, bbb-web and bbb-graphql-middleware can all authenticate to Redis,
but bbb-graphql-actions only took a host and a port: with requirepass set it
never connected and every client mutation failed with 'The client is
offline'.

BBB_REDIS_PASSWORD (optional, empty by default) is added to the connection
URL, URL-encoded so characters such as @, / or # work, and the service unit
reads optional overrides from /etc/bigbluebutton/bbb-graphql-actions.env.

(cherry picked from commit 071f455)
Pass BBB_REDIS_PASSWORD to createClient as the password option instead of
URL-encoding it into the connection URL, so the secret stays out of the URL
string (node-redis merges the explicit option with the parsed URL).

Docs: add /etc/bigbluebutton/bbb-graphql-actions.env to the table of
configuration overrides, and a section on using a password-protected Redis
listing where each service reads the password.

(cherry picked from commit d2ddbf5)
@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 4
  • v3.0.x-release
  • v3.0.x-develop
  • v4.0.x-release
  • v4.0.x-develop

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: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 40f27f83-dae5-4073-928a-69f925d16e8b

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@TiagoJacobs
TiagoJacobs merged commit a27ab15 into bigbluebutton:v4.1.x-develop Oct 21, 2026
33 of 34 checks passed
@antobinary antobinary added this to the Release 4.1 milestone Oct 21, 2026
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.

3 participants