Skip to content

chore(bbb-web): remove the dead api/guestWait route - #26117

Merged
antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
antobinary:chore-400-remove-dead-guestwait-route
Oct 21, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
antobinary:chore-400-remove-dead-guestwait-route

Conversation

@antobinary

Copy link
Copy Markdown
Member

What does this PR do?

Removes the /bigbluebutton/api/guestWait route and the code that only existed for it:

  • the UrlMappings.groovy entry that pointed it at ApiController.guestWaitHandler
  • the GUEST_WAIT entry and case in ValidationService
  • the GuestWait request class, which only that case constructed
  • the two guestWait requests in the Postman collections

The guest lobby itself is not touched: since #20344 it is the client's join-handler/guest-wait React component, rendered by presenceManager from user_current.guestStatus over GraphQL.

Why

#20344 (5d3178f) turned the guest wait page into that React component and deleted guestWaitHandler together with the static guest-wait.html it served and polled, but left the mapping behind. Grails has had no action to dispatch to since, so the route answers 404 (checked on a 4.0.1 build: GET /bigbluebutton/api/guestWait is 404 while /api/join without parameters is a 302), and nothing in the repository builds that URL any more. The validation entry and request class were only reachable through that action. Same cleanup as was done for /enter.

How to test

  • A guest joining a meeting with guestPolicy=ASK_MODERATOR still lands in the lobby and is let in or denied by a moderator as before (nothing on that path changes).
  • curl -I https://<server>/bigbluebutton/api/guestWait is 404 before and after.

Notes

bbb-common-web and bigbluebutton-web were checked for remaining references to GuestWait, GUEST_WAIT, guestWaitHandler and api/guestWait (none outside this diff); the Java/Grails build was not run locally.

/bigbluebutton/api/guestWait was mapped to a guestWaitHandler action
that ApiController no longer has: 5d3178f (bigbluebutton#20344) turned the guest
wait page into a React component, which reads the guest status over
GraphQL, and deleted the action together with the static page it
served. The mapping stayed behind, so the route has answered 404 since,
and nothing in the repository builds that URL any more. The mapping
goes, with the GUEST_WAIT validation entry, its GuestWait request class,
which only that entry constructed, and the guestWait requests in the
Postman collections, as was done when /enter was removed.
@antobinary antobinary added this to the Release 4.0 milestone Oct 20, 2026
@antobinary
antobinary requested a review from paultrudel October 20, 2026 17:16
@coderabbitai

coderabbitai Bot commented Oct 20, 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: 1af06e20-b502-4184-9d8e-f13451cc16d8
📥 Commits

Reviewing files that changed from the base of the PR and between cc88c33 and 0898eba.

📒 Files selected for processing: 5
  • bbb-common-web/src/main/java/org/bigbluebutton/api/model/request/GuestWait.java
  • bbb-common-web/src/main/java/org/bigbluebutton/api/service/ValidationService.java
  • bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/UrlMappings.groovy
  • bigbluebutton-web/test/postman/invalid_session_token.postman_collection.json
  • bigbluebutton-web/test/postman/valid.postman_collection.json
💤 Files with no reviewable changes: 5
  • bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/UrlMappings.groovy
  • bbb-common-web/src/main/java/org/bigbluebutton/api/model/request/GuestWait.java
  • bigbluebutton-web/test/postman/valid.postman_collection.json
  • bigbluebutton-web/test/postman/invalid_session_token.postman_collection.json
  • bbb-common-web/src/main/java/org/bigbluebutton/api/service/ValidationService.java

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

Walkthrough

The change removes the guestWait request model and its request-validation mappings. It also removes the /bigbluebutton/api/guestWait GET route and deletes the corresponding valid and invalid-session-token Postman requests.

Priority: ⬇️ Low

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

Change: Other

Merge Risk: ⚪ Minimal · up to 0898e

The obsolete guestWait API route and its associated code can be merged after normal checks; no actionable regression was found.

Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description clearly explains the removal of the dead guestWait route and its exclusive code and tests. It also states that the guest lobby remains unchanged.
Title check Passed The title clearly and concisely identifies the main change: removing the dead api/guestWait route.
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.
Full details: Docstring Coverage

Explanation

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

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

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary
antobinary merged commit 3819b94 into bigbluebutton:v4.0.x-develop Oct 21, 2026
34 checks passed
paultrudel added a commit to paultrudel/bigbluebutton that referenced this pull request Oct 22, 2026
api/guestWait (bigbluebutton#26117) and presentation/delegate (bigbluebutton#26119) are gone. The cases pin the 404 and record the error page without comparing 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.

2 participants