Tuwunel has no `[global.blurhashing]` configuration section, so rendering it
(the default) only produced an "unknown config parameter" warning on every start.
The related variables are now reported as removed by the role's validation.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5747
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synapse v1.165.0 deprecates the `livekit` MatrixRTC transport in favor of
the stable `m.livekit` one. Clients using the latter reach the LiveKit
authorization service through the homeserver, which needs the service
registered as an application service.
When Synapse is the homeserver, run LiveKit JWT Service as such:
register it with Synapse, enable MSC4502 and MSC4512 there, and advertise
`m.livekit` for the SFU the service issues tokens for. The `livekit`
transport stays advertised for clients which don't support `m.livekit`
yet. Other homeservers keep the legacy transport only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hook reports custom roles' `install-*` tags which have no service group
of the same name, as `just install-service` would not start these services.
Tags of galaxy roles are not checked, because the roles are not available
where the hook runs in CI. Whether a group contains all of a role's services
is not checked either, so the style guide now documents that requirement.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`just install-service` starts the group named after the service, but these
services had no such group, so they were installed without being started.
The documentation for the user verification service used the group's name,
which has no install tag, so it started the service without installing it.
It now uses the name which has both.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This lists all playbook tags, one per line, without opening role files.
The tags are captured before being processed, so that an Ansible failure
fails the recipe instead of getting lost in a pipe.
Unlike in mash-playbook, the tags are not limited to the services in use
by the inventory, because this playbook does not optimize its roles.
This also drops the mention of the `setup-nginx-proxy` tag, which no
longer exists.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
llama3-70b-8192 was shut down by Groq on 2025-08-30. Also point the
model list link at console.groq.com.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The MASH playbook moved each service's documentation from
docs/services/<service>.md to components/<component>/README.md.
The Jitsi link now points at the section with the subpath notes
(the `#url` anchor no longer existed).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ansible-role-postgres v18.6-2 renamed the
`postgres_postgres_process_extra_arguments_*` variables to
`postgres_process_extra_arguments_*`. Its validation now stops the
playbook when an old name is set, so a configuration copied from the
"Tuning PostgreSQL" section fails.
Conditional restart is enabled whenever no setup-* tag is selected, so it
also applies to runs with only start or restart tags. These runs skip
the install tasks that set each role's *_restart_necessary, so every
service whose value is false is only started. When the rule was added,
only Traefik tracked its changes this way; now most roles do, so
`just start-all` and `just start-group` restart almost nothing, contrary
to docs/just.md.
Enable conditional restart only when an install-* tag is selected and no
setup-* tag. install-* runs keep conditional restart and setup-* runs are
unchanged; runs with only start or restart tags restart their targeted
services unconditionally again. Show the restart behavior of each
standard recipe in docs/just.md and announce the change in CHANGELOG.md.
Adds ansible-role-cleanup from the MASH project. It can remove superseded
Docker images and stopped containers on every playbook run (unlike
`docker image prune -a`, keeping the images of stopped services), vacuum
old logs, remove paths and, on Debian-based distributions, upgrade
packages and purge old kernels. Everything is off by default.
The role runs after systemd_service_manager, once every service is
running, so the Docker cleanup can tell which images are still needed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The role has been pulling from ghcr.io/matrix-org/matrix-hookshot, but the Renovate
depName still referenced the halfshot/matrix-hookshot Docker Hub repository, which
no longer receives release tags. As a result, Renovate never proposed 7.4.0/7.5.0.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Document the multi-SFU publishing policy and re-enable the repaired image healthcheck. Verify trusted and remote grants and room creation against a real SFU.
Supersedes #5596.
Eight scenarios in, the same few things keep deciding whether a scenario is
worth having, and none of them were obvious beforehand:
- Falsify every assertion, not just enough to see red. One control asserted that
a component emitted no DEBUG records from a module and passed just as happily
with that module set to `debug`, because it emits none on a first run either
way. Green for the wrong reason, and only breaking it deliberately showed that.
- `ActiveState == active` with `NRestarts == 0` can both hold while a component
is completely broken, when it catches its errors and retries rather than
exiting. Two of the eight behave that way.
- Startup lines are the oldest in the journal, so tailing loses them. Grep, and
strip ANSI first.
- Parse rendered configuration and assert on structure, so a value under the
wrong key cannot pass.
- `molecule converge` on a running instance does not restart the container, so a
falsification can pass for that reason alone.
Also documents that a role's scenario obliges it to join the automerge list, and
that prek enforces the two staying in step.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SEH3vxYSQ5SV4N5z61eyGT
`group_vars/matrix_servers` selects postgres whenever postgres is enabled, which
is the default, so postgres is what essentially every deployment runs. The
scenarios were testing sqlite - a path almost nobody is on.
How little that path is used is not a guess: the mautrix-meta bridges could not
start at all under sqlite, and nobody reported it. Testing the engine users are
actually on is worth more than keeping coverage of the one they are not, so no
scenario is left behind on sqlite.
Four of the eight scenarios have a database and are converted; the other four
have none and are untouched.
molecule-shared/tasks/postgres.yml stands Postgres up on the scenario's network,
with the data directory on a tmpfs since it is thrown away with the container.
The image is pinned at the major the postgres role deploys to new installations
and left to Renovate: when a new major lands, the PR bumping that pin runs every
scenario against it, which is the earliest warning we get that a component does
not cope.
Each scenario gives its database and user names that differ from the role's
defaults, so the component reaching the database proves the role built its
connection string out of them. The assertions moved from "a file appeared at the
path we configured" to "these tables exist", which is strictly stronger: tables
can only appear once the component has resolved the hostname, authenticated with
the credentials the role rendered, and run its migrations to completion.
Costs about 10 seconds per affected scenario (115s to 125s locally for
mautrix-whatsapp), on jobs that run in parallel.
Gotcha worth recording: since Postgres 18 the image puts PGDATA in a versioned
subdirectory and refuses to start if it finds a mount at the old
/var/lib/postgresql/data, so the tmpfs is mounted at /var/lib/postgresql.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SEH3vxYSQ5SV4N5z61eyGT