WPB-26538: Add PUT /meetings/:domain/:id/invitations - #5285
Merged
blackheaven merged 4 commits intoJun 23, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds support for replacing the full invited-email list for a meeting via a new Galley public API endpoint, wiring it through the Meetings subsystem/store layers and covering it with unit + integration tests.
Changes:
- Add
PUT /meetings/:domain/:id/invitationsto replace all invited emails on a meeting. - Extend
MeetingsSubsystemandMeetingsStorewithReplaceInvitedEmails, including Postgres implementation and service handler wiring. - Add unit and integration test coverage for the new replace behavior (success, empty list, not found, unauthorized).
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| services/galley/src/Galley/API/Public/Meetings.hs | Wires the new named API handler into Galley’s public meetings API. |
| services/galley/src/Galley/API/Meetings.hs | Adds the replaceMeetingInvitation handler that calls the Meetings subsystem. |
| libs/wire-subsystems/test/unit/Wire/MockInterpreters/MeetingsStore.hs | Extends the in-memory MeetingsStore interpreter to support replacing invited emails. |
| libs/wire-subsystems/test/unit/Wire/MeetingsSubsystem/InterpreterSpec.hs | Adds unit tests for replaceInvitedEmails behavior and feature-flag handling. |
| libs/wire-subsystems/src/Wire/MeetingsSubsystem/Interpreter.hs | Implements replaceInvitedEmailsImpl and hooks it into the subsystem interpreter. |
| libs/wire-subsystems/src/Wire/MeetingsSubsystem.hs | Adds the ReplaceInvitedEmails effect constructor (with makeSem support). |
| libs/wire-subsystems/src/Wire/MeetingsStore/Postgres.hs | Implements the Postgres update to replace invited_emails and updates updated_at. |
| libs/wire-subsystems/src/Wire/MeetingsStore.hs | Adds the ReplaceInvitedEmails store effect constructor (with makeSem support). |
| libs/wire-api/src/Wire/API/Routes/Public/Galley/Meetings.hs | Exposes the new PUT route in the public API type. |
| integration/test/Test/Meetings.hs | Adds integration tests for replacing invitations (including empty list and authorization/not-found cases). |
| integration/test/API/Galley.hs | Adds an integration test helper for the new PUT invitation endpoint. |
| changelog.d/1-api-changes/WPB-26538 | Documents the new endpoint in the changelog. |
supersven
reviewed
Jun 23, 2026
| :<|> Named | ||
| "replace-meeting-invitation" | ||
| ( Summary "Replace the invited emails" | ||
| :> From 'V16 |
Contributor
There was a problem hiding this comment.
Is V16 the expected target, or V17? (I'm always confused if this is inclusive or exclusive 😅 )
blackheaven
force-pushed
the
gdifolco/WPB-26538-wire-meetings-invitation-put
branch
from
June 23, 2026 18:29
0e695bf to
8868c7f
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.
https://wearezeta.atlassian.net/browse/WPB-26538
Checklist
changelog.d