synapse-old/scripts-dev
kegsay 11a8ae0632
complement: enable dirty runs (#16520)
* complement: enable dirty runs

* Add changelog

* Set a low connpool limit when running in Complement

Dirty runs can cause many containers to be running concurrently,
which seems to easily exhaust resources on the host. The increased
speedup from dirty runs also seems to use more db connections on
workers, which are misconfigured currently to have
`SUM(workers * cp_max) > max_connections`, causing
```
FATAL:  sorry, too many clients already
```
which results in tests failing.

* Try p=2 concurrency to restrict slowness of servers which causes partial state join tests to flake

* Debug logging

* Only run flakey tests

* Only adjust connection pool limits in worker mode

* Move cp vars to somewhere where they get executed in CI

* Move cp values back to where they actually work

* Debug logging

* Try p=1 to see if this makes worker mode happier

* Remove debug logging
2023-10-27 18:29:20 +01:00
..
build_debian_packages.py Build Debian packages for Ubuntu 23.10 Mantic Minotaur (#16524) 2023-10-19 21:53:05 +01:00
check-newsfragment.sh Update dead links in check-newsfragment.sh (#12331) 2022-03-30 11:44:28 +00:00
check_line_terminators.sh Fix Shellcheck SC2006: Use $(...) notation 2021-10-22 23:08:55 +01:00
check_locked_deps_have_sdists.py Add check to ensure locked dependencies have source distributions available. (#14742) 2023-02-13 18:15:38 +00:00
check_pydantic_models.py Add support for pydantic v2 via pydantic.v1 compat module (#16332) 2023-09-25 15:19:08 +00:00
check_schema_delta.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
complement.sh complement: enable dirty runs (#16520) 2023-10-27 18:29:20 +01:00
config-lint.sh Fix Shellcheck SC2006: Use $(...) notation 2021-10-22 23:08:55 +01:00
database-save.sh Drop unused table `presence` (#14825) 2023-01-13 14:17:03 +00:00
docker_update_debian_changelog.sh Fix Shellcheck SC2086: Quote to prevent splitting 2021-10-22 23:08:54 +01:00
dump_macaroon.py Change the format of access tokens away from macaroons (#5588) 2021-05-12 15:04:51 +01:00
federation_client.py Add MSC4040 `matrix-fed` service lookups (#16137) 2023-09-05 15:45:39 -04:00
generate_sample_config.sh Add suffices to scripts in scripts-dev (#12137) 2022-03-02 18:00:26 +00:00
lint.sh Add developer documentation for the Federation Sender and add a documentation mechanism using Sphinx. (#15265) 2023-03-24 16:41:10 +00:00
make_full_schema.sh Make it easier to use DataGrip w/ Synapse's schema (#14982) 2023-02-15 13:51:37 +00:00
mypy_synapse_plugin.py mypy plugin to check `@cached` return types (#14911) 2023-10-02 14:22:36 +00:00
next_github_number.sh Fix Shellcheck SC2006: Use $(...) notation 2021-10-22 23:08:55 +01:00
release.py Update the release script to remind releaser to check for special release notes. (#16461) 2023-10-16 15:22:50 +01:00
sign_json.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00