Repository navigation
fix(samples): make the sample plugin tests pass on BigBlueButton 4.0 (SDK 1.x) - #298
Merged
GuiLeme merged 5 commits intoOct 2, 2026
Merged
Conversation
Since BigBlueButton 4.0 runs SDK 1.0.0-beta.2, a pre-release only satisfies ranges that name a pre-release of the same version, so the samples' ~0.1.5 range made the server reject every sample at meeting creation. The README examples carried the same stale range.
The client prints plugin logs under pluginLogger(<PluginName>), so waiting for 'PluginLogger' never matched and every test reading a plugin log timed out.
Its manifest capped the console at error, which hid the info log its test reads to check the data channel responses.
Under LiveKit, the 4.0 default bridge, closing the audio modal auto-joins audio muted and the modal has no Microphone/Listen only step. Port the core suite's handling: leave audio after closing the modal, skip the microphone button, and allow MEDIA_BRIDGE=bbb-webrtc-sfu for the legacy bridge.
The client defines the logger name as 'pluginLogger' and appends the plugin name in parentheses when printing, so the bare name is enough to match.
This was referenced Sep 30, 2026
Arthurk12
approved these changes
Oct 2, 2026
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.
What does this PR do?
It makes the nine sample plugin tests on the 1.x line pass against BigBlueButton 4.0. Today all nine fail; the core CI shows only one because the other eight are listed as flaky there. There are four causes, each fixed in its own commit:
1.0.0-beta.2, which does not satisfy~0.1.5, sobbb-apps-akkarefuses every sample (system SDK version [1.0.0-beta.2] does not satisfy plugin requirement [~0.1.5]). The "data-test not found" in CI comes from this: the plugin never loads, the data-test itself exists. The 23 manifests and the README examples now declare^1.0.0-beta.2.'PluginLogger', but the client printspluginLogger(<PluginName>). The name now lives inPLUGIN_LOGGER_NAME; a follow-up commit sets it to the barepluginLoggerthe client defines.error; it is nowinfo.MEDIA_BRIDGE=bbb-webrtc-sfufor the legacy bridge.Validation
a3a4d6989a, Chromium only.--retries=0and no flaky exclusions in two runs at this head (one withCI=true), and in three earlier runs before the commit that drops the parenthesis from the log-name matcher. Lint andtscare clean.Known limitation
The core CI tests the SDK tag pinned in
bigbluebutton-html5/package-lock.json(v1.0.0-beta.2), so these fixes reach it only after an SDK release and a core bump ofbigbluebutton-html-plugin-sdkandhtml5PluginSdkVersion. The companion core change must land with or after that bump. The legacy bridge path (MEDIA_BRIDGE=bbb-webrtc-sfu) was not run.