Skip to content

chore: Merge v4.0.x release 4.0.2 into v4.1.x develop - #26442

Merged
antobinary merged 365 commits into
bigbluebutton:v4.1.x-developfrom
antobinary:merge-v4.0.x-release-4.0.2-into-v4.1.x-develop
Nov 6, 2026
Merged

antobinary merged 365 commits into
bigbluebutton:v4.1.x-developfrom
antobinary:merge-v4.0.x-release-4.0.2-into-v4.1.x-develop

Conversation

@antobinary

Copy link
Copy Markdown
Member

Merge v4.0.x-release (4.0.2) into v4.1.x-develop

Forward-merge of v4.0.x-release at f31e684, the 4.0.2 release candidate (bigbluebutton-release 4.0.2; the tag is not cut yet), into v4.1.x-develop at 3e18924. The merge base is v4.0.1 (6e66d4f, merged in #26346). 356 commits (288 non-merge) from 60 merged PRs and 1522 files come in. 1315 of those files are the new API conformance suite (#26257).

Main content:

There is one merge commit with only the conflict resolutions. Then there is one commit per place where 4.1 code had to change for what 4.0.2 brings:

Commit What
Merge branch 'v4.0.x-release' (4.0.2) into v4.1.x-develop conflict resolutions only (below)
fix(plugins): clear a removed sidekick app's badge and menu name again 4.0.2 clears them in unregisterExcludedSidekickContentsFromApps (#25998). 4.1 had already replaced that function with the unregister step of the effect (b15701d), so the cleanup moves into the effect.
fix(dark-theme): draw the shared notification badge ring with the border token the shared badge fragments that 4.0.2 adds (common/notification-badge) draw the ring with colorWhite. 4.1's dark theme had moved the sidebar badge ring to colorWhiteBorder (c59044f), so without this the ring was white again in the dark theme.
build(html5): version the dark theme stylesheet link too 4.0.2 adds ?v=VERSION to the stylesheet links. theme-dark.css, which exists only on 4.1, did not get it.
docs: fix the three anchors the strict link check finds on 4.1 the strict check from #26335 fails the 4.1 docs build on three anchors. One is a 4.1 link to the 4.0 upgrade section of the install page. Two are 4.0.2 links to sections of the 4.0 new-features page; they now point at docs.bigbluebutton.org/4.0/new-features/, as 4.1's new-features page already does.
docs(api): link the supported-format lists to the 4.1 source two api.md links from 4.0.2 named v4.0.x-release
test: format the device-test-only case for the Playwright code check the Playwright code check from #26192 fails on one 4.1-only line in audioProcessingMode.spec.ts; prettier formatting only
test(api-conformance): build the Tier 1 stack from 4.1's packaging Tier 1's nginx failed on 4.1's named upstreams (e376575). Its image now copies bbb-config's bbb-upstreams.conf, and the akka-apps config mirror follows the 4.1 preinst (0413ab4).
test(api-conformance): record allowModsToRequestCameraShare in the create cases 38 create cases were recorded on 4.0, without usersProp.allowModsToRequestCameraShare, which 4.1 sends (33a9456, 37330ca). Re-recorded: each file gains only that line.

Conflicts (22) and resolutions

Area Files Resolution
Version and build markers .gitlab-ci.yml, bigbluebutton-release 4.1: the 4.1 bbb-build image, 4.1.0-alpha.1
Locales eu.json, it_IT.json 4.1's content, as in #26011, #26198 and #26346: Transifex owns the translations on each line. en.json merged normally: 4.0.2 replaces originalAudioDesc with originalAudioSummary and originalAudioIdealFor (nothing reads the old key any more), and the 4.1 audio section strings stay. A key-level three-way check of the merged file matches.
Client page client/main.html 4.0.2's ?v=VERSION on the six stylesheet links, then 4.1's theme-dark.css link
Client settings Types/meetingClientSettings.ts, initial-values/meetingClientSettings.ts 4.1's stats threshold objects, without public.stats.help, which 4.0.2 removed together with its last reader (#26379)
Shared notes bn-shared-notes/component.tsx 4.0.2's equation and diagram blocks and portal element (#26221), with 4.1's theme prop (dark in the dark theme)
Layout layout/observer.tsx 4.1's getInitialFontSize(), which already prefers the saved size; that is the fix 4.0.2 made inline (#26399)
Plugins generic-content/manager.tsx 4.1's unregister effect; 4.0.2's cleanup in the follow-up commit
Audio settings settings/submenus/audio/component.tsx, styles.ts both sides: 4.1's device test sections and 4.0.2's Voice Isolation messages
Sidebar badges sidebar-navigation/styles.ts, sidebar-navigation-button/styles.ts, apps-gallery/external-app-item/styles.ts (delete/modify) 4.0.2's shared badge fragments (#25998), and 4.1's dark-theme tokens for the rest. The gallery badge styles file stays deleted: 4.0.2 removed it, and 4.1 had only recoloured it.
Lockfile bigbluebutton-html5/package-lock.json Regenerated, not merged. The merged package.json is 4.0.2's without darkreader, so the lock starts from 4.0.2's, and npm update then brings up the six packages 4.1 had at newer versions. No package is behind either parent, except a nested @floating-ui 1.8.0 copy that 4.1 carried; the merged lock has one 1.7.6 copy, as 4.0.2 does.
Playwright core/elements.ts both sides' audio selectors
Docs new-features.md 4.1's file, unchanged
Docs configuration-files.md, release-testing.md still CRLF on 4.0 and LF on 4.1; merged with line endings normalised, which leaves no conflict
Docs customize.md 4.1's source link with 4.0.2's #get-post-create anchor

29 more files changed on both lines and merged cleanly. I read each of them in the combined diff:

  • the workflows: the 4.1 branch defaults stay
  • MeetingService, Meeting and ParamsProcessorUtil
  • the akka application.conf: the whiteboard allowlist fits 4.1, whose client draws the same shape types as 4.0
  • settings.yml: none of the removed keys has a reader on 4.1
  • the audio bridge service, the generic modal and the audio modal blur
  • the palette, the Playwright specs and the docs

Verification

Check Result
Conflict markers; duplicate top-level imports and declarations (133 changed JS/TS files) none
Translated locales and new-features.md vs v4.1.x-develop identical
tsc bigbluebutton-html5 PASS (0 errors)
tsc bigbluebutton-tests/playwright PASS (0 errors). v4.1.x-develop has 2 (userListToggleBtn, APOLLO_CLIENT_SETTINGS_MODULE); 4.0.2 fixes both.
Playwright code check (prettier, eslint, tsc), new from #26192 PASS
eslint, changed html5 files No file has more non-fixable errors than on v4.1.x-develop. The remaining 24 errors are in presentation-uploader-toast, and both parents have the same 24.
playwright --list 817 tests in 64 files (787 / 61 on v4.1.x-develop)
Docs build with the strict link checks PASS
Lockfiles the html5 lock is stable under npm install --package-lock-only; the other lockfiles equal 4.0.2's
Package builds with build/setup.sh in the 4.1 bbb-build image all 30 PASS; webpack shows only the size warnings
API conformance, Tier 1 built from this branch's debs, CI selection 739 cases: 738 passed, 1 expected failure

I deployed the branch on a dev server whose noble-41-dev packages were built from exactly 3e18924, the pre-merge baseline. The 29 installed packages were then replaced by the ones built from this branch, with an equivs bigbluebutton meta-package pinning them. The served bundleHash matches the built package.

Playwright chromium, gate selection (@ci minus config.quarantine and @nightly, as test-chromium), 2 workers, no retries:

Run Tests Passed Failed Skipped
this branch 652 645 2 5

Both failures were re-run alone 3 times and in their whole spec file, on the branch with its tests and on the baseline with its own tests:

Test Attribution
Presentation › Hide Presentation Toolbar screenshot mismatch; fails 3/3 on the branch and 3/3 on the baseline
Mixed media bridges › Audio on bbb-webrtc-sfu with cameras on the default bridge Test server, not the merge. After the package swaps, FreeSWITCH kept running with an event socket password other than the one bbb-webrtc-sfu and bbb-fsesl-akka read, so audio over bbb-webrtc-sfu never connected. After bbb-conf --setip the test passes 3/3 on the branch and 3/3 on the baseline.

The 5 skips are listen-only tests, which do not apply on LiveKit. On the baseline the presentation spec also failed "Exported text annotation keeps the client line breaks" (#24566). That test is @nightly on this branch (#26315).

API conformance attribution: against the 4.0 recordings, this branch's debs fail 38 create cases. The baseline's debs fail 39: the same 38 (allowModsToRequestCameraShare, 4.1's own field), plus create.features.disabled-features-exclude-spaces, which 4.0.2 fixes (#26398). With the new recordings, the baseline fails only that one case.

Notes and follow-ups (not part of this merge)

  • The "experimental" badge in Settings > Audio (BBBA improvements: lower CPU load, Voice Isolation mode, reworked settings #26095) uses the new colorStandout token. 4.1's dark theme does not define it, since accent tokens fall through by design, so in the dark theme it is #A16207 on #2D2F38, about 2.7:1.
  • mermaid-on-demand.ts keeps 4.0's DarkReader comments and its stylus class. They are harmless on 4.1, and "Diagrams stay light cards in dark mode" passes.
  • Upgrading a 4.0 server to the 4.1 packages with apt still leaves packages half-configured on the nginx upstreams, because bbb-config, which ships bbb-upstreams.conf, is configured last. It happened again here, as noted in chore: Merge v4.0.1 into v4.1.x develop #26346.
  • Not run here: Firefox, the plugin SDK tests, the nightly-only groups (among them the legacy bbb-webrtc-sfu media job, which this merge moves to the nightly run) and the API conformance slow cases.
  • The 4.0.2 tag is not cut yet. If it lands on a later commit of v4.0.x-release, the next forward-merge brings the rest.

paultrudel and others added 30 commits October 28, 2026 13:43
The meeting's createTime is accepted; another is refused, as a redirect or,
with redirect=false, as XML.
Each guest policy, with authenticatedGuest on and off, for moderators and
viewers with and without the guest and auth params, plus the default
policy. The answers to an unknown policy are recorded for triage.
An ended meeting is forgotten by the time the join arrives, so its error
comes from the same undecided order as an unknown meeting's: triage. The
guest=1 variants (validation accepts 1 as a boolean, join reads it as
false) and redirect=1 are triage rather than compat. The default error
target pins its path, the "nobody registered" check waits as long as the
role cases do, and the guest headers mention refusals and guest=1 only
where a variant has them.
The repo's ShellCheck job failed on SC2148: the script has no shebang.
It never runs on its own; profile.sh puts NAME and OVERLAY in front of
it and pipes the result to sh -s, so a directive names the shell instead.
getSessions names a session's meeting only by its internal ID, so the
${uid} scope rule couldn't tell a case's own sessions from those of cases
running alongside it. A scope key now also counts as the case's when it is
the internal ID of a meeting whose meetingID the case sent. getSessions'
noSessions is dropped like getMeetings' noMeetings, and sessions are
sorted.
meetingID's checks, and that a meeting runs only once a user is in it:
not when it is created, and not when join has only registered a user.
An unknown meeting; malformed meetingIDs, recorded for triage since they
fail several checks at once; the fields of a meeting created with defaults
and with explicit values; a registered user not counted; and a password
param ignored.
An empty server (serial, since it needs no other meetings), two meetings
and their fields, and an ended meeting leaving the list while the other
stays.
An empty server (serial), a session per join with the meeting's internal
ID and the user's name, none for a meeting nobody joined, and an ended
meeting's sessions going away.
An unknown meeting; a missing or empty meetingID, recorded for triage;
password lengths; the password never compared with the meeting's; and the
end itself: akka-apps' MeetingEndingEvtMsg with ENDED_FROM_API and
MeetingEndedEvtMsg, the meeting forgotten, and a second end answering
notFound. Each end waits until akka-apps has created the meeting, since an
end that reaches it earlier is lost.
getMeetings and getSessions check whether the server has meetings or
sessions, then list them from a live view. When the last one goes away
in between, the template takes the empty branch without its messageKey
and the answer is cut short: a 200 that isn't valid XML. A full run hit
it once, in two cases, after the end cases added more meetings ending
alongside the rest. The cases whose call can find the server's list
emptying under it, because they hold no meeting or session of their own,
now run alone (serial).
Now that getSessions answers are scoped to the case, getSessions'
accepted-checksum and allowed-method cases make a valid call and record
it, like getMeetings' (serial, since they list without a session of
their own). isMeetingRunning's rejected meetingIDs also check that no
running element comes back.
The first nightly run on v4.0.x-develop (run 40804099115) runs the whole
suite on bbb-webrtc-sfu, where the per-PR gate only runs the @media tests.
Three @ci tests in parameters/parameters.spec.ts failed there and passed on
LiveKit:

- Disabled Features > Speech Recognition, and its (exclude) variant: on
  bbb-webrtc-sfu listenOnlyMode stays on (audio-modal/container.jsx forces
  it off only for LiveKit), so the audio modal opens on the Microphone /
  Listen only choice and neither the audio settings nor the speech
  recognition option is rendered. Click the microphone button first,
  through the existing bridge-aware Page.clickMicrophoneButton (a no-op on
  LiveKit).
- Enforce Layout > enforceLayout=PARTICIPANTS_AND_CHAT_ONLY: the attendee
  joins without enforceLayout and sees the presentation. On bbb-webrtc-sfu,
  closing the audio modal returns at once, and the attendee screenshot
  catches the slide still zoomed in before the whiteboard fits it (7% of
  the pixels, against the 5% budget). On LiveKit, closeAudioModal joins
  and leaves audio first, which happens to give the slide time to settle.
  Wait for the attendee's slide to settle before the screenshots.

Verified on a 4.0.1 server with the nightly config (CI=true,
TIMEOUT_MULTIPLIER=2, --retries=0): before, 3 of 3 fail on bbb-webrtc-sfu
(70028 different pixels, as in CI) and pass on LiveKit; after, 15 of 15 pass
on bbb-webrtc-sfu (--repeat-each=5) and 9 of 9 on LiveKit (--repeat-each=3).
The header said the nightly skips every screenshot comparison because
GitHub sets CI=true. Only the comparisons the suite wraps in `if (!CI)`
are skipped (options/options.ts and presentation/presentation.ts); the
rest run, as in the per-PR gate. The first nightly run showed it:
enforceLayout=PARTICIPANTS_AND_CHAT_ONLY failed on a toHaveScreenshot
diff on the bbb-webrtc-sfu bridge.
If every test job stops before Playwright writes its blob report, for
example on an install or npm ci failure, nightly-merge is never created
and the loop over nightly-merge/* runs once on the literal pattern.
merge-reports fails on it, the step stops under bash -e, and the summary
loses the list of failed server health checks, the only thing such a
run has to show.

Skip anything that is not a directory, as the loop over the downloaded
jobs above it already does. shopt -s nullglob would fix this loop too,
but it would leave the grep over nightly-jobs/*/nightly-output/health.txt
at the end of the step with no file operand, reading stdin, whenever no
job got as far as the health check.

Raised in the review of bigbluebutton#26309.
With KERNEL_LOG naming a missing or unreadable file, cat printed its
error, the search ran on an empty string and the check reported PASS.
Report FAIL instead, as check_conversion_runtime already does for
BBB_WEB_LOG.

The nightly workflow does not set KERNEL_LOG, so this only changes runs
by hand.

Raised in the review of bigbluebutton#26309.
The build lookup took a page of 30 push runs of Automated tests. That is
about two days on v4.0.x-develop, where most push runs are cancelled by
the next push before their build finishes. Ask for 100, the most the API
returns in one page, so the nightly gives up only after about a week in
which no build finished.

Raised in the review of bigbluebutton#26309.
The 4.0.1 docs said the first maxPresentationsPerRequest presentations
in request order are processed. prepareDocuments moves the current
presentation to the front before it applies the cap, so that one is
always kept and the others fill the remaining slots in request order.

The URLs of all documents are also validated before the cap, so a
malformed URL fails the call with invalidPresentationUrl even when its
document would have been dropped. Say both in customize.md and in the
create and insertDocument sections of api.md.

Raised in the review of bigbluebutton#26309.
77a8dc5 renamed APOLLO_CLIENT_SETTINGS_MODULE to
APOLLO_CLIENT_SETTINGS_OVERRIDE, passed as createClientSettingsOverride,
but this test still imported the old name. The import was undefined, so
the test created its meeting without the override, found no Apollo
client and skipped itself, and the typecheck this branch adds fails on
it. With the new name it runs again: it passes in 22 seconds on a 4.0
server, where it was skipped before.
The per-pull-request gate runs 681 tests in 8 shards. Its slowest shards
take 22-26 minutes, one of them past the old 25-minute step limit that
bigbluebutton#26297 raised to 40. These 88 leave it for the nightly: about 36 of the
gate's 161 minutes of test time, measured test by test on a 4.0 server,
which takes the shards from 14/20/23/11/18/19/24/26 minutes on the last
green push to about 12/16/17/10/13/13/18/20, and the legacy media job
from 146 tests to 135.

They are the tests whose time goes to waiting (timers, reaction expiry,
connection timeouts, heavy uploads and conversions, recording
processing) and the variants of a check that a test staying in @ci
already makes; one or two of each family stay in the gate, as in
initialSelectedTool.spec.ts. Quarantined tests and the only test of a
feature stay where they are.

The tests stay where they are and take @nightly themselves. Playwright
tags only add up, so most of them keep the @ci of their describe; the
gate scripts now leave out @nightly the way they leave out the
quarantine tags, which the nightly workflow already did, and the README
says so. Five describes whose tests all move, and the reconnection test
that is tagged on its own, change @ci to @nightly instead. Where a
test's first line no longer fits, prettier puts the title, the tag and
the function on lines of their own, as for the suite's other tagged
tests; nothing else is reformatted.

The nightly runs them on both media bridges in its @nightly jobs, which
grow from about 10 to about 45 of their 150 minutes. It tests
v4.0.x-develop only, so pull requests to a release branch no longer run
these 88 unless the nightly is started there by hand.
The plugin tests download the SDK tarball from the repository owner's
bigbluebutton-html-plugin-sdk. A fork without its own copy of that
repository gets a 404, so the download fails and the plugin tests never
run.

The URL now defaults to bigbluebutton/bigbluebutton-html-plugin-sdk, so
bigbluebutton/bigbluebutton gets the same URL as before. A fork that
keeps its own copy sets the PLUGIN_SDK_REPOSITORY repository variable to
it, as owner/name.
…data

When users of a new meeting join at the same moment, their join requests
write their custom data to the meeting from several threads at once.
Meeting.userCustomData is a plain HashMap, so an entry can be lost; join
then reads null back for that user, and the MeetingService task that
publishes the user's RegisterUserReqMsg to akka-apps throws a
NullPointerException in BbbWebApiGWApp.registerUser. akka-apps never
learns the user, the client's first GraphQL REST call is refused
("x-hasura-role" not found in session variables) and the user lands on
the error screen. The Playwright stress test "Join 2 users (mod and
attendee)" fails this way from time to time.

The test starts eight threads per fresh meeting, held in a busy spin
until all of them run so that they reach the meeting together, and checks
that every user's data is still there, over 2000 meetings. On the current
Meeting it fails at once (8245 of 16000 users lost their data in one
run); with userCustomData as a ConcurrentHashMap it passes.
The livekit-sip note added in 8aebd60 (bigbluebutton#25912) links to
/administration/configure-firewall. That is the page's file name and id,
not its URL: configure-firewall.md sets
slug: /administration/firewall-configuration, which is what install.md and
troubleshooting.md already link to.

Docusaurus throws on broken links (onBrokenLinks), so `docusaurus build`
fails with "Broken link on source page path = /administration/customize/".
Since bigbluebutton#26058 brought the note to v4.0.x-release on 2026-10-28, the
"Build and Deploy Docs" workflow fails too, because its build.sh builds the
4.0 version of the site from that branch, so docs.bigbluebutton.org has not
been updated since then. Pull requests do not catch this because no PR
workflow runs the docs build.

v4.1.x-develop has the same link in a reworded line. The next
v4.0.x-develop merge into it takes this line from 4.0 without a conflict,
so the fix carries over there.
Users joining a meeting at the same moment write their custom data to
Meeting.userCustomData from several request threads at once. The map was
a plain HashMap: two first puts into a new meeting's map can each
allocate its table, and the entry written into the table that loses is
gone. join then read null back as the user's metadata,
BbbWebApiGWApp.registerUser threw a NullPointerException on it, and the
user's RegisterUserReqMsg never reached akka-apps. akka-apps did not know
the session, so Hasura refused the client's first GraphQL request
("x-hasura-role" not found in session variables) and the user got
"Ops, something went wrong".

userCustomData is a ConcurrentHashMap now, like users and
registeredUsers next to it. Its keys and values are never null:
externUserID falls back to the internal user ID and join always creates
the data map.

MeetingUserCustomDataTest passes with it (it failed before: 8245 of
16000 users lost their data), as do the other 74 bbb-common-web tests.
On a 4.0.1 server, two browsers joining a new meeting at the same moment
failed in 4 of 113 rounds before and in none of 150 rounds after, with no
NullPointerException in bbb-web's journal.
MeetingService.processMessage hands every message to runExec as a task.
The try/catch that logs "Handling unexpected exception" only covers that
hand-over, so an exception inside the task ended runExec's thread with a
trace on stderr (bbb-web's journal) and nothing in bbb-web.log, and the
message it was handling was dropped without a trace. That is how users
whose registration was lost to the userCustomData race went unnoticed.

The task now runs inside a try/catch that logs the exception with the
message type, and runExec keeps its thread.
getJoinUrl drops every userdata- parameter, for viewers and for everyone
in a breakout room, when the blocklist contains "all". bbb-web has
accepted that value since bigbluebutton#22943 (3.0.7), but the userdata section of
api.md only described the named entries.

The sentence is the one CodeRabbit suggested in the review of bigbluebutton#26428.
…s_6767ac79ef51824ce6330dcfb9b03097

[4.0 locales] Updates for file bigbluebutton-html5/public/locales/en.json
The raise-hand port (eefd37e) removed the raise-hand notifier, which
formatted app.statusNotifier.lowerHandDescOneUser with
{ userName: u.name }, added a lower-hand button to the user list that
formats the same message without values, and changed its English text
from "Lower {userName}'s hand" to "Lower hand".

Transifex keeps the translations of a key whose English text changes.
Of the 28 locales that had translated the old text, 16 still carry
{userName}: ca, cs_CZ, el_GR, es, es_ES, eu, fa_IR, fr, gl, hy, ko_KR,
nl, pl_PL, pt, tr_TR and uk_UA. Formatted without values, react-intl
returns a message unchanged, so the tooltip shows the raw placeholder,
for example "Опустити руку {userName}" in Ukrainian.

Pass the user's name again. The 16 locales then render the text they
were translated for, with the name filled in. English and the 12
locales re-translated to "Lower hand" since (ar, de, et, hu_HU, it_IT,
ja, nb_NO, pt_BR, ru, sv_SE, tr, zh_TW) ignore the unused value and
render as before.

Reported in bigbluebutton#26426. The other strings that report shows in English are
missing uk_UA translations, which come from Transifex.
…hand-tooltip-username

fix(user-list): pass userName to the lower-hand tooltip again
…ish-results-contents-read

ci: let the tests comment job check out the repository
…shboard-title-locale

test(learning-dashboard): match the breakout dashboard by its room name
test(api-conformance): Add a Conformance Suite for the HTTP API
Brings v4.0.x-release at f31e684, the 4.0.2 release candidate
(bigbluebutton-release 4.0.2, no tag yet), into v4.1.x-develop at
3e18924. The merge base is tag v4.0.1 (6e66d4f), merged into 4.1
by bigbluebutton#26346. 356 commits (288 non-merge) from 60 pull requests and 1522
files come in; 1315 of those files are the new API conformance suite
(bigbluebutton-tests/api-conformance, bigbluebutton#26257). 51 files changed on
both lines; 22 of them conflicted (21 content, 1 delete/modify).

Version and build markers keep the 4.1 values: .gitlab-ci.yml keeps
the 4.1 bbb-build image and bigbluebutton-release stays
4.1.0-alpha.1.

Translated locales stay as on 4.1: eu.json and it_IT.json, the two
that 4.0.2's Transifex sync (bigbluebutton#26402) changed. en.json merged normally:
4.0.2 replaces originalAudioDesc with originalAudioSummary and
originalAudioIdealFor (nothing reads the old key any more) and keeps
the 4.1 audio section strings.

docs/docs/new-features.md stays as on 4.1.

Client:
- client/main.html: the six stylesheet links take 4.0.2's ?v=VERSION;
  the 4.1-only theme-dark.css link after them is unchanged here.
- Types and initial values of meetingClientSettings: the 4.1 stats
  thresholds (objects), without public.stats.help, which 4.0.2 removed
  (4eaee6b) together with its last reader.
- bn-shared-notes/component.tsx: 4.0.2's equation and diagram blocks
  and floating-UI portal element (bigbluebutton#26221), with the 4.1 theme prop
  (dark when the native dark theme is on).
- layout/observer.tsx: the 4.1 getInitialFontSize(), which already
  prefers the saved font size; that is the fix 4.0.2 made inline
  (bigbluebutton#26399).
- generic-content/manager.tsx: the 4.1 effect that unregisters removed
  sidekick apps (b15701d). 4.0.2 also clears their badge and menu
  name there (bigbluebutton#25998); that moves into the 4.1 effect in a follow-up
  commit.
- Settings > Audio: the 4.1 section and device-test messages next to
  4.0.2's voice isolation messages (bigbluebutton#26095); styles import both
  defaultBorder and colorStandout.
- Navigation sidebar badges: 4.0.2 moves the badge rules into
  common/notification-badge (bigbluebutton#25998), so the sidebar button and
  sidebar styles take its fragments and keep the 4.1 dark-theme
  tokens elsewhere. The apps gallery badge styles file, deleted by
  4.0.2 and only recoloured by 4.1, stays deleted.

Lockfile: bigbluebutton-html5/package-lock.json was regenerated, not
merged. The merged package.json equals 4.0.2's without darkreader, so
the lock starts from 4.0.2's (npm drops darkreader and its rollup
binaries), then npm update brings the six packages 4.1 had at a newer
version up to it. No package is behind either parent, except the
nested copy of @floating-ui/core and dom 1.8.0 that 4.1 carried under
@floating-ui/react-dom; the merged lock uses one 1.7.6 copy, as 4.0.2
does. The other lockfiles merged cleanly and equal 4.0.2's.

Docs:
- configuration-files.md and release-testing.md are still CRLF on 4.0
  and LF on 4.1. Merged with line endings normalised, they have no
  conflict.
- customize.md: the 4.1 source link with 4.0.2's #get-post-create
  anchor.

Playwright: core/elements.ts keeps both sides' audio selectors.
4.0.2 (bigbluebutton#25998) clears the badge and the menu name a plugin set for a
sidekick app when the plugin removes that app, in
unregisterExcludedSidekickContentsFromApps. On 4.1 that function was
already gone: the effect unregisters the apps that went away instead
(b15701d, no layout dispatches during render). The merge kept the
4.1 code, so the cleanup was left out.

Do it in the effect. It now tracks the registered items by item id,
the key both stores use, and clears the badge and the menu name of
each item that went away when it unregisters its sidebar app. Without
this, the stores keep entries for apps that are gone, and an app a
plugin adds again under the same id comes back with the old badge or
name.
…der token

4.0.2 (bigbluebutton#25998) moves the notification badge rules of the navigation
sidebar into common/notification-badge, the fragments the chat, shared
notes and plugin badges are now built from. It brings them from 4.0,
where the ring is colorWhite. 4.1's native dark theme had changed that
ring on the sidebar to colorWhiteBorder (c59044f), which is dark
grey (#383C3D) in the dark theme instead of white. After the merge the
ring of every sidebar badge was white again in the dark theme.

Use colorWhiteBorder for the ring in the shared fragment. The light
theme is unchanged: colorWhiteBorder falls back to colorWhite there.
The badge text stays colorWhite, as on 4.1.
4.0.2 (bigbluebutton#26385, 3396ef5) adds ?v=VERSION to the client's stylesheet
links, which the bbb-html5 build replaces with the build identifier,
so a browser does not keep a stylesheet cached from the previous
build next to the new bundle. theme-dark.css, the stylesheet of 4.1's
native dark theme, is linked right after them and did not exist on
4.0, so the merge left it without a version.

Add ?v=VERSION to it as well. It holds the dark palette, so a stale
copy after an upgrade would render the dark theme with the previous
release's colours.
4.0.2 makes the docs build fail on a broken link or anchor (bigbluebutton#26335:
onBrokenAnchors, onBrokenMarkdownLinks and onBrokenMarkdownImages set
to throw). On the merged tree it stops at three anchors:

- administration/customize: the upgrade steps link to
  install#upgrading-bigbluebutton-40. The 4.1 install page names that
  section "Upgrading BigBlueButton 4.1". The link predates the merge
  and only warned before.
- administration/customize: the LiveKit dial-in note from 4.0.2
  (bigbluebutton#26409) links to the Media section of new-features, and
  administration/privacy: the on-device live captions paragraph from
  4.0.2 (bigbluebutton#26334) links to "Live captions transcribed on the user's
  device" there. Both sections are on the 4.0 page. The 4.1 page lists
  only what is new in 4.1.

Point the first at #upgrading-bigbluebutton-41. Point the other two at
the 4.0 page, the way the 4.1 new-features page already does
(https://docs.bigbluebutton.org/4.0/new-features/). Both anchors exist
on the published 4.0 page.
4.0.2 (ba68389) points the supported presentation formats paragraph
of api.md at MimeTypeUtils.java and settings.yml on v4.0.x-release.
The merge brought both links over unchanged. On 4.1 they should point
at v4.1.x-release, as the other source links in these docs do.
4.0.2 (bigbluebutton#26192) adds the "Playwright tests - validate code" workflow,
which runs prettier, eslint and tsc on bigbluebutton-tests/playwright
for every pull request that touches it. On v4.1.x-develop, 20 test
files were not prettier-formatted. The merge brings 4.0.2's formatting
for 19 of them. The one left is a 4.1-only line: the "leaves only the
device test in the Audio tab when showAudioFilters is false" case in
options/audioProcessingMode.spec.ts (e4ef15b), whose destructured
fixture list is too long for one line. Prettier and eslint both
reported it, so the new job failed on the merged tree.

Format that line as prettier writes it. No code change.
4.0.2 brings the API conformance suite (bigbluebutton#26257). Its per-PR job brings
up the Tier 1 stack from the packages the build made and runs the
suite against it. On the merged tree the stack did not come up: the
nginx container stayed unhealthy with

  host not found in upstream "bbb-graphql-middleware"
  in /usr/share/bigbluebutton/nginx/graphql.nginx:8

On 4.1 the packages' nginx locations proxy to named upstreams
(e376575). bbb-config installs them as
/etc/nginx/conf.d/bbb-upstreams.conf. Tier 1 does not install
bbb-config, and on 4.0 the locations named addresses directly, so its
nginx image had no such file.

- compose.yaml, images/Dockerfile: the nginx image copies
  bbb-upstreams.conf from build/packages-template/bbb-config, as a
  build context like bigbluebutton-config already is, so it is the
  package's own file rather than a hand copy.
- akka-apps/bbb-apps-akka.conf.in mirrors the operator config file
  the akka-apps preinst writes. On 4.1 the preinst also lets
  BBB_WEB_API and SHARED_SECRET override the two values (0413ab4),
  and check-copies.sh warned that the preinst had changed. The mirror
  now writes the same lines. Tier 1 sets neither variable, so its
  values are unchanged. copies.sha256 records the 4.1 preinst
  (check-copies.sh --update).

With the debs built from this branch the stack comes up healthy, and
the suite's CI selection runs every case: 739 cases, 700 passing
against the 4.0 recordings. The 38 that differ are recorded in the
next commit.
…eate cases

The suite's recordings come from 4.0, where the CreateMeetingReqMsg
that bbb-web sends to akka-apps has no
usersProp.allowModsToRequestCameraShare. 4.1 added that property with
the camera request feature (33a9456, under this name since
37330ca). Its default is false (bigbluebutton.properties), and
bbb-web sends it on every create. So 38 create cases failed on 4.1,
each with the one difference:

  recording $.core.body.props.usersProp.allowModsToRequestCameraShare:
  expected nothing, got false

These are the 36 create.booleans.users-* cases (six parameters, each
in six spellings) and create.response.defaults-shipped and
defaults-alt-defaults. The pre-merge v4.1.x-develop debs (3e18924)
fail the same 38 cases the same way, so this is 4.1's own change,
not the merge.

Re-recorded with "bbb-conform record --id
'create.booleans.users-*,create.response.defaults-*'" on Tier 1 from
this branch's debs: 38 CHANGED, none unstable. Each file gains only
the line "$.core.body.props.usersProp.allowModsToRequestCameraShare
false". With them the CI selection passes: 739 cases, 738 passed,
1 expected failure. The parameter itself has no create case yet.
@antobinary antobinary added this to the Release 4.1 milestone Nov 6, 2026
@coderabbitai

coderabbitai Bot commented Nov 6, 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b890e11a-da17-458a-8e4f-233bdce3e281

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

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

🚨 Automated tests failed

// WORKAROUND until https://github.com/TypeCellOS/BlockNote/pull/3219 (theme-aware
// diagrams) lands; remove this light card then. The diagram block cannot redraw
// on a theme switch, and DarkReader would leave light text on light boxes, so
// diagrams always use the light theme on a light card kept out of DarkReader.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit, for a 4.1 follow-up: this comment and the class="stylus" added in render are about DarkReader, which 4.1 no longer has. The light card is still what keeps diagrams readable in the native dark theme, so only the DarkReader parts are stale; the stylus class does nothing here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@antobinary
antobinary merged commit 88c5cde into bigbluebutton:v4.1.x-develop Nov 6, 2026
54 of 57 checks passed
@antobinary
antobinary deleted the merge-v4.0.x-release-4.0.2-into-v4.1.x-develop branch November 6, 2026 19:27
antobinary pushed a commit that referenced this pull request Nov 21, 2026
Forward-merge of v4.0.x-develop at 112214e into v4.1.x-develop at
1635133. Merge base 28d54de (#26257, merged in #26442).

Resolutions:
- profile-settings/component.tsx: combined. 4.1's PreviewStatus replaced
  the inline containerStyle, so it stays out; 4.0's isCamLocked return and
  "Enable webcam" placeholder (#26213) go before 4.1's CameraPreview.
- profile-settings/styles.ts: 4.1's palette imports plus colorOffWhite,
  which 4.0's placeholder uses.
- recording/styles.js: 4.1's colorTextEmphasis with 4.0's
  confirmationButtonFloor (#26314).
- request-unmute-modal/styles.js: stays deleted, as on 4.1. 4.1's shared
  media-consent-modal (f75c010) replaced the RequestModalContent row
  that 4.0's min-width and narrow-phone change (#26314) styles.
- settings/container.jsx: combined. 4.0's pagination source and
  useIsPaginationToggleAllowed (#26468) in 4.1's useSettingsProps, and
  paginationToggleLocked in its returned props, so the pre-flight
  settings modal gets it too.
- settings/submenus/application/styles.js: 4.0's. The language selector
  is now a BBBSelect (#26389), so the native select rule 4.1 recoloured
  has no target.
- video-preview/hooks/types.ts, useVideoPreview.ts: combined. Both sides'
  options (skipPreview, deferInitialization; waitForCameraPermission). 4.0
  moved the mount-time camera opening from the cameraDisabled effect into
  startPreview, called on mount, and the effect now reopens only a
  started preview. 4.1's deferInitialization check moves with it, from the
  effect into startPreview, so pre-flight still opens no camera until the
  user enables it.
- palette.js: combined. 4.0's colorWarning #FFC845 and btnWarningColor
  #393C48 (#26312) and its new status tokens; 4.1's notice, scrim and
  *ColorSurface tokens.
- locales de, eu, it_IT: 4.1's, as in #26011, #26198, #26346 and #26442.
  en.json: both sides' strings; a key-level three-way check matches.
- playwright core/helpers.ts: 4.0's override-aware create defaults
  (#26359) with 4.1's encoded name and meetingID.
- bigbluebutton.properties, docs/data/create.tsx: both disabledFeatures
  entries, layoutView (4.1) and lockSettings (4.0).
- docs configuration-files.md, release-testing.md: still CRLF on 4.0 and
  LF on 4.1; merged with line endings normalised. 4.1's
  bbb-export-annotations override row stays (4.1 ships the override);
  4.0's other override rows and nginx text, with the 4.1 source link; the
  new unmute case with its spec link on v4.1.x-develop.
- docs customize.md: 4.0's locale override steps, downloading from
  v4.1.x-release.
- docs new-features.md: 4.1's file, unchanged.
- bbb-shared-notes-server/run-in-systemd.sh: kept, as on 4.1. 4.0 deleted
  it (#26464), but 4.1's image (bbb-shared-notes-server/Dockerfile)
  still copies it. The follow-up "build(docker): stop copying the removed
  run-in-systemd.sh into the shared-notes image" removes both.

This merge does not pass the Playwright type check alone:
bigbluebutton-tests/playwright/core/elements.ts merged without a conflict
but declares layoutContainer twice, since both lines added it (4.1 in
c5c2c71, 4.0 in ad12223). The next commit, "test(playwright):
declare the layoutContainer selector once", drops 4.1's copy. The packages
build, and Playwright's own transpiler runs the suite as is.

# Conflicts:
#	bigbluebutton-html5/imports/ui/components/profile-settings/component.tsx
#	bigbluebutton-html5/imports/ui/components/profile-settings/styles.ts
#	bigbluebutton-html5/imports/ui/components/recording/styles.js
#	bigbluebutton-html5/imports/ui/components/request-unmute-modal/styles.js
#	bigbluebutton-html5/imports/ui/components/settings/container.jsx
#	bigbluebutton-html5/imports/ui/components/settings/submenus/application/styles.js
#	bigbluebutton-html5/imports/ui/components/video-preview/hooks/types.ts
#	bigbluebutton-html5/imports/ui/components/video-preview/hooks/useVideoPreview.ts
#	bigbluebutton-html5/imports/ui/stylesheets/styled-components/palette.js
#	bigbluebutton-html5/public/locales/de.json
#	bigbluebutton-html5/public/locales/en.json
#	bigbluebutton-html5/public/locales/eu.json
#	bigbluebutton-html5/public/locales/it_IT.json
#	bigbluebutton-tests/playwright/core/helpers.ts
#	bigbluebutton-web/grails-app/conf/bigbluebutton.properties
#	docs/docs/administration/configuration-files.md
#	docs/docs/administration/customize.md
#	docs/docs/data/create.tsx
#	docs/docs/new-features.md
#	docs/docs/testing/release-testing.md
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.

9 participants