Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix registration on workers #4682

Merged
merged 4 commits into from
Feb 20, 2019
Merged

Fix registration on workers #4682

merged 4 commits into from
Feb 20, 2019

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented Feb 19, 2019

There turns out to be a bunch of code paths not tested by sytest, including adding threepids and accepting ToS.

We fix this by adding a replication API to run post registration actions. We run this as a separate step, rather than as part of the existing replication API, mainly to reduce the amount of refactoring that would otherwise need to happen.

c.f. #4666

@codecov-io
Copy link

Codecov Report

Merging #4682 into develop will decrease coverage by 0.04%.
The diff coverage is 45.65%.

@@             Coverage Diff             @@
##           develop    #4682      +/-   ##
===========================================
- Coverage    75.19%   75.14%   -0.05%     
===========================================
  Files          340      340              
  Lines        34736    34767      +31     
  Branches      5680     5683       +3     
===========================================
+ Hits         26119    26126       +7     
- Misses        7014     7037      +23     
- Partials      1603     1604       +1

@erikjohnston
Copy link
Member Author

The individual commits should be fairly stand alone.

@erikjohnston erikjohnston requested a review from a team February 19, 2019 16:21
@hawkowl
Copy link
Contributor

hawkowl commented Feb 20, 2019

Looks fine.

@hawkowl hawkowl merged commit dbdc565 into develop Feb 20, 2019
@hawkowl hawkowl deleted the erikj/fix_registration_workers branch February 20, 2019 07:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants