Repository navigation
Reload recording overrides per read so bbb-playback-video metadata links use current playback host/protocol - #25042
Draft
antobinary with Copilot wants to merge 5 commits into
Draft
antobinary with Copilot wants to merge 5 commits into
antobinary with Copilot wants to merge 5 commits into
Conversation
…props Agent-Logs-Url: https://github.com/bigbluebutton/bigbluebutton/sessions/12e06a68-a2e0-4547-9e5d-a0b8ecbfb29a Co-authored-by: antobinary <[email protected]>
Copilot
AI
changed the title
[WIP] Investigate and propose solution for playback configuration issue
Reload recording overrides per read so bbb-playback-video metadata links use current playback host/protocol
May 7, 2026
|
antobinary
added a commit
to antobinary/bigbluebutton
that referenced
this pull request
Jul 23, 2026
read_props cached its result in a module ivar, so long-lived processes like the resque workers kept serving stale config: editing /etc/bigbluebutton/recording/recording.yml had no effect until the worker was restarted. Drop the cache and re-read both files per call, switch to YAML.safe_load, tolerate an empty override file (previously a TypeError on merge(nil)), and take the override path as a parameter so the behavior is testable. Add a minitest covering merge precedence, per-call reload, and the empty/missing override cases. Reworked from bigbluebutton#25042 (which targeted v3.0.x-develop). Fixes bigbluebutton#21125 Co-Authored-By: Claude Fable 5 <[email protected]>
1 task done
1 task
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



bbb-playback-videometadata generation could emit links using stale/default playback URL settings, even whenplayback_hostandplayback_protocolwere overridden in/etc/bigbluebutton/recording/recording.yml. This caused published recording links (notably from Greenlight) to point to the wrong domain/protocol.Config loading behavior
BigBlueButton.read_propsto reload config on each call instead of returning cached values.recording.ymloverbigbluebutton.yml), so playback URL fields reflect current runtime overrides.Safer YAML parsing
YAML.load(File.open(...))withYAML.safe_load(File.read(...))for both base and override files.Focused regression coverage
read_propscalls pick up updated override values (e.g., changedplayback_host) rather than reusing stale in-memory props.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
dl.google.com/usr/lib/apt/methods/https /usr/lib/apt/methods/https -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.7 -fPIC(dns block)If you need me to access, download, or install something from one of these locations, you can either: