Skip to content

fix(api-conformance): follow the 4.0.3 units and install script in Tier 1 - #26642

Merged
antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
paultrudel:api-conformance-tier1-copies
Nov 20, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
paultrudel:api-conformance-tier1-copies

Conversation

@paultrudel

Copy link
Copy Markdown
Collaborator

What does this PR do?

Brings api-conformance's Tier 1 stack back in line with the three package files it mirrors by hand that changed with 4.0.3:

env/tier1/copies.sha256 records the three sources as they are now. The README's list of what Tier 1 mirrors now includes the units' environment.

Only the test environment changes.

Closes Issue(s)

None.

Motivation

Since #26631 merged 4.0.3 into v4.0.x-develop, every api-conformance run has had three "Tier 1 copies" warnings, for example develop's push run on db0f377. They don't fail the job, but they mean Tier 1 no longer starts bbb-web and akka-apps the way the packages do. #26634 left the JAVA_TOOL_OPTIONS change out because it was then only on v4.0.x-release. It is on develop now.

How to test

cd bigbluebutton-tests/api-conformance
env/tier1/check-copies.sh        # no warnings
make -C env up

What was run for this PR, on Tier 1 with the five debs built from develop db0f377 (plus #26583's test-only changes):

  • check-copies.sh warned about the three files before the change, and is silent after it.
  • Both JVMs run with JAVA_TOOL_OPTIONS=-XX:-UseBASE64Intrinsics and MALLOC_ARENA_MAX=2 in their environment, and log Picked up JAVA_TOOL_OPTIONS: -XX:-UseBASE64Intrinsics at start. Tier 1's JDK 21 reports UseBASE64Intrinsics = false.
  • In bbb-web/start, the JAVA_TOOL_OPTIONS line gives the flag alone when the variable is unset or empty, and the flag followed by the caller's options when it is set (checked under dash with set -eu).
  • The suite with CI's flags, after make -C env reset: 896 cases, 894 passed, 2 expected failures, 0 skipped. That is the same as develop's own run.
  • ShellCheck on both start scripts shows only the existing SC1091 note on . /etc/default/bbb-web.

More

…er 1

Since 4.0.3 was merged into v4.0.x-develop (bigbluebutton#26631), check-copies.sh has
warned on every api-conformance run: three of the package files Tier 1
mirrors by hand had changed.

- bbb-web.service and bbb-apps-akka's unit set
  JAVA_TOOL_OPTIONS=-XX:-UseBASE64Intrinsics (bigbluebutton#26603). Both images'
  start scripts now set it too. bbb-web's keeps a JAVA_TOOL_OPTIONS that
  compose.yaml passes in, such as a coverage agent, after the flag.
- akka-apps' start script also sets MALLOC_ARENA_MAX=2, which its unit
  has set since 9d4dc4b. Tier 1 had followed that only for bbb-web.
- bbb-web's after-install.sh writes a random pageTokenSecret. Tier 1
  already sets a known one in tier1.properties.in (bigbluebutton#26634); the
  Dockerfile's note on what after-install.sh does now names it.

copies.sha256 records the three sources as they are now.
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The API conformance environment startup scripts now export memory and Java options. A Dockerfile comment adds the page-token secret to its description of bbb-web properties. The Tier 1 README clarifies the manually mirrored package details and source-change warnings. The checksum file adds an entry for opts-noble.sh and updates recorded checksums.

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

Change: Bug fix

Suggested reviewers: antobinary, germanocaumo

Merge Risk: Minimal · up to ccfcf

This change only updates the API conformance test environment to match the mirrored package files. It does not affect production behavior, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: it updates api-conformance's Tier 1 test environment to match the 4.0.3 units and install script. The description and objectives describe the same set of changes to th…
Description check Passed The description states the purpose and scope of the change. It lists the three mirrored package files, the start script edits, the copies.sha256 update, and the README change. It also gives test steps…
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: it updates api-conformance's Tier 1 test environment to match the 4.0.3 units and install script. The description and objectives describe the same set of changes to the bbb-web and akka-apps start scripts, the units, the Dockerfile note, and copies.sha256. The title is specific and uses a conventional commit prefix, so it passes.

Full details: Description check

Explanation

The description states the purpose and scope of the change. It lists the three mirrored package files, the start script edits, the copies.sha256 update, and the README change. It also gives test steps and results. It is clearly related to the changeset, so it passes.

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

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: f37f6f58-b616-47f5-b92d-d042672d95e1
Commits

Reviewing files that changed from the base of the PR and between cfb8bd2 and ccfcf08.

Files selected for processing: 5

  • bigbluebutton-tests/api-conformance/README.md
  • bigbluebutton-tests/api-conformance/env/images/Dockerfile
  • bigbluebutton-tests/api-conformance/env/images/akka-apps/start
  • bigbluebutton-tests/api-conformance/env/images/bbb-web/start
  • bigbluebutton-tests/api-conformance/env/tier1/copies.sha256

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

@antobinary antobinary added this to the Release 4.0 milestone Nov 20, 2026
@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary
antobinary merged commit 8a50c7e into bigbluebutton:v4.0.x-develop Nov 20, 2026
38 checks passed
germanocaumo added a commit to germanocaumo/bigbluebutton that referenced this pull request Nov 21, 2026
Brings v4.0.x-develop to 932c31d: the merged bigbluebutton#26631 and the fixes that
followed it on 4.0 (bigbluebutton#26642 and bigbluebutton#26634 for the API conformance Tier 1
stack, bigbluebutton#26641 for the presentation conversion tests, bigbluebutton#26636 and bigbluebutton#26617
for the middleware limits, bigbluebutton#26581 for failed uploads), plus bigbluebutton#26583,
bigbluebutton#26548 and bigbluebutton#26615.

Resolutions:
- api-conformance env/tier1/copies.sha256: each hash matches the merged
  file. preinst is 4.1's own (0413ab4), so 4.1's line; start-template
  has 4.0.3's change on both lines now, so 4.0's line.
- docs new-features.md: 4.1's file, unchanged.

# Conflicts:
#	bigbluebutton-tests/api-conformance/env/tier1/copies.sha256
#	docs/docs/new-features.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.

2 participants