Skip to content

Commit

Permalink
Better complement docs (#16946)
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay authored Feb 20, 2024
1 parent 3eb0a3b commit 0c55c76
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/16946.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve the documentation around running Complement tests with new configuration parameters.
11 changes: 11 additions & 0 deletions docker/complement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,14 @@ Consult `scripts-dev/complement.sh` in the repository root for a real example.

[complement]: https://github.com/matrix-org/complement
[complementEnv]: https://github.com/matrix-org/complement/pull/382

## How to modify homeserver.yaml for Complement tests

It's common for MSCs to be gated behind a feature flag like this:
```yaml
experimental_features:
faster_joins: true
```
To modify this for the Complement image, modify `./conf/workers-shared-extra.yaml.j2`. Despite the name,
this will affect non-worker mode as well. Remember to _rebuild_ the image (so don't use `-e` if using
`complement.sh`).

0 comments on commit 0c55c76

Please sign in to comment.