✨ (backend) POC: Store recordings in LaSuite Drive - #1557
Draft
cameledev wants to merge 1 commit into
Draft
Conversation
cameledev
commented
Aug 4, 2026
Comment on lines
+77
to
+164
| @@ -159,12 +159,13 @@ def test_handle_egress_updated_non_handled( | |||
| ) | |||
| @mock.patch("core.utils.notify_participants") | |||
| @mock.patch("core.services.room_management.RoomManagement.update_metadata") | |||
| def test_handle_egress_ended_metadata_update_fails( # noqa: PLR0913 # pylint: disable=too-many-arguments, too-many-positional-arguments | |||
| mock_update_metadata, mock_notify, mode, notification_type, service, settings | |||
| # Without storage events, completion falls back to the egress event itself. | |||
| @override_settings(RECORDING_STORAGE_EVENT_ENABLE=False) | |||
| def test_handle_egress_ended_metadata_update_fails( | |||
Collaborator
There was a problem hiding this comment.
you can rebase on main !
cameledev
force-pushed
the
drive-interop
branch
from
August 4, 2026 09:36
1656463 to
9bfb46f
Compare
cameledev
commented
Aug 4, 2026
Comment on lines
+20
to
+27
| def _build_filename(recording: models.Recording) -> str: | ||
| """Return a filename for the Drive item.""" | ||
|
|
||
| return ( | ||
| f"{recording.room.slug}-" | ||
| f"{recording.created_at:%Y-%m-%d-%H-%M}." | ||
| f"{recording.extension}" | ||
| ) |
Collaborator
Author
There was a problem hiding this comment.
Change to configurable template
lebaudantoine
force-pushed
the
drive-interop
branch
from
August 4, 2026 17:49
ef729b0 to
d8ab229
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Purpose
Store video recordings made by Meet in LaSuite Drive. This will allow for longer access to files by end users, reduce dependency on email links and help create usage for the LaSuite ecosystem.
Proposal
How to use
make migratedrive before runLimitiation of this POC for dev
Limitiations of this POC for prod
Problem: This POC is not meant for prod with Visio/Fichiers with the current OIDC provider as access tokens and session durations do not match. ProConnect has: (12h session, 2h refresh token, 1h access token) whereas Visio has: (7d session).
Solution: Ultimately, we expect to Visio/Drive to use Menshen as a Token Exchange server, which would issue long-lived tokens allowing the narrow task of "pushing to Fichiers for User X at Path Y", potentially with extra restrictions.
Other discussed options
Todo