-
Notifications
You must be signed in to change notification settings - Fork 333
[FS-1148] Better resilience to unreachable backends #3282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ef87e59
[FS-1148] Resilient member adding in presence of unreachable backends…
48c816c
Remove MLS-specific changes
05bb7e3
Update changelogs
3b7e0b7
Delete the FederationFailEarly type
09a3801
Hi CI
c269f3b
More detailed federation changelog
e719033
Merge remote-tracking branch 'origin/develop' into fs-1148/only-for-d…
631a5ac
Merge remote-tracking branch 'origin/develop' into fs-1148/only-for-d…
5d25a66
Replace tuple with multiple arguments
a68d2ab
Merge remote-tracking branch 'origin/develop' into fs-1148/only-for-d…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Several federation Galley endpoints have a breaking change in their response types: "leave-conversation", "update-conversation" and "send-mls-message". They have been extended with information related to unreachable users. |
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
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
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
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
2 changes: 1 addition & 1 deletion
2
libs/wire-api-federation/test/golden/testObject_LeaveConversationResponse1.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| "Right": [] | ||
| "Right": {} | ||
| } |
7 changes: 3 additions & 4 deletions
7
libs/wire-api-federation/test/golden/testObject_MLSMessageSendingStatus1.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| { | ||
| "events": [], | ||
| "time": "1864-04-12T12:22:43.673Z", | ||
| "failed_to_send": [] | ||
| } | ||
| "events": [], | ||
| "time": "1864-04-12T12:22:43.673Z" | ||
| } |
10 changes: 10 additions & 0 deletions
10
libs/wire-api-federation/test/golden/testObject_MLSMessageSendingStatus4.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "events": [], | ||
| "failed_to_send": [ | ||
| { | ||
| "domain": "offline.example.com", | ||
| "id": "00000000-0000-0000-0000-000200000008" | ||
| } | ||
| ], | ||
| "time": "2023-04-12T12:22:43.673Z" | ||
| } |
14 changes: 14 additions & 0 deletions
14
libs/wire-api-federation/test/golden/testObject_MLSMessageSendingStatus5.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "events": [], | ||
| "failed_to_send": [ | ||
| { | ||
| "domain": "golden.example.com", | ||
| "id": "00000000-0000-0000-0000-000200000008" | ||
| }, | ||
| { | ||
| "domain": "golden.example.com", | ||
| "id": "00000000-0000-0000-0000-000100000007" | ||
| } | ||
| ], | ||
| "time": "1901-04-12T12:22:43.673Z" | ||
| } |
18 changes: 18 additions & 0 deletions
18
libs/wire-api-federation/test/golden/testObject_MLSMessageSendingStatus6.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| { | ||
| "events": [], | ||
| "failed_to_send": [ | ||
| { | ||
| "domain": "offline.example.com", | ||
| "id": "00000000-0000-0000-0000-000200000008" | ||
| }, | ||
| { | ||
| "domain": "golden.example.com", | ||
| "id": "00000000-0000-0000-0000-000200000008" | ||
| }, | ||
| { | ||
| "domain": "golden.example.com", | ||
| "id": "00000000-0000-0000-0000-000100000007" | ||
| } | ||
| ], | ||
| "time": "1905-04-12T12:22:43.673Z" | ||
| } |
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why a tuple here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you asking why not a record? Sure, I can put a record instead, I was just lazy with coming up with a name for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I'm asking why the constructor doesn't simply take the two arguments separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 5d25a66.