Skip to content

[fix] Add two parameters to meetingEndedCallbackURL to show record-processing banner in GL - #25929

Open
hiroshisuga wants to merge 1 commit into
bigbluebutton:v3.0.x-developfrom
hiroshisuga:30xadd2params
Open

hiroshisuga wants to merge 1 commit into
bigbluebutton:v3.0.x-developfrom
hiroshisuga:30xadd2params

Conversation

@hiroshisuga

@hiroshisuga hiroshisuga commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Add two parameters to the meetingEndedCallbackURL. There parameters are necessary to notify Greenlight that a recording is being processed.

Many other changes fixing CR - LF inconsistency have been included automatically by github. But the important change is only at line 1212- .

Closes Issue(s)

Closes bigbluebutton/greenlight#6339

Motivation

bigbluebutton/greenlight#6328 switched from meta_endCallbackUrl to meetingEndedURL and added JWT validation to the callback handler.

However, BigBlueButton currently invokes meetingEndedURL without adding meetingID or recordingmarks. Greenlight rejects the request because meetingID is missing. Consequently, its processing-recording count is not incremented, and the “Processing recordings” indicator does not appear.

How to test

More

Compatibility with other frontends has not yet been verified.
The meetingEndedURL is a general callback used by other frontends than Greenlight. This change adds new parameters to all such callbacks.

@coderabbitai

coderabbitai Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

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: 4b6ba9b0-550e-4cda-94dd-446498a36453

📥 Commits

Reviewing files that changed from the base of the PR and between 38352b3 and 38e99a8.

📒 Files selected for processing (1)
  • bbb-common-web/src/main/java/org/bigbluebutton/api/MeetingService.java

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

For non-breakout meetings with a configured meeting-ended callback URL, meetingEnded adds recordingmarks and meetingID query parameters before dispatching the callback. URI construction and dispatch are inside exception handling. Failures are logged with the callback URL.

Priority: ➖ Normal

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

Change: Bug fix · Severity of issue fixed: Low

Suggested reviewers: ramonlsouza

Merge Risk: ⚪ Minimal · up to 38e99

Eligible meeting-ended callbacks now include recording status and meeting identity, helping integrations track recording processing. They continue through existing URL validation and dispatch; no concrete merge-blocking failure is established.

Security Architecture Review

Security architecture risk: 🔵 Low · up to 38e99

The change remains behind existing outbound-request protections and does not introduce a new destination or privilege. Compatibility with external callback receivers, especially URLs containing the same parameter names, remains unconfirmed.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • observed — The changed behavior applies to every non-breakout meeting with a configured meetingEndedURL. Its existing callback destination now receives the meeting's external ID and recording-mark status in the query string; the destination itself remains meeting-configured.

Trust Boundaries and Controls

  • observed — The complete callback URL still crosses centralized URL validation before network access. Validation failure blocks dispatch; successful validation supplies pinned DNS addresses, redirects remain disabled, and requests retain bounded timeouts. These transport controls do not establish receiver-side identity authorization.

Resilience and Maintainability Implications

  • observed — After successful enqueue, delivery retains the existing in-memory queue and terminal states: success, permanent validation failure, or transient retries through five attempts before exhaustion. Durable recovery and duplicate suppression are not added by this PR; those existing limitations do not establish a newly introduced security concern.

Hardening Proposals

  • proposed — Define producer and receiver agreement on duplicate meetingID and recordingmarks keys, including how the effective meeting identity is bound to callback authentication. This is contract hardening, not a verified receiver vulnerability.
🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The diff includes formatting-only line-ending changes in unrelated shared-notes methods, imports, fields, and setters. These changes do not implement or support the meetingEndedCallbackURL parameter… Revert the unrelated formatting-only changes. Keep the callback URL parameter implementation and any directly related changes.
Docstring Coverage ⚠️ Warning Docstring coverage is 7.69% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 13 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Issue [#6339] requires the processing-recordings indicator to appear while Greenlight processes a recording. The callback path now appends recordingmarks and meetingID to meetingEndedCallbackURL…
Title check ✅ Passed The title clearly states the main change: adding two parameters to meetingEndedCallbackURL. It is specific and related to the recording-processing banner objective.
Description check ✅ Passed The description explains the callback change, its Greenlight motivation, the affected behavior, and the known compatibility limitation. It is directly related to the changeset.
Full details: Out of Scope Changes check

Explanation

The diff includes formatting-only line-ending changes in unrelated shared-notes methods, imports, fields, and setters. These changes do not implement or support the meetingEndedCallbackURL parameters for issue [#6339].

✨ 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.

@hiroshisuga hiroshisuga changed the title Add two parameters to meetingEndedCallbackURL [fix] Add two parameters to meetingEndedCallbackURL Oct 2, 2026
@hiroshisuga hiroshisuga changed the title [fix] Add two parameters to meetingEndedCallbackURL [fix] Add two parameters to meetingEndedCallbackURL to show record-processing banner Oct 2, 2026
@hiroshisuga hiroshisuga changed the title [fix] Add two parameters to meetingEndedCallbackURL to show record-processing banner [fix] Add two parameters to meetingEndedCallbackURL to show record-processing banner in GL Oct 2, 2026
@antobinary antobinary added this to the Release 3.0 milestone Oct 2, 2026
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

✅ Automated tests have passed!

antobinary added a commit that referenced this pull request Oct 29, 2026
#25764 documented recordingmarks on the meetingEndedURL callback, which
4.0 did not send until the port of #25929. The request now carries
meetingID as well, as the meta_endCallbackUrl callback has since 2.2,
and Greenlight 3.9 needs both.

Also say where the parameters go: after the query the application put
on the URL, without replacing a parameter of the same name, so an
application that already uses one of these names gets both values.
antobinary added a commit that referenced this pull request Oct 29, 2026
…etingID

The test checks the request bbb-web really sends for meetingEndedURL
without a callback receiver, which the URL validator would refuse in CI
anyway (https only, no private hosts). The callback is bbb-web's own
create, signed for the query bbb-web reads once recordingmarks and
meetingID are appended after the checksum, so the call validates only
when both parameters are there, in that order. A validated create
re-creates the meeting that just ended, which getMeetingInfo then
reports under a new internal meeting ID. A control through
meta_endCallbackUrl, which has carried both parameters since 2.2, tells
a server that cannot call itself back from a missing parameter; such
servers skip the test.

CI needs fetchUrlAllowedLocalHosts=bbb-ci.test for the test to run
there. The install action maps bbb-ci.test to the runner's first
`hostname -I` address, a private one, and the callback validator
refuses a host that resolves to a private address unless the property
lists it; it is empty by default and bbb-install does not set it. The
@ci "Override default presentation on CREATE" test, whose download from
https://bbb-ci.test/default.pdf works in CI today, does not show
otherwise: PresRedirectValidator skips the address check for exactly
the defaultUploadedPresentation URL, and CallbackRedirectValidatorService
has no such bypass. What that download does show is that the JVM
trusts the CI certificate, which the callback needs as well.

Fails on v4.0.x-develop before the port of #25929 (the callback carried
no parameters, so the checksum does not match and the meeting stays
ended), passes with it.
antobinary added a commit that referenced this pull request Oct 29, 2026
…llback-params-40

fix(core): Add two parameters to meetingEndedCallbackURL to show record-processing banner in GL- #25929
@antobinary

Copy link
Copy Markdown
Member

Fixed on BBB 4.0.1 via #26243 (a few more lines changed).
Thanks for the original PR!

This branch has not been deployed

No deployments
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.

"Processing recordings" indicator no longer displayed

2 participants