Commit Graph
4670 Commits
Author SHA1 Message Date
Quentin Gliech 5cbb5d9fc7 Remove duplicate OTEL meter for the Tokio runtime (#4473) 2025-04-29 08:45:59 +02:00
Quentin Gliech dec4c03d42 Remove duplicate OTEL meter for the Tokio runtime 2025-04-29 08:38:57 +02:00
Quentin Gliech 79bf027571 Allow user deactivation on the Synapse side to take longer than 30s (#4471) 2025-04-28 19:48:22 +02:00
Quentin Gliech d7791db643 Allow Synapse user deactivation to take up to 5 minutes 2025-04-28 19:40:17 +02:00
Quentin Gliech 28676f3d56 Remove the global read_timeout on the HTTP client
The `connect_timeout` plus `timeout` are enough to handle general
network issues
2025-04-28 19:39:46 +02:00
Quentin Gliech 2622de1917 Don't check for availability of usernames that aren't ASCII (#4469) 2025-04-28 17:36:38 +02:00
Quentin Gliech ecade0aa9d Don't check for availability of usernames that aren't ASCII 2025-04-28 17:29:54 +02:00
Quentin Gliech 17632a0903 Record the axum route in the Sentry context (#4468) 2025-04-28 17:21:59 +02:00
Quentin Gliech 8c9e32e1fb Record the axum route in the Sentry context 2025-04-28 17:12:51 +02:00
Quentin Gliech e243b62d26 Avoid deadlocks when flushing session activities (#4463) 2025-04-28 10:54:33 +02:00
Quentin Gliech e2dde8268a Add a gauge which tracks the number of pending activity records 2025-04-28 10:45:10 +02:00
Quentin Gliech a4a6cce9ed Reduce the size of the activity tracker batches 2025-04-28 10:37:23 +02:00
Quentin Gliech ea0a563930 Avoid using anyhow in the activity tracker worker 2025-04-28 10:00:12 +02:00
Quentin Gliech ed8eec669b Use a tokio interval instead of a sleep in the activity tracker 2025-04-28 09:59:58 +02:00
Quentin Gliech 062d554a6f Avoid deadlocks when updating the last activity of sessions 2025-04-28 09:56:30 +02:00
Quentin Gliech 305914ee69 Fix the ordering of the middlewares (#4452) 2025-04-24 15:12:51 +02:00
Quentin Gliech cb7472995d Fix the ordering of the middlewares
This was causing the number of event processors to constantly grow
with each request, making the server use up more memory and CPU over
time.
2025-04-24 14:59:07 +02:00
Quentin Gliech 3ef91d5248 perf: avoid unnecessary clones of the log context (#4451) 2025-04-24 14:26:49 +02:00
Quentin Gliech 2a99af6349 perf: avoid unnecessary clones of the log context 2025-04-24 14:19:26 +02:00
Quentin Gliech 7d17f34780 perf: avoid unnecessary parsing of user-agents (#4449) 2025-04-24 13:55:19 +02:00
Quentin Gliech 0cfea60fa0 Don't parse the user agent unless we need to 2025-04-24 13:13:26 +02:00
Quentin Gliech 691c283a1e Compile the user-agent regexes once 2025-04-24 12:36:41 +02:00
Quentin Gliech 7e715fb7ba New logging output (#4424) 2025-04-23 18:44:41 +02:00
Quentin Gliech b9ae5228e5 Merge branch 'main' into quenting/better-logging 2025-04-23 18:37:30 +02:00
reivilibre 8aec560448 Fix cargo doc choking on invalid [DEPRECATED] 'link' (#4446) 2025-04-23 16:00:37 +00:00
Olivier 'reivilibre 281da18155 Fix cargo doc choking on invalid [DEPRECATED] 'link'
Could have escaped with a backslash but I thought just using round
brackets would be more readable than that.
2025-04-23 16:54:10 +01:00
Quentin Gliech 5861f6780e build(deps): bump sea-query from 0.32.3 to 0.32.4 in the sea-query group (#4426) 2025-04-23 17:50:30 +02:00
Quentin Gliech fcd78f570d build(deps): bump der from 0.7.9 to 0.7.10 (#4428) 2025-04-23 17:50:20 +02:00
Quentin Gliech c71400e738 build(deps): bump clap from 4.5.36 to 4.5.37 (#4429) 2025-04-23 17:50:11 +02:00
Quentin Gliech 384d5dbf47 build(deps-dev): bump the vite group across 1 directory with 2 updates (#4430) 2025-04-23 17:50:02 +02:00
Quentin Gliech 8734a1900c build(deps): bump psl from 2.1.100 to 2.1.102 (#4439) 2025-04-23 17:49:42 +02:00
Quentin Gliech 98bc5bc59a build(deps): bump sigstore/cosign-installer from 3.8.1 to 3.8.2 (#4440) 2025-04-23 17:49:33 +02:00
Quentin Gliech a82c1ab7d7 build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 (#4412) 2025-04-23 17:48:38 +02:00
Quentin Gliech c4ff05e5fe build(deps): bump swagger-ui-dist from 5.20.7 to 5.21.0 in /frontend (#4409) 2025-04-23 17:48:25 +02:00
Quentin Gliech 295436af12 Format code 2025-04-23 17:36:48 +02:00
Quentin Gliech 5fc74f7e3a Merge remote-tracking branch 'origin/main' into quenting/better-logging 2025-04-23 17:28:40 +02:00
Quentin Gliech 0c74ecdde7 Suggestions from code review:
- what unit is cpu_time in
 - reduce the number of digits when logging timings
2025-04-23 17:24:18 +02:00
Quentin Gliech 599fc85ca5 Make the new migration tool generally available (#4444) 2025-04-23 17:01:19 +02:00
dependabot[bot] 15e4d18efa build(deps): bump der from 0.7.9 to 0.7.10
Bumps [der](https://github.com/RustCrypto/formats) from 0.7.9 to 0.7.10.
- [Commits](https://github.com/RustCrypto/formats/compare/der/v0.7.9...der/v0.7.10)

---
updated-dependencies:
- dependency-name: der
  dependency-version: 0.7.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 14:16:39 +00:00
dependabot[bot] 1f6317ef90 build(deps): bump clap from 4.5.36 to 4.5.37
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.36 to 4.5.37.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.36...clap_complete-v4.5.37)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.37
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 14:16:32 +00:00
matrixbot 68c351a44a Automatic merge back to main (#4441) 2025-04-23 16:15:06 +02:00
github-actions[bot] 2daa9bf374 0.15.0 v0.15.0 2025-04-23 14:08:02 +00:00
dependabot[bot] 87193ee35d build(deps-dev): bump the vite group across 1 directory with 2 updates
Bumps the vite group with 2 updates in the /frontend directory: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `@vitejs/plugin-react` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.4.1/packages/plugin-react)

Updates `vite` from 6.3.0 to 6.3.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
- dependency-name: vite
  dependency-version: 6.3.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 14:08:00 +00:00
dependabot[bot] 787b720b4c build(deps): bump sigstore/cosign-installer from 3.8.1 to 3.8.2
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.8.1...v3.8.2)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 3.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 14:03:11 +00:00
dependabot[bot] a90f91af8a build(deps): bump psl from 2.1.100 to 2.1.102
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.100 to 2.1.102.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.100...v2.1.102)

---
updated-dependencies:
- dependency-name: psl
  dependency-version: 2.1.102
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 13:55:11 +00:00
dependabot[bot] b7e612975b build(deps): bump sea-query from 0.32.3 to 0.32.4 in the sea-query group
Bumps the sea-query group with 1 update: [sea-query](https://github.com/SeaQL/sea-query).


Updates `sea-query` from 0.32.3 to 0.32.4
- [Release notes](https://github.com/SeaQL/sea-query/releases)
- [Changelog](https://github.com/SeaQL/sea-query/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-query/compare/0.32.3...0.32.4)

---
updated-dependencies:
- dependency-name: sea-query
  dependency-version: 0.32.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sea-query
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 13:53:45 +00:00
Quentin Gliech 2539220d89 syn2mas: introduce a dry-run mode 2025-04-23 14:42:30 +02:00
Quentin Gliech 6d2e6816ec syn2mas: log progress more often 2025-04-23 14:21:15 +02:00
Quentin Gliech 55f263d017 Allow syn2mas arguments to be specified after the subcommand 2025-04-23 14:18:59 +02:00
Quentin Gliech 5e30d50f38 Fix headings in config doc (#4419) 2025-04-23 14:11:33 +02:00