wiki: mirror docs/ of main at 2ffe5ff

faumaray committed 2026-10-25 02:04:13 +03:00
1 parent 82e63e1b4f
commit caf7c8bb65
21 files changed
+110 -27

No files matched your search

+1 -1
@@ -147,7 +147,7 @@ Security issues: see [SECURITY.md](https://git.faumaray.com/Voelin/VoelinClient/
## Documentation pages
Mirror of `docs/` on `main` (`6e0df51`). The repository files are the source; this wiki is regenerated by `.claude/wiki-sync.js`.
Mirror of `docs/` on `main` (`2ffe5ff`). The repository files are the source; this wiki is regenerated by `.claude/wiki-sync.js`.
- [android.md](android): Android app
- [architecture.md](architecture): Architecture
+1 -1
@@ -237,4 +237,4 @@ the source then says why).
---
*Mirrored from [`docs/android.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/android.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/android.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/android.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -693,4 +693,4 @@ are defined in the core, which reads them on every use.
---
*Mirrored from [`docs/architecture.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/architecture.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/architecture.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/architecture.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -135,4 +135,4 @@ of it reappearing). The audio thread reports these changes as session errors.
---
*Mirrored from [`docs/audio.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/audio.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/audio.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/audio.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -208,4 +208,4 @@ voelin-model = { path = "../VoelinProtocol/crates/voelin-model" }
---
*Mirrored from [`docs/building.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/building.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/building.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/building.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+90 -7
@@ -46,17 +46,20 @@ the separate `release.yml` workflow below.
this label (the left side must match the workflow's `runs-on`):
```text
ubuntu-24.04:docker://ghcr.io/catthehacker/ubuntu:act-24.04
ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04
```
Configure this in the runner's labels when registering/configuring it;
an `ubuntu-latest` label alone does not match. The job image must provide
Bash, Git, the OpenSSH client, Node.js for checkout v4, and root or
passwordless sudo for apt.
an `ubuntu-latest` label alone does not match. This is the image of the
runner that runs this repository's CI, and the one the tests are checked
against ([Tests under the job image](#tests-under-the-job-image)). The job
image must provide Bash, Git, the OpenSSH client, Node.js for checkout v4,
and root or passwordless sudo for apt.
3. Allow network access from the runner and job container to the Gitea
instance, GitHub (checkout action, dependencies and RustSec advisories),
GHCR (runner image), Ubuntu apt mirrors, rustup distribution servers,
crates.io and dependency/license sources used by cargo-about. The
`docker.gitea.com` (runner image), Ubuntu apt mirrors, rustup
distribution servers, crates.io and dependency/license sources used by
cargo-about. The
workspace also depends on the **private** VoelinProtocol repository
(`voelin-identity`, over SSH), so the job needs read access to it and the
server's SSH port. The workflows set that up themselves from a repository
@@ -102,6 +105,86 @@ all step results. Local YAML/shell checks do not prove that a particular
Gitea instance, runner registration, network policy or resource allocation
can complete this job.
### Tests under the job image
The test step runs as **root** in an Ubuntu 24.04 container of the
`ubuntu-24.04` label ([Runner setup](#runner-setup):
`docker.gitea.com/runner-images:ubuntu-24.04`, `HOME=/root`) to which only
the apt packages of the system-dependencies action are added. A test that
assumes a developer machine fails there, and a run takes about an hour, so
check a change to the tests the way CI runs them, with every failing test of
every crate listed in one go (`--no-fail-fast`):
```sh
# A bare clone of the private VoelinProtocol repository (see below the block):
# git clone --bare ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git <dir>
: "${PROTOCOL_GIT:?path of a bare clone of VoelinProtocol}"
# Root owns what the container writes: keep it in a directory of its own
# (.scratch/ is in .gitignore; see below the block for its removal).
mkdir -p .scratch
docker run --rm --init -v "$PWD":/src -w /src -e HOME=/root \
-v "$PROTOCOL_GIT":/protocol.git:ro -e CARGO_NET_GIT_FETCH_WITH_CLI=true \
-e CARGO_HOME=/src/.scratch/cargo -e RUSTUP_HOME=/src/.scratch/rustup \
-e CARGO_TARGET_DIR=/src/.scratch/target \
docker.gitea.com/runner-images:ubuntu-24.04 bash -c '
git -C / config --global url."file:///protocol.git".insteadOf \
ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git
apt-get update && apt-get install -y --no-install-recommends \
build-essential ca-certificates cmake curl git jq pkg-config python3 \
libasound2-dev libfontconfig1-dev libxkbcommon-dev libvpx-dev \
libdav1d-dev libpipewire-0.3-dev libspa-0.2-dev libclang-dev xvfb xauth
curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs | \
sh -s -- -y --profile minimal --default-toolchain none
. "$CARGO_HOME/env" && rustup toolchain install
xvfb-run -a bash -c "VOELIN_X11_TEST_DISPLAY=\$DISPLAY \
cargo test --workspace --locked --no-fail-fast"'
```
`--init` is required: `bash -c` runs its last command, `xvfb-run`, as the
container's process 1, and that never gets to start `cargo` (the command
hangs). The runner starts its steps with `docker exec` in a container whose
process 1 is something else, so CI itself is not affected.
The private VoelinProtocol dependency needs the deploy key
([below](#voelinprotocol-access)). The block reads it from a local bare clone
instead: `PROTOCOL_GIT` is mounted at `/protocol.git` and git is told to use
it in place of the SSH URL (with `CARGO_NET_GIT_FETCH_WITH_CLI=true`, as in CI,
so that cargo runs the `git` command), which leaves `Cargo.lock` as it is.
The `git config` is run with `-C /` because a git worktree's `.git` file points
outside the mount, and `git config` in `/src` then fails with `fatal: not a git
repository: (null)` (exit 128). To use the deploy key instead, set it up as
described below and leave out the `PROTOCOL_GIT` lines and the `git config`
command. What the container wrote under `.scratch/` belongs to root; remove it
from a container as well:
```sh
docker run --rm -v "$PWD/.scratch":/s alpine:3.20 rm -rf /s/target /s/cargo /s/rustup
```
What the image lacks, and what the tests do about it. A test that is about
the missing piece returns without testing it, in most cases after printing a
line that says it skipped and names the piece (the wording differs from test
to test), or is `#[ignore]`d with the reason, and passes; any other test does
not need the piece.
| A test cannot count on | What the tests do |
|---|---|
| Regular user (root writes anywhere and creates missing directories) | Nothing relies on a permission bit or a missing directory failing. A path that cannot be written is built from something that fails for root too: below a regular file (`ENOTDIR`) or naming a directory (`EISDIR`), as `an_unwritable_path_fails_at_once` of the recorder does. |
| Sound card (`/dev/snd`), PipeWire and WirePlumber daemons | `libpipewire` and ALSA are there to build against only. `tests/pipewire_apps.rs` needs `pipewire`, `wireplumber` and `dbus-daemon` and, without them, prints a skipped line that names them. The camera tests are `#[ignore]`d (a camera and PipeWire). |
| D-Bus session bus | `voelin-platform`'s portal proxy test runs itself again under `dbus-run-session` on a bus of its own and, where that cannot be run, prints `skipped, nothing was checked: dbus-run-session cannot be run`; the notification and capture-portal tests run only where no bus is configured, and check that talking to a missing service fails cleanly. |
| GPU, `/dev/dri`, VA-API, `/dev/udmabuf` | The VA-API and DMA-BUF tests print a skipped line that names what is missing: a usable `h264_vaapi`, `/dev/udmabuf` or VA-API surfaces to export. |
| FFmpeg libraries, `ffmpeg` and `ffprobe` | The FFmpeg tests of `voelin-media` and `voelin-core` print a skipped line that names what is missing (the libraries, `ffmpeg`, `ffprobe`). The studio tests that read a recording back with `ffprobe` write and check the file themselves and skip only the `ffprobe` check; the RTMP tests need all three and skip. |
| H.264 encoder (no FFmpeg, no GPU, no OpenH264 library: `VOELIN_OPENH264_LIB` is unset and the download test is `#[ignore]`d) | Tests that need an H.264 encoder print a skipped line that says no H.264 encoder is there. Tests of codec choice state what `preferred_codec` promises with whatever the machine can encode. VP8 and VP9 (libvpx) are built in, so their round trips run. |
| X11 or Wayland display | `xvfb-run` supplies one X11 display and the step hands it over as `VOELIN_X11_TEST_DISPLAY` to the X11 capture and hotkey tests. `VOELIN_WLROOTS_TEST_DISPLAY` is unset, so the wlroots capture test prints `skipped`. |
| Playwright and Chromium (the image has Node) | The browser interop tests print `skipped: set VOELIN_INTEROP=1 (needs node, Playwright and Chromium)`. |
| TeamSpeak dev servers | Without `VOELIN_LIVE=1` the live tests return at once (some print `skipped: set VOELIN_LIVE=1 with the dev servers running`); the gateway's live test is `#[ignore]`d (`needs a running tsgw and TeamSpeak server`). |
| DNS and internet while the tests run (the job needs the network for apt, rustup and crates before they start) | The tests use no DNS or internet; those that would are `#[ignore]`d with the reason: four resolver tests of `tsclientlib` (`needs DNS and the internet`) and the OpenH264 download test. |
`localhost` resolves to `::1` first in this image (it also has `127.0.0.1`).
The tests that reach a server of their own go to `127.0.0.1` by name, not
through `localhost`, so a machine where connections to `::1` hang (a
development machine with a VPN does that) changes nothing for them.
### VoelinProtocol access
The workspace depends on `voelin-identity` from the **private** repository
@@ -262,4 +345,4 @@ runner; local shell/API fixtures do not establish deployment acceptance.
---
*Mirrored from [`docs/ci.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/ci.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/ci.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/ci.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -456,4 +456,4 @@ with what they store locally.
---
*Mirrored from [`docs/gateway-admin.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/gateway-admin.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/gateway-admin.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/gateway-admin.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -194,4 +194,4 @@ for `react`, `pin`, `create_topic`, `create_event`, `rsvp`, `stream`,
---
*Mirrored from [`docs/gateway-protocol.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/gateway-protocol.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/gateway-protocol.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/gateway-protocol.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -141,4 +141,4 @@ therefore the translations. Texts outside Slint need their own mechanism:
---
*Mirrored from [`docs/i18n.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/i18n.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/i18n.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/i18n.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -253,4 +253,4 @@ the repository. Every fixture in the tests is generated by
---
*Mirrored from [`docs/identity.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/identity.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/identity.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/identity.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -1457,4 +1457,4 @@ has not run on Windows yet.
---
*Mirrored from [`docs/media.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/media.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/media.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/media.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -426,4 +426,4 @@ itself with these decoders is still to be confirmed.
---
*Mirrored from [`docs/protocol-notes/ts6-streaming.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/protocol-notes/ts6-streaming.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/protocol-notes/ts6-streaming.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/protocol-notes/ts6-streaming.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -238,4 +238,4 @@ After:
---
*Mirrored from [`docs/release.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/release.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/release.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/release.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -423,4 +423,4 @@ Voelin does needs them.
---
*Mirrored from [`docs/research/myteamspeak.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/research/myteamspeak.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/research/myteamspeak.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/research/myteamspeak.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -82,4 +82,4 @@ repository.
---
*Mirrored from [`docs/research/stream-fps.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/research/stream-fps.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/research/stream-fps.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/research/stream-fps.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -239,4 +239,4 @@ between Voelin clients.
---
*Mirrored from [`docs/research/ts6-late-join.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/research/ts6-late-join.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/research/ts6-late-join.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/research/ts6-late-join.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -349,4 +349,4 @@ Discord:
---
*Mirrored from [`docs/research/ui-review.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/research/ui-review.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/research/ui-review.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/research/ui-review.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -1923,4 +1923,4 @@ targets included.
---
*Mirrored from [`docs/session-seam.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/session-seam.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/session-seam.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/session-seam.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -376,4 +376,4 @@ two threads) takes about 3 ms at its own rate (15 fps by default).
---
*Mirrored from [`docs/studio.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/studio.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/studio.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/studio.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -224,4 +224,4 @@ noted.
---
*Mirrored from [`docs/testing/manual-matrix.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/testing/manual-matrix.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/testing/manual-matrix.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/testing/manual-matrix.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
+1 -1
@@ -873,4 +873,4 @@ renderer; the phone layouts are desktop renders, not Android device tests.
---
*Mirrored from [`docs/ui.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/6e0df5178e62c040ef83009369f780cb6f740dc0/docs/ui.md) at `6e0df51` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*
*Mirrored from [`docs/ui.md`](https://git.faumaray.com/Voelin/VoelinClient/src/commit/2ffe5ffb9971dfec3c257d07525db8901bcb40e7/docs/ui.md) at `2ffe5ff` by `.claude/wiki-sync.js`. Edit the file in the repository, not this page: the next sync overwrites it.*