synapse/changelog.d
Eric Eastwood a7107458c6
Refactor app entrypoints (avoid exit(1) in our composable functions) (#19121)
- Move `register_start` (calls `os._exit(1)`) out of `setup` (our
composable function)
- We want to avoid `exit(...)` because we use these composable functions
in Synapse Pro for small hosts where we have multiple Synapse instances
running in the same process. We don't want a problem from one homeserver
tenant causing the entire Python process to exit and affect all of the
other homeserver tenants.
     - Continuation of https://github.com/element-hq/synapse/pull/19116
- Align our app entrypoints: `homeserver` (main), `generic_worker`
(worker), and `admin_cmd`

### Background

As part of Element's plan to support a light form of vhosting (virtual
host) (multiple instances of Synapse in the same Python process) (c.f
Synapse Pro for small hosts), we're currently diving into the details
and implications of running multiple instances of Synapse in the same
Python process.

"Clean tenant provisioning" tracked internally by
https://github.com/element-hq/synapse-small-hosts/issues/48
2025-11-03 12:04:43 -06:00
..
.gitignore
19020.misc Fix schema lint script to understand CREATE TABLE IF NOT EXISTS (#19020) 2025-10-31 13:16:47 +00:00
19021.feature Add an admin API to get the space hierarchy (#19021) 2025-10-24 15:32:16 -05:00
19046.misc Use type hinting generics in standard collections (#19046) 2025-10-22 16:48:19 -05:00
19047.doc Always treat RETURNING as supported by SQL engines (#19047) 2025-10-24 13:21:49 -05:00
19047.misc Always treat RETURNING as supported by SQL engines (#19047) 2025-10-24 13:21:49 -05:00
19047.removal Always treat RETURNING as supported by SQL engines (#19047) 2025-10-24 13:21:49 -05:00
19055.misc Python 3.14 support (#19055) 2025-11-03 11:53:59 +00:00
19058.misc Remove logcontext problems caused by awaiting raw deferLater(...) (#19058) 2025-10-29 10:23:10 -05:00
19062.bugfix Move reading of multipart response into try body (#19062) 2025-10-30 15:22:52 +00:00
19067.misc Prevent duplicate logging setup when running multiple Synapse instances (#19067) 2025-10-30 10:21:56 -05:00
19068.misc Be mindful of other logging context filters in 3rd-party code (#19068) 2025-10-31 10:12:05 -05:00
19071.misc Pydantic v2 (#19071) 2025-10-31 09:22:22 +00:00
19073.doc Make optional networking and security settings for Redis more apparent in workers.md (#19073) 2025-10-23 10:10:10 -05:00
19079.bugfix Update oidc_session_no_samesite cookie to be Secure (#19079) 2025-10-21 13:35:55 +01:00
19080.misc Fix deprecation warning in release script (#19080) 2025-10-24 11:19:04 +01:00
19081.misc Update poetry dev dependencies name (#19081) 2025-10-24 11:19:40 +01:00
19085.misc Remove cibuildwheel pp38* skip selector (#19085) 2025-10-24 10:39:29 +01:00
19088.misc Don't exit the release script if there are uncommitted changes (#19088) 2025-10-24 10:39:06 +01:00
19089.misc Spruce up generated announcement text in the release script (#19089) 2025-10-24 10:19:44 +01:00
19090.bugfix Fix lost logcontext when using timeout_deferred(...) (#19090) 2025-10-30 11:49:15 -05:00
19092.misc Fix lints on develop (#19092) 2025-10-22 10:39:04 -05:00
19094.misc Cheaper logcontext debug logs (random_string_insecure_fast(...)) (#19094) 2025-10-30 11:47:53 -05:00
19095.misc Be mindful of other SIGHUP handlers in 3rd-party code (#19095) 2025-10-29 10:28:05 -05:00
19096.misc Prevent duplicate GH releases being created during Synapse release process (#19096) 2025-10-30 12:40:53 +00:00
19098.misc Use Pillow's non-experimental getexif (#19098) 2025-10-28 13:11:45 -05:00
19099.removal Drop Python 3.9, bump tests/builds to Python 3.10 (#19099) 2025-10-29 12:15:00 -05:00
19100.doc Update docs on downstream Debian package (#19100) 2025-10-28 17:25:16 -05:00
19107.misc Exclude .lock file from /usr/local when building docker images (#19107) 2025-10-30 10:17:35 +00:00
19109.doc Add a docs page with common steps to review the release notes (#19109) 2025-10-29 11:32:33 +00:00
19110.misc Update check_dependencies to support markers (#19110) 2025-10-30 21:33:29 +00:00
19116.misc Move exception handling up the stack (avoid exit(1) in our composable functions) (#19116) 2025-11-03 11:18:56 -06:00
19118.misc Fix Rust’s confusing lifetime lint (#19118) 2025-10-31 12:09:13 +00:00
19121.misc Refactor app entrypoints (avoid exit(1) in our composable functions) (#19121) 2025-11-03 12:04:43 -06:00