Skip to content

fix: Recordings break on nfs - #25106

Merged
antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
defnull:defnull-nfs
May 20, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
defnull:defnull-nfs

Conversation

@defnull

@defnull defnull commented May 19, 2026

Copy link
Copy Markdown
Contributor

Some recording scripts use FileUtils.rm_r to delete temporary directories, which sometimes fails on NFS with a "Directory not empty" error. Replacing those calls with FileUtils.rm_rf fixes the issue.

Some recording scripts use `FileUtils.rm_r` to delete temporary directories, which sometimes fails on NFS with a "Directory not empty" error. Replacing those calls with `FileUtils.rm_rf` fixes the issue.
@coderabbitai

coderabbitai Bot commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c58cb35c-5025-47a5-b7a4-d7ab0364751f

📥 Commits

Reviewing files that changed from the base of the PR and between 84e4305 and 44bee70.

📒 Files selected for processing (5)
  • record-and-playback/notes/scripts/publish/notes.rb
  • record-and-playback/podcast/scripts/publish/podcast.rb
  • record-and-playback/presentation/scripts/publish/presentation.rb
  • record-and-playback/screenshare/scripts/publish/screenshare.rb
  • record-and-playback/video/scripts/publish/video.rb

Walkthrough

This pull request updates cleanup logic across five record-and-playback publish scripts (notes, podcast, presentation, screenshare, and video). Each script's post-publish cleanup phase is modified to use FileUtils.rm_rf instead of FileUtils.rm_r when removing processed and published directories. The change applies consistent force-recursive deletion semantics, overriding permission constraints that may arise during cleanup of temporary processing directories.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix: Recordings break on nfs' directly describes the main change—fixing a file deletion issue affecting NFS environments across recording scripts.
Description check ✅ Passed The description clearly explains the problem (FileUtils.rm_r failing on NFS) and the solution (replacing with FileUtils.rm_rf), which matches the changeset across all five modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary antobinary added this to the Release 3.0 milestone May 20, 2026
@antobinary

Copy link
Copy Markdown
Member

Thank you!

@antobinary
antobinary merged commit 47f3cce into bigbluebutton:v3.0.x-develop May 20, 2026
34 checks passed
@kepstin

kepstin commented May 20, 2026

Copy link
Copy Markdown
Contributor

This commit is not correct, see my notes in #24772 (comment) for details on why.

antobinary added a commit that referenced this pull request May 20, 2026
@antobinary antobinary mentioned this pull request May 29, 2026
16 of 17 tasks
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.

3 participants