959 Commits
Author SHA1 Message Date
Ben Banfield-Zanin 85283b1040 Restart appservices and Synapse if a registration changes 2026-11-19 13:23:03 +00:00
Ben Banfield-Zanin 7ba043178e Ensure all AppServices have a distinct Service setup in a consistent manner. 2026-11-19 13:22:59 +00:00
Guillaume C 9b7123af16 Service configuration moved to component 2026-11-17 15:12:09 +01:00
Gaël Goinvic 4ab8a54bae Merge pull request #1806 from element-hq/gaelg/matrix-rtc-authorisation-rename
Fix matrix-rtc-authorisation-service can generate names too long
2026-11-13 17:35:24 +01:00
Gael Goinvic 2b75d47557 Fix matrix-rtc-authorisation-service can generate names too long 2026-11-13 16:25:46 +00:00
Ben Banfield-Zanin ad85337bd3 Merge pull request #1788 from mvanhorn/fix/1417-syn2mas-warning-exit-code
Allow syn2mas preflight warnings to proceed
2026-11-13 16:21:21 +00:00
Matt Van Horn 7e5f570af7 Drop BUILD_MATRIX_TOOLS from the syn2mas integration env
It was only there so CI built matrix-tools on the fork and is no
longer needed.
2026-11-13 08:05:40 -08:00
Ben Banfield-Zanin 808e5aa386 Return a Matrix formatted JSON error when using the wrong method against well-known Matrix endpoints. 2026-11-13 13:33:09 +00:00
Ben Banfield-Zanin 894b2baa3b CI: retry more status codes 2026-11-13 10:48:38 +00:00
Ben Banfield-Zanin 54ac44b2f8 CI: retry user registration on HTTP 400s 2026-11-13 10:29:12 +00:00
Matt Van Horn 4f68a0ff2e Retry syn2mas guest registration on 429s
Synapse restarts to apply the guest access config change, but its
ingress was already ready, so wrap the guest registration in
async_retry_with_timeout and retry on 429s.
2026-11-12 09:31:07 -08:00
Matt Van Horn afd6249462 Fix changelog and copyright checks, build matrix-tools in CI
Rename the news fragment to the PR number, extend the Element
Creations copyright year on syn2mas_test.go to 2026, and set
BUILD_MATRIX_TOOLS=1 for the syn2mas integration suite so CI builds
matrix-tools on this fork. BUILD_MATRIX_TOOLS is temporary and comes
out before merge.
2026-11-12 07:25:13 -08:00
Matt Van Horn 1732f028a5 Make accepting syn2mas check warnings opt-in
syn2mas check warnings, such as guest accounts, now stay fatal unless
matrixAuthenticationService.syn2mas.acceptWarnings is set. The chart
passes --accept-warnings to the syn2mas job only when it is enabled,
and a check that only reported warnings without it prints how to opt in.
The upgrade integration test sets acceptWarnings when it enables MAS.
2026-11-12 01:27:49 -08:00
Matt Van Horn b9933ae6f4 Register the syn2mas guest before enabling MAS
The upgrade test turned MAS off to register a guest account, even though
MAS was only running syn2mas in dry run. Register the guest before MAS is
first enabled, then enable MAS with guest access off in one upgrade, so
the first dry run sees the guest warning and MAS is never toggled off.
2026-11-12 00:59:28 -08:00
Gael Goinvic 4f8ebcfff0 Make sure that all additional config are using tpl
Hookshot was already supporting `tpl` in its additional section. For
consistency, this should be supported for all additional inline config.
2026-11-12 08:24:45 +00:00
Matt Van Horn 56610ce153 Allow syn2mas preflight warnings to proceed
DryRunSyn2MAS now accepts status 11 from syn2mas check and continues
into syn2mas migrate --dry-run. Any other non-zero check status still
ends the process, and the dry-run migrate step ends the process when its
status is not zero. The upgrade integration test registers a guest and
expects the guest warning and status 11 in the syn2mas-migrate logs, the
dry run to finish, and the MATRIX_STACK_MSC3861 marker to remain
legacy_auth. The changelog records that these preflight warnings can
proceed for a dry run and for a real migration.

Fixes #1417
2026-11-11 08:13:45 -08:00
Ben Banfield-Zanin f0943aeaa3 Merge pull request #1691 from sean0407/codex/fix-1621-digest-safe-version-labels
Fix Kubernetes labels for image tags with digests
2026-11-10 10:45:11 +00:00
Ben Banfield-Zanin 0d94805b50 Add extraObjects support. 2026-11-04 10:05:37 +00:00
sean0407 565356103c Merge upstream main into codex/fix-1621-digest-safe-version-labels 2026-11-03 16:10:21 +00:00
Ben Banfield-Zanin e0b74e10d6 Remove hidden Unicode characters 2026-11-03 13:37:07 +00:00
Cursor Agentandsean0407 bb4676ed5c [TEST] Set image tags through deployable values in label tests
Apply the review suggestions: drop the helpers that merge and mutate
chart base values, and set image tags on the per-test values overlay
the same way the other manifest tests do.

