Merged
Conversation
e7b361b to
aac0418
Compare
0d7c858 to
e1bc929
Compare
e1bc929 to
4b6e4f8
Compare
stefanwire
approved these changes
Jul 15, 2024
|
It is great to see recent this progress towards this federation plan! It would be an absolute boon since: This makes the flow / management easy for expert users who want to self-host wire, and no harder than any other messenger app to then get users onto their federated server! |
stefanwire
added a commit
that referenced
this pull request
Sep 12, 2024
* Initial v1 docker-compose setup * Update service configuration in federation-v1 * Improve run script * Rename federation-v0 and federation-v1 services * Make federation-v* optional * Allow PTest to use IO * Introduce VersionedFed * Setup federation-v1 in integration tests * Fix coredns network * Use legacy backends in some of the tests * Fix background worker config in fed-v1 * federation-v0 and -v1 configuration for integration tests * fix linter * fix Helm chart for integration tests * Add CHANGELOG entry * Enable debug log level for federator * Disable one of the tests on legacy backends --------- Co-authored-by: Stefan Berthold <stefan.berthold@wire.com>
stefanwire
added a commit
that referenced
this pull request
Sep 12, 2024
* Initial v1 docker-compose setup * Update service configuration in federation-v1 * Improve run script * Rename federation-v0 and federation-v1 services * Make federation-v* optional * Allow PTest to use IO * Introduce VersionedFed * Setup federation-v1 in integration tests * Fix coredns network * Use legacy backends in some of the tests * Fix background worker config in fed-v1 * federation-v0 and -v1 configuration for integration tests * fix linter * fix Helm chart for integration tests * Add CHANGELOG entry * Enable debug log level for federator * Disable one of the tests on legacy backends --------- Co-authored-by: Stefan Berthold <stefan.berthold@wire.com>
stefanwire
added a commit
that referenced
this pull request
Sep 12, 2024
* Initial v1 docker-compose setup * Update service configuration in federation-v1 * Improve run script * Rename federation-v0 and federation-v1 services * Make federation-v* optional * Allow PTest to use IO * Introduce VersionedFed * Setup federation-v1 in integration tests * Fix coredns network * Use legacy backends in some of the tests * Fix background worker config in fed-v1 * federation-v0 and -v1 configuration for integration tests * fix linter * fix Helm chart for integration tests * Add CHANGELOG entry * Enable debug log level for federator * Disable one of the tests on legacy backends --------- Co-authored-by: Stefan Berthold <stefan.berthold@wire.com>
This was referenced Oct 23, 2024
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.
This sets up a federation-v1 backend in docker-compose and turns some of the federation tests into API compatibility tests. We ran into issues when trying to run
testRemoteUserGetsDeletedon the legacy environments, for different reasons:So for the time being that test is not used to test API compatibility.
This PR also changes the default behaviour of the docker compose script. Now the federation-v0 (resp. the new federation-v1 backend) is not started unless the variable
ENABLE_FEDERATION_V0(resp.ENABLE_FEDERATION_V1) is set to 1. The script can now also take optional arguments, which are passed directly to docker-compose.https://wearezeta.atlassian.net/browse/WPB-9001
Checklist
changelog.d