Skip to content

[4.0] build(bbb-web): bump the Gradle wrapper to 9.8.1 - #26259

Merged
antobinary merged 2 commits into
bigbluebutton:v4.0.x-developfrom
antobinary:bbb-web-gradle-9.8.1-40
Oct 27, 2026
Merged

antobinary merged 2 commits into
bigbluebutton:v4.0.x-developfrom
antobinary:bbb-web-gradle-9.8.1-40

Conversation

@antobinary

Copy link
Copy Markdown
Member

What does this PR do?

Moves bbb-web's Gradle wrapper from 9.8.0 to 9.8.1, the Gradle version in the 4.0 build image. This is the 4.0 port of the 3.0 change (97c4df4, branch antobinary:bbb-web-gradle-9.8.1-30), picked with -x.

The wrapper was regenerated with ./gradlew wrapper --gradle-version 9.8.1, run twice in bigbluebutton/bbb-build:v4.0.x-release--2026-10-21-124037. So gradle-wrapper.jar, gradlew and gradlew.bat are the files Gradle 9.8.1 writes.

  • 4.0 had the same wrapper files as 3.0, and the regenerated files are byte-identical to the 3.0 commit's, so the 3.0 commit was picked as is.
  • These files had not been regenerated since the Grails 7 upgrade (e0a92dd). Later bumps only edited distributionUrl.
  • The new jar matches Gradle's published gradle-9.8.1-wrapper.jar.sha256.
  • gradleWrapperVersion in gradle.properties is updated to match.

Motivation

#26145 moved the 4.0 build image to Gradle 9.8.1. But bbb-web and pres-checker build through bigbluebutton-web/gradlew (build/packages-template/bbb-web/build.sh), so the image's Gradle is not what builds the bbb-web package. The wrapper still downloaded 9.8.0.

How was this tested?

Both packages were built with build/setup-inside-docker.sh bbb-web in the image above: one from this branch and one from v4.0.x-develop 8f1d9ef, which still has wrapper 9.8.0.

Check Result
./gradlew --version reports Gradle 9.8.1 PASS
Package build downloads gradle-9.8.1-bin.zip. bbb-web clean / resolveDeps / assemble and pres-checker clean / resolveDeps / jar all succeed. PASS
Same 792 files in both packages PASS
Byte-identical files: 786 of 792, including all 246 third-party jars in WEB-INF/lib, all of WEB-INF/classes and the 16 prescheck jars PASS
The other 6 files differ only in build timestamps and in the snapshot version each build gives bbb-common-message / bbb-common-web PASS
Same build warnings in both builds PASS

