Skip to content
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 2019 11 06 #902

Merged
merged 27 commits into from
Nov 7, 2019
Merged

Release 2019 11 06 #902

merged 27 commits into from
Nov 7, 2019

Conversation

jschaul
Copy link
Member

@jschaul jschaul commented Nov 6, 2019

2019-11-06 #901

Relevant for self-hosters

Relevant for client developers

Bug fixes

Internal changes

fisx and others added 27 commits October 7, 2019 17:27
* docs

* Add missing spar integration test cases
* Do not have default args that never apply

* Make errors more greppable, do not abort on first error

* Usage info
* Fix: remove duplicate object field in ToJSON

* Remove unnecessary toJSON call
* Change SCIM documentation to actually use SAML Ids

UUIDs are a bit confusing here. It is more common that your SAML provider is configured to have email addresses isntead

Co-Authored-By: fisx <mf@zerobuzz.net>
Stack started not liking being called from a nix-shell anymore, because
stack wants to create the nix-shell itself so it does some
auto-detection and crashes.  To trick it into doing the right thing
again, we only use the nix-shell for non-build-deps and just for dev
tools, then stack itself will call another nix-shell file that just
handles build deps for the stack project.
Introduce `Gundeck.ThreadBudget.runWithBudget` that can be wrapped
around actions.  Wrapped actions are executed only if there is budget
available, otherwise they are dropped and a warning is logged.  See
the haddocks at the beginning of `Gundeck.ThreadBudget` for a
rationale.
Co-Authored-By: Tiago Manuel Ventura Loureiro <tiago.loureiro@gmail.com>
Currently, we get spammed with these warnings before any traffic
happens, due to an incorrect handling of boolean.

[gundeck] W, request=N/A, watchThreadBudgetState: total overall thread budget diverged from async weights (repaired).
[gundeck] W, request=N/A, watchThreadBudgetState: total overall thread budget diverged from async weights (repaired).
[gundeck] W, request=N/A, watchThreadBudgetState: total overall thread budget diverged from async weights (repaired).
…fyIORef (#891)

* Add ad-hoc bench for O(n) function

* Fix: do not block ThreadBudgetState for expensive sanity check

* move benchmarking code out from production code, do real benchmarks
* emit counter metric on soft/hard limit breached

* Cleanup exports

* More related work
Events about deleted conversations do not need to be sent to everyone
when a team is deleted. Indeed, it is harmful in that it leads to performance problems:
For large teams with many conversations, notifying
every team member about that fact that every conversation has been
deleted creates a lot of events.
None of these events are useful, since on a team deletion, the accounts
of every user are deleted, i.e. in practice these events cannot be read.

This PR fixes the bug that was introduced in #849
http-client: bump to wire-20191104
* throttle galley->gundeck requests on team deletion by sending events slower (configurable, optional, slow/cautious defaults)
* throttle user deletions (brig) by waiting in between each user deletion (configurable, optional, default: 100ms)
Chunk nativeToken lookups and chunk native pushes to SNS to avoid unbounded new connections to open on when sending to large amounts of recipients.

* configurable (suggestion: 32); default to unbounded
- New configuration options available (none mandatory). See #895 #900 #869

- Support HEAD requests for `/sso/initiate-bind` (#878)

- Do not send conversation delete events to team members upon team deletion (#897)
- Support SNI for bot registrations (by bumping http-client version) (#899)

- Make gundeck handle AWS outages better. (#869, #890, #892)
- Improve performance by avoiding unbounded intra-service traffic spikes on team deletions (#900)
- Add optional native push connection throttling (#895)
- New backoffice/stern endpoint (#896)
- SAML: Store raw idp metadata with typed details in c* (#872)
- documentation/script updates
@jschaul jschaul merged commit 154ad3b into master Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants