-
Notifications
You must be signed in to change notification settings - Fork 325
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
Release 2022-12-01 - (expected chart version 4.27.0) #2891
Merged
Merged
Conversation
This file contains 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
* Fix bug in MLS user removal from conversation The list of removed clients has to be compared with those in the conversation, not the list of *all* clients of that user. * Rename getMLSClients to getClientInfo * Skip client check for deleted clients The code skipping this check was incorrectly deleted in 49782f5. This restores it (in a different form) and adds some comments explaining the logic.
Add tests for invitation urls in team invitation responses. These depend on the settings of galley.
* Add mlsSelfConvId function * Implement endpoint * Fix a typo in a test function name * Integration test: happy case * Integration test: other user attempting to join * Integration test: leaving a self-conversation * Add a changelog Co-authored-by: Marko Dimjašević <marko.dimjasevic@wire.com>
…ent data between brig and galley's clients tables. (#2830)
* Bump nixpkgs to latest unstable, stop using forked nixpkgs * Use openssl 3.0.7 for HsOpenSSL Latest nixpkgs unstable contains the fixed version of openssl. * nix/sources.json: Update description and homepage `niv update` misses this: nmattia/niv#358
* Split galley servant definition * Split galley API routes
Master->Develop after release
* Add debugtools to wire-server images * changelog * convenience makefile target for local image building
* WIP * make inputs explicit * fixup for paths * use alpine base image * Support from flokli to fix issues * formatting * add nixified nginz-disco image * attempt to add to default.nix * nginx: [warn] could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ignoring variables_hash_bucket_size * PR feedback: openssl 1.1 * changelog * also upload nginz and nginz-disco images * PR feedback * nix/nginz.nix: add nginz to contents cannon has a preStop lifecycle hook that currently invokes nginx -c … quit on stop. * nginz container: drop exposed ports All config is defined in the helm chart, just by building the container we don't know which ports are exposed. * services/nginz: drop Dockerfile, README and Makefile We use Nix to build this now. * Hi CI * remove no-longer-necessary openssl1.1 override Co-authored-by: Florian Klink <flokli@flokli.de>
Ensure all these files are formatted.
This file is managed by niv
That list was taken from hack/bin/shellcheck.sh
* Create self-conversation before listing * Test: self-conversation created automatically * Create an MLS self-conversation only in v3 * Adjust tests for listing the MLS self-conversation * Drop `GET /conversations/ids` starting v3 * Make tests for `GET /conversations/ids` use v2 - The endpoint is removed starting v3, and tests by default use the latest version, which is currently v3
This reverts commit 5d9f018. It introduced flaky tests. E.g.: - https://concourse.ops.zinfra.io/teams/main/pipelines/wire-server-pr/jobs/integration-tests/builds/935.2#L634fd92d:2505 - https://concourse.ops.zinfra.io/teams/main/pipelines/wire-server-pr/jobs/integration-tests/builds/935.3#L634fda54:2468
We don't use cabal anymore to fetch packages from hackage
Co-authored-by: Zebot <zebot@users.noreply.github.com>
…2872) * Test: use a commit bundle instead of a commit * Exclude self-conversations in v2 * Test: self-conv exists and not listed below v3
…ion error. (#2862) * Improve dealing with global team convo * Re-use function instead of redefining. * Re-extracted helper conversation function * Preemptively create GTC on listing Ids * Fixed typo * Improved error type for unexpected sender client on creation for Self/GTC * Apply feedback from review.
* charts/sftd: add compatibility for sftd versions 3.1.10 and later. * changelog: update for sftd chart changes.
…am conversation error (#2887) * Path-fix GTC edge case where reg conv with team and names were confused for global team conversations (adds test case) * Golf guard
Co-authored-by: Zebot <zebot@users.noreply.github.com>
zebot
added
the
ok-to-test
Approved for running tests in CI, overrides not-ok-to-test if both labels exist
label
Dec 1, 2022
mdimjasevic
approved these changes
Dec 1, 2022
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.
Looks good.
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.
[2022-12-01] (Chart Release 4.27.0)
Release notes
This realease migrates data from
galley.member_client
togalley.mls_group_member_client
. When upgrading wire-server no manual steps are required. (Use MLS member table indexed by group id #2859)Upgrade webapp version to 2022-11-30-production.0-v0.31.9-0-43726e9 (Update webapp version in Helm chart [skip ci] #2302)
API changes
Support MLS self-conversations via a new endpoint
GET /conversations/mls-self
. This removes thePUT
counterpart introduced in [FS-925] Add endpoint to create MLS self-conversation #2730 ([FS-925] Lazily create an MLS Self-conversation #2839)List the MLS self-conversation automatically without needing to call
GET /conversations/mls-self
first ([FS-1191] List the MLS Self-conversation Automatically #2856)Features
PATCH
#2855)Bug fixes and other updates
Avoid client deletion edge case condition which can lead to inconsistent data between brig and galley's clients tables. (Avoid client deletion edge case condition which can lead to inconsist… #2830)
Do not list MLS self-conversation in client API v1 and v2 if it exists ([FS-1249] Do Not List MLS Self-conversation in client API v1 and v2 #2872)
Prevention of storing unnecessary data in the database if adding a bot to a conversation fails. ([SQSERVICES-1801] Prevent dead bots in database #2870)
Fix bug in MLS user removal from conversation: the list of removed clients has to be compared with those in the conversation, not the list of all clients of that user (Fix client check when removing clients from MLS conversations #2817)
Due to
sftd
changing how configuration is handled for "multi-SFT" calling (starting with version 3.1.10), new options have been added to thesftd
Helm chart for compatibility with these newer versions. (Fix SFT Helm chart for new sftd versions #2886)For sftd/coturn/restund, fixed a bug in external ip address lookup, in case Kubernetes Node Name doesn't equal hostname. ([charts:sftd,restund,coturn] Fix case when hostname is not node name #2837)
Requesting a new token with the client_id now works correctly when the old token is part of the request (Add client_id to token in all cases #2860)
Documentation
Internal changes
Add tests for invitation urls in team invitation responses. These depend on the settings of galley. (Add test for urls in team invitations (SQPIT-1368) #2797)
Remove support for compiling local docker images with buildah. Nix is used to build docker images these days (remove buildah references #2822)
bump nginx-module-vts from v0.1.15 to v0.2.1 (bump nginx-module-vts from v0.1.15 to v0.2.1 #2827)
Nix-created docker images: add some debugging tools in the containers, and add 'make build-image-' for convenience (docker images: Add container utilities #2829)
Split galley API routes and handler definitions into several modules (Split galley servant definition #2820)
Default intraListing to true. This means that the list of clients, so far saved in both brig's and galley's databases, will still be written to both, but only read from brig's database. This avoids cases where these two tables go out of sync. Brig becomes the source of truth for clients. In the future, if this holds, code and data for galley's clients table can be removed. (allow configuring intra-listing in galley, make default=true #2847)
Build nginz and nginz_disco docker images using nix (Build nginz and nginz_disco docker images using nix, too #2796)
Bump nixpkgs to latest unstable. Stop using forked nixpkgs. (Bump nixpkgs to latest unstable, unpin openssl #2828)
Brig calling API is now migrated to servant ([SQSERVICES-1644] Servantify brig calling API #2815)
Fixed flaky feature TTL integration test ([SQSERVICES-1618] Flaky test for TTL feature flag #2823)
Brig teams API is now migrated to servant ([SQSERVICES-1010] Servantify brig team API #2824)
Backoffice Swagger 2.x docs is exposed on
/
and the old Swagger has been removed. Backoffice helm chart only runs stern without an extra nginx. ([SQSERVICES-1787] fix backoffice swagger-ui #2846)Stern API endpoint
GET ejpd-info
has now the correct HTTP method (Fix stern API endpoint ejpd-info with correct HTTP method #2850)External commits: add additional checks (External commits: add additional checks #2852)
Golden tests for conversation and feature config event schemas ([FS-1008] Golden tests for event schemas #2861)
Refactor and simplify MLS message handling logic (Simplify and cleanup MLS message handling #2844)
Replay external backend proposals after forwarding external commits.
One column added to Galley's mls_proposal_refs. (Replay external backend proposals after external commits #2842)
Use treefmt to ensure consistent formatting of .nix files, use for shellcheck too (Use treefmt to nixpkgs-fmt all .nix files #2831)