More

  • distributionSha256Sum is not added. It could pin the distribution: dce76f55f8e251a3a1f130eb120f30b3d271de2b76c9b0729d316b5a1b6dc01f (from services.gradle.org).
  • v4.1.x-develop gets this with the next 4.0 -> 4.1 merge. Its wrapper is also 9.8.0. Its build image is still on Gradle 8.14.3, but the wrapper builds bbb-web there too.
  • Added/updated documentation (not needed: new-features.md lists Gradle 9.8.0 under 4.0's upgraded components, and the doc sync for the release this lands in can update it)

The build image moved to Gradle 9.8.1 in bigbluebutton#26145, but bbb-web and
pres-checker build through bigbluebutton-web/gradlew (bbb-web since the
Grails 7 build scripts, 7bfa37d; pres-checker since cb8ff5c in
bigbluebutton#25466), so the image's Gradle is not what builds the bbb-web package:
the wrapper still fetched 9.8.0. This moves the wrapper to the version
the image has.

Generated with `./gradlew wrapper --gradle-version 9.8.1`, run twice in
bigbluebutton/bbb-build:v4.0.x-release--2026-10-21-124037, so the wrapper
jar and gradlew / gradlew.bat are the ones Gradle 9.8.1 writes. They were
last regenerated in e0a92dd; the later bumps only edited
distributionUrl. The jar matches Gradle's published
gradle-9.8.1-wrapper.jar.sha256. gradleWrapperVersion in gradle.properties
follows. 4.0 had the same wrapper files as 3.0 and the regenerated ones
are byte-identical to the 3.0 commit's, so this is that commit picked.

Built the bbb-web package in that image with build/setup-inside-docker.sh,
from this commit and from v4.0.x-develop 8f1d9ef (wrapper 9.8.0). Both
packages hold the same 792 files and 786 are byte-identical, among them
all 246 third-party jars in WEB-INF/lib, WEB-INF/classes and the 16
prescheck jars. The other 6 differ only in build timestamps and the
per-build bbb-common-message / bbb-common-web snapshot version.

(cherry picked from commit 97c4df4)
@antobinary antobinary added this to the Release 4.0 milestone Oct 27, 2026
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
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: f1e4b7ef-ab7f-44a6-b30c-24cefad638fd
Commits

Reviewing files that changed from the base of the PR and between bb02a31 and 2fdaa12.

Files selected for processing: 1
  • bigbluebutton-web/gradle/wrapper/gradle-wrapper.properties

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

Walkthrough

The configured Gradle version changes from 9.8.0 to 9.8.1. The wrapper configuration adds a distribution checksum and retry settings. The POSIX and Windows scripts update startup and exit handling, and launch the wrapper JAR with -jar.

Priority: Low

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

Change: Other

Suggested reviewers: paultrudel

Merge Risk: Minimal · up to 2fdaa

No actionable merge-blocking risk is established by the wrapper update.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names the main change: bumping bbb-web's Gradle wrapper from 9.8.0 to 9.8.1 in the 4.0 branch. The changeset updates gradle.properties, gradle-wrapper.properties, gradlew and gradlew.bat to …
Description check Passed The description states the purpose: moving bbb-web's Gradle wrapper from 9.8.0 to 9.8.1 to match the 4.0 build image. It explains how the wrapper was regenerated, lists the test results, and notes tha…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
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.
Full details: Title check

Explanation

The title names the main change: bumping bbb-web's Gradle wrapper from 9.8.0 to 9.8.1 in the 4.0 branch. The changeset updates gradle.properties, gradle-wrapper.properties, gradlew and gradlew.bat to that version, so the title matches the primary change. It is specific and uses the conventional build(scope) prefix.

Full details: Description check

Explanation

The description states the purpose: moving bbb-web's Gradle wrapper from 9.8.0 to 9.8.1 to match the 4.0 build image. It explains how the wrapper was regenerated, lists the test results, and notes that gradleWrapperVersion was updated. It relates directly to the changeset, so the check passes.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • 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.

The wrapper now checks the gradle-9.8.1-bin.zip it downloads against
Gradle's published SHA-256 (gradle-9.8.1-bin.zip.sha256 on
services.gradle.org) and refuses to run a distribution that does not
match.

Checked with ./gradlew --version and an empty GRADLE_USER_HOME in
bigbluebutton/bbb-build:v4.0.x-release--2026-10-21-124037: with this
value the wrapper downloads and runs Gradle 9.8.1. With a value that has
four characters swapped (checked in the 3.0 image, same wrapper jar) it
stops with "Verification of Gradle distribution failed!" and reports the
actual checksum, which is the one pinned here.

A later wrapper bump has to update the sum too, e.g.
./gradlew wrapper --gradle-version <v> --gradle-distribution-sha256-sum <sum>
A stale sum fails the build at the download step, not silently.

(cherry picked from commit 2c4ccb0)
@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary
antobinary merged commit ac97a8b into bigbluebutton:v4.0.x-develop Oct 27, 2026
33 checks passed
antobinary added a commit that referenced this pull request Oct 28, 2026
* docs: doc sync for 4.0 since 4.0.0-rc.5

Range v4.0.0-rc.5..v4.0.x-develop 0f90159 (52 commits). No changes to
bigbluebutton.properties, settings.yml, akka-apps application.conf,
ApiParams, the create/join tables, resources.xml or bbb-conf. The Grails 8
upgrade (#25466) brought its own docs; its "Upgraded components" list was
checked against the Spring Boot 4.1.1 and Grails 8.0.0 BOMs and the build
files (Spring Framework 7.0.9, Groovy 5.1.3, Tomcat 11.0.26, Gradle 9.8.0).

administration/customize.md, "Configuration of gladia.io":
- #26010 moved bbb-transcription-controller from v0.2.10 to v0.4.0, which
  talks to Gladia's v2 live API and reads the key from gladia.key
  (gladia-proxy.js); nothing reads x_gladia_key in gladia.startMessage any
  more, so the documented command left the server without a key. Set
  gladia.key instead, and drop the "3.0 or higher, use >0.3.x" paragraph
  and its startMessage (bit_depth and endpointing are now gladia.bitDepth
  and gladia.endpointing). Mention the translation options.
- Warn that the package's after-install.sh copies default.example.yml
  over default.yml on every install and upgrade, and every BigBlueButton
  upgrade reinstalls the package (its version comes from
  bigbluebutton-release). That removes the key and the ESL password
  bbb-conf --setip writes, and the service then crash-loops with "FSESL
  connection authentication error".
- Say up front which service applies: 4.0 defaults to the LiveKit audio
  bridge, where bbb-livekit-stt (not packaged; uv or Docker) does the
  work; bbb-transcription-controller forks audio from FreeSWITCH and only
  covers audioBridge=bbb-webrtc-sfu. The client settings (audioCaptions
  enabled, provider gladia) apply to both: bbb-livekit-stt starts on the
  speech-locale event that carries the provider.

new-features.md:
- "bbb-transcription-controller 0.4.0 (Gladia v2)" under Other notable
  changes, as the upgrade note for the above (rc.1 to rc.5 shipped
  v0.2.10).
- "Learning Dashboard: polls and quizzes numbered in the order they were
  asked" (#25988): untitled polls are numbered chronologically, the
  header tooltip shows when they were asked, and the Download Session
  Data CSV uses the same order.

Not documented: the UI fixes (#25942, #25993, #25974), the recording
panzoom fix (#25991), the bbb-ui-components-react and MUI bumps, the
pres-checker build cleanup, the Tomcat parameter limit and upload limits
(moved to Spring Boot keys in bbb-web's application.properties with the
same values), and the Jackson string limit (raised and dropped again).

(cherry picked from commit bcaed58)

* docs: iteration doc sync for 4.0.1

Documents the v4.0.0..v4.0.x-develop (cd89568) delta that the per-PR
docs commits in the range did not cover.

new-features.md
- Usability: "Live captions transcribed on the user's device" for
  public.app.audioCaptions.speechProcessing (#26179)
- Dedicated Audio settings tab: the processing pick is now scoped to the
  browser session and the meeting, public.app.audioFilterStorage (#25744)
- Behind the scenes: fewer video-grid re-renders (#26096), lock settings
  changes without reconnecting viewers (#26004), client modals on
  BBBModal (#25829), bbb-web Grails 2 cleanup (#26002)
- Media: "Last-N audio for the LiveKit bridge (experimental)" (#26211)
- Other notable changes: component versions in 4.0.1 (LiveKit stack
  #25912, bbb-webrtc-recorder 0.18.0, bbb-webrtc-sfu 2.25.0-beta.3,
  bbb-playback 5.4.8, Tomcat 11.0.27 #26241, Gradle 9.8.1 #26259,
  FreeSWITCH rtp-port-usage-robustness, livekit-sip rtp_port default),
  minimum Safari 14.1 (WeakRef, #25912), password-protected Redis for
  bbb-graphql-actions (#26110)
- Upgraded components list: Gradle 9.8.1, Tomcat 11.0.27
- Recent releases: 4.0.1 (the tag does not exist yet)
- Client settings / Added: speechProcessing, audioFilterStorage,
  public.chat.announceUserAwayStatusInChat (#26090),
  public.media.livekit.selectiveSubscription.lastN; the existing
  paginationToggleModeratorOnly bullet is tagged 4.0.1

customize.md
- speechProcessing was added in 4.0.1, not 4.0
- Advanced Filtering: paragraph on audioFilterStorage
- Audio: new section "Play only the most relevant microphones (Last-N)"

api.md
- New "Updated in 4.0.1" block. The userdata-bbb_parent_room_moderator
  removal (#26087) moves there from the 4.0 block: it landed after v4.0.0.

Left out on purpose: fixes (#26269, #26250, #26118, #26085, #26212 and
the rest), the presenter authorization change (#25887), test/CI work and
dependency bumps belong in the release notes, not in the docs. akka-apps
application.conf, ApiParams.java and LockSettingsParams.java did not
change in the range.

* docs: keep the 4.0.1 join note in the 4.0 block, drop four sections

api.md
- userdata-bbb_parent_room_moderator stays in the 4.0 "Removed
  parameters" line, marked "removed in 4.0.1", instead of a separate
  "Updated in 4.0.1" block.

new-features.md
- Drop the 4.0.1 "Behind the scenes" subsections (video-grid
  re-renders, lock settings without reconnects, BBBModal, bbb-web
  cleanup): release-notes material, not documentation.
- Drop "Learning Dashboard: polls and quizzes numbered in the order
  they were asked", carried over from the rc.5 sync.

* docs: drop the "Other notable changes" entries added for 4.0.1

new-features.md
- Drop "Component versions in 4.0.1", "Minimum Safari version is 14.1",
  "Password-protected Redis for bbb-graphql-actions" and the
  "bbb-transcription-controller 0.4.0 (Gladia v2)" note carried over
  from the rc.5 sync. The Safari floor and the Redis password are
  already documented on their own pages; the version bumps belong in
  the release notes.

* docs: drop the customize.md changes from the 4.0.1 sync

customize.md
- Back to its v4.0.x-develop content: no Last-N section, no
  audioFilterStorage paragraph, speechProcessing stays "added in 4.0",
  and the Gladia v2 edits from the rc.5 sync cherry-pick are gone too.

new-features.md
- The Last-N section no longer links to the dropped customize.md
  section; the client-settings bullet still links to it.
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.

1 participant