Skip to content

ci: run every SDK sample test on 4.0 and stop skipping the ones that now pass - #25902

Merged
antobinary merged 4 commits into
bigbluebutton:v4.0.x-developfrom
GuiLeme:claudio-fix-sdk-sample-tests-40
Oct 6, 2026
Merged

antobinary merged 4 commits into
bigbluebutton:v4.0.x-developfrom
GuiLeme:claudio-fix-sdk-sample-tests-40

Conversation

@GuiLeme

@GuiLeme GuiLeme commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

The install-and-run-plugin-tests job on v4.0.x-develop builds the plugin SDK samples and runs their Playwright tests. It is red, and it tests less than it seems. This PR fixes the core side:

  1. Build the sample that has tests. SAMPLES_WITH_TESTS names sample-action-button-dropdown-plugin, which the SDK renamed to sample-media-area-plugin, so the media area test never gets its plugin and skips itself. The list now names the new sample.
  2. Stop skipping tests that were never flaky. The eight entries in sdk-flaky-tests.txt (all added in ref(plugin): refactor the code of plugin logger to be more robust #24185) failed every time. The companion SDK change fixes them, so the list is emptied.

The failure CI shows today (actionsBarButtonSelectorIcon not found) is not a missing data-test: the samples declare requiredSdkVersion: "~0.1.5", which the 1.0.0-beta.2 core rejects, and the companion SDK change fixes that.

Validation

  • Against BigBlueButton 4.0 built from source at a3a4d6989a, with the SDK samples from the companion SDK branch, Chromium only.
  • The job's install/build loops and flaky step were run locally: all six samples built, the flaky step exits 0 with an empty SDK_FLAKY_TESTS, and the workflow still parses as YAML.
  • 9 of 9 passed with --retries=0 and no exclusions in two runs at the current SDK head, and in three earlier runs before its last commit.

Known limitation

CI stays red until an SDK release includes the fixes and the core bumps bigbluebutton-html-plugin-sdk and html5PluginSdkVersion to it. Merged alone, the flaky cleanup turns 1 failure into 9, so this PR lands with or after that bump. docs/docs/plugins.md still points at the deleted sample and is unchanged here.

The SDK renamed sample-action-button-dropdown-plugin to
sample-media-area-plugin, so CI logged 'Sample not found' for the old name and
never built the new one, whose test was then skipped on a 404 manifest.
These eight tests were marked flaky, but they failed deterministically: the
tests waited for a log name the client does not print, a sample hid its own
log, and the audio test predated the LiveKit join. With the SDK fixes all nine
sample tests pass on 4.0, so skipping them only hides regressions.
@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: beb420d0-c723-4667-9574-a5c8930d377d
📥 Commits

Reviewing files that changed from the base of the PR and between d43ef3a and 5c98a2a.

⛔ Files ignored due to path filters (1)
  • bigbluebutton-html5/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • bigbluebutton-html5/package.json
  • bigbluebutton-web/grails-app/conf/bigbluebutton.properties

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.


Walkthrough

The HTML5 plugin SDK dependency and configured SDK version change from 1.0.0-beta.2 to 1.0.0-beta.3. The plugin-test job replaces sample-action-button-dropdown-plugin with sample-media-area-plugin. The Playwright SDK flaky-test skip list removes eight test entries.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: arthurk12

Merge Risk: ⚪ Minimal · up to 5c98a

The SDK version and test selections are consistent, and the required beta.3 artifacts and media-area sample are available. No concrete merge-blocking issue was established.

Architecture Summary

Architecture risk: 🔵 Low · up to d43ef

The change affects 2 systems.

Changed systems: bigbluebutton-html5, bigbluebutton-tests

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — bigbluebutton-html5 (service) was modified; 1 changed file maps to changed impact.
  • observed — bigbluebutton-tests (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in bigbluebutton-tests/playwright/sdk-flaky-tests.txt: Removed eight test entries from the CI skip list: Action button dropdown, three Action bar tests, Audio Settings Dropdown, Camera Settings Dropdown, Subscription Hook, and Data Channel.
  • observed — Modified behavior in bigbluebutton-html5/package.json: The bigbluebutton-html-plugin-sdk dependency source changes from the 1.0.0-beta.2 registry version to a codeload archive pinned to commit 7dd73f66a56710a7b7044c09a57bca98694d6331.
  • observed — Modified behavior in .github/workflows/automated-tests.yml: The plugin-test sample list removes sample-action-button-dropdown-plugin and adds sample-media-area-plugin; all other listed samples remain unchanged.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main changes: building the renamed SDK sample and removing exclusions for tests that now pass.
Description check ✅ Passed The description explains the sample-list change, the removed test exclusions, and the related validation and release dependency.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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.

@antobinary antobinary added this to the Release 4.0 milestone Oct 2, 2026
@GuiLeme
GuiLeme marked this pull request as draft October 6, 2026 12:12
@GuiLeme
GuiLeme marked this pull request as ready for review October 6, 2026 13:38
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary
antobinary merged commit 86d1d2c into bigbluebutton:v4.0.x-develop Oct 6, 2026
35 of 36 checks passed
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