Co-authored-by: sean0407 <[email protected]>
2026-10-31 08:07:17 +00:00
Guillaume C 1e9c8b0a2e Templating tests 2026-10-26 09:52:55 +01:00
Sean Li 4165afb3f9 [TEST] Cover label sanitization trim boundaries 2026-10-24 20:26:04 +08:00
Gael Goinvic 8ec5a34d1a Fix hookshot http-wait-syn was not using the proper resources 2026-10-22 07:33:33 +00:00
Gael Goinvic 2afbdbceee Validate that components depending on postgres have a db-wait init container 2026-10-21 14:05:00 +00:00
Gael Goinvic aa9abeaf45 Add manifests tests to check tcpwait against valkey/redis 2026-10-21 13:34:03 +00:00
Ben Banfield-Zanin 072433d259 Merge pull request #1711 from element-hq/bbz/init-container-resources
Allow configuration of `initContainer` resources
2026-10-21 10:42:36 +01:00
Ben Banfield-Zanin 29f72e5196 Allow configuration of initContainer resources 2026-10-21 09:39:08 +01:00
Gael Goinvic 959f8ccead Pin matrix-tools using a digest when using it in pytest 2026-10-21 07:08:30 +00:00
sean0407 a48a9f5947 [TEST] Cover digest-safe labels across components 2026-10-21 09:20:13 +08:00
Gael Goinvic 49d9756dbb Build matrix-tools image on every pytest CI run 2026-10-20 13:15:49 +00:00
renovate[bot] 898510627b Update dependency uv_build to >=0.13.0,<0.14.0 2026-10-20 11:01:46 +00:00
Gaël Goinvic 8c358a4b99 Merge pull request #1695 from element-hq/gaelg/flakes-service-monitors
Retry using curl retries instead of kubernetes container restarts
2026-10-20 11:12:58 +02:00
Gael Goinvic 465b00dc4d Adjust _terminated_state for clarity 2026-10-20 08:26:32 +00:00
Gael Goinvic b2354f88b9 Use async_retry_with_timeout and drop restart_policy argument
run_pod_with_args now hardcodes RestartPolicy="Never"
2026-10-19 15:19:15 +00:00
Gael Goinvic 0b7115bf03 Wait 5 min for CRD/Deployments/Statefulsets 2026-10-19 14:26:05 +00:00
Gael Goinvic f3de1349c8 Retry using curl retries instead of kubernetes container restarts 2026-10-19 13:59:27 +00:00
sean0407 1684934909 [BUGFIX] Sanitize image tags for Kubernetes labels 2026-10-17 01:48:06 +08:00
Gael Goinvic 31a8d17bdd Replace pytest-kubernetes Kubectl with lightkube AsyncClient 2026-10-16 14:45:22 +00:00
Gael Goinvic c3da912d69 Replace pytest-kubernetes Kubeclient.exec with lightkube AsyncClient.exec 2026-10-16 14:32:59 +00:00
Gael Goinvic 15dc4ba6d8 Add a helper to wait for charts used in tests 2026-10-16 13:57:35 +00:00
Gael Goinvic 00c5be78b6 Update k3d to version 5.9.0 and integration tests k8s to 1.35+ 2026-10-16 08:33:00 +00:00
Gael Goinvic 011894bd72 Fix Synapse jobs should not have a preStop 2026-10-16 07:15:55 +00:00
Gaël Goinvic 98f12a266a Merge pull request #1679 from element-hq/gaelg/pod-affinity-optimization
Reduce the number of rendering required to do pod affinity tests
2026-10-15 17:35:53 +02:00
Gael Goinvic ba976d8f1d Rotate the parametrization to divide renderings by 2 2026-10-15 14:46:16 +00:00
Gael Goinvic 3faf3d8ffd Reduce the number of rendering done by the affinity tests 2026-10-15 14:46:15 +00:00
Gaël Goinvic e4ca906ef8 Merge pull request #1672 from element-hq/gaelg/pre-stop-hooks
Implement pre-stop hooks to avoid any 5xx during upgrades
2026-10-15 15:44:23 +02:00
Gael Goinvic 60883ad502 Add retries in playwright on initial setup 2026-10-15 13:30:47 +00:00
Gael Goinvic 35fa938488 refactor test using has_native_graceful_shutdown 2026-10-15 13:30:46 +00:00
Gael Goinvic 201e1a263e Only expect 5xx errors when installing or upgrading from a chart version without preStop support 2026-10-15 13:30:46 +00:00