Merge remote-tracking branch 'origin/main' into claude/hopeful-babbage-5h4kbg

This commit is contained in:
Claude committed 2026-10-04 17:50:28 +00:00
commit aa99af2ea6
9 files changed
+32 -83

No files matched your search

+1 -13
View File
@@ -1,20 +1,8 @@
name: CI
# Linux checks for Gitea act_runner; runner setup and scope: docs/ci.md.
# Off for pushes and pull requests: run by hand only.
on:
push:
branches: [main, master]
paths:
- "**"
- "!docs/**"
- "!**/*.md"
- "THIRD_PARTY_NOTICES.md"
pull_request:
paths:
- "**"
- "!docs/**"
- "!**/*.md"
- "THIRD_PARTY_NOTICES.md"
workflow_dispatch:
env:
-1
View File
@@ -27,7 +27,6 @@ jobs:
- uses: https://github.com/actions/checkout@v4
with:
persist-credentials: false
- uses: ./.gitea/actions/checks
- name: Check release tools
run: |
set -euo pipefail
+1 -2
View File
@@ -4,9 +4,8 @@ name: Security audit
# new advisories show up without a push. CI's cargo-deny job checks the same
# on every push together with licenses and sources.
# Not scheduled: run by hand only.
on:
schedule:
- cron: "41 4 * * *"
workflow_dispatch:
jobs:
+4 -21
View File
@@ -1,27 +1,10 @@
name: CI
# Fast checks on every push to main and every PR: lint, tests, license and
# advisory checks, and the integration tests against TS3/TS6 servers.
# Packages are built only by release.yml (tags, or by hand), which also runs
# these checks through workflow_call.
# Changes to documentation only need no build (same list twice: no YAML
# anchors in workflows). THIRD_PARTY_NOTICES.md is compiled into the app
# (About page) and checked below.
# Checks: lint, tests, license and advisory checks, and the integration
# tests against TS3/TS6 servers. Off for pushes and pull requests: run by
# hand only (Actions → CI → Run workflow). Packages are built by release.yml
# (tags, or by hand), which does not wait for these checks.
on:
push:
branches: [main, master]
paths:
- "**"
- "!docs/**"
- "!**/*.md"
- "THIRD_PARTY_NOTICES.md"
pull_request:
paths:
- "**"
- "!docs/**"
- "!**/*.md"
- "THIRD_PARTY_NOTICES.md"
workflow_dispatch:
workflow_call:
+1 -2
View File
@@ -1,8 +1,7 @@
name: Fuzz
# Not scheduled: run by hand only.
on:
schedule:
- cron: "17 3 * * *"
workflow_dispatch:
jobs:
+2 -22
View File
@@ -3,8 +3,7 @@ name: Release
# The packages (docs/building.md), made by scripts/package.sh like the Docker
# builds in docker/. A v* tag attaches them to a draft GitHub release; run by
# hand (Actions → Release → Run workflow) they are only uploaded as artifacts.
# The package jobs run alongside the checks, so a manual run yields packages
# even when a check fails; a release needs everything green.
# Only the packages are built: the checks (ci.yml) run by hand.
on:
push:
@@ -25,25 +24,6 @@ env:
CARGO_INCREMENTAL: "0"
jobs:
# The same checks as every push (lint, Linux tests, Windows and Android
# clippy, deny, notices, integration tests).
checks:
uses: ./.github/workflows/ci.yml
test-windows:
name: test (Windows)
runs-on: windows-2025
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/system-deps
- name: Install toolchain (rust-toolchain.toml)
run: rustup toolchain install
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --workspace --all-targets --locked
- name: Test
run: cargo test --workspace --locked
package-linux:
name: package (Linux)
runs-on: ubuntu-24.04
@@ -226,7 +206,7 @@ jobs:
release:
name: draft release
if: startsWith(github.ref, 'refs/tags/v')
needs: [checks, test-windows, package-linux, package-windows, package-flatpak, package-gateway-image, package-android]
needs: [package-linux, package-windows, package-flatpak, package-gateway-image, package-android]
runs-on: ubuntu-24.04
permissions:
contents: write
+3 -3
View File
@@ -3,8 +3,8 @@
Every platform has installable packages. The release workflow builds them,
and the Dockerfiles in `docker/` build the same kinds of packages on any
machine with Docker. Both use `scripts/package.sh`, so file names and
contents match. Regular CI (`ci.yml`, every push and PR) only runs the fast
checks and builds no packages.
contents match. CI (`ci.yml`, run by hand only) runs the checks and builds
no packages; the release workflow builds packages without running them.
The packages hold the app, Voelin. The gateway `tsgw` runs on servers and is
packaged for Linux only, separately. `voelinctl` is a development tool and is
@@ -43,7 +43,7 @@ and [runner setup](ci.md#gitea-release-runner) for host requirements.
- **A version tag** `v*` (`git tag -s v0.2.0 && git push origin v0.2.0`): the
packages and a `SHA256SUMS` are attached to a **draft** GitHub release once
all checks pass (the same checks as CI, plus the Windows tests); review and
every package is built (no checks run; run CI by hand first); review and
publish it by hand ([release.md](release.md#checklist)).
- **By hand**, for a build to test without a release: Actions → Release → Run
workflow (or `gh workflow run release.yml --ref <branch>`). The packages are
+14 -12
View File
@@ -1,9 +1,12 @@
# CI
GitHub Actions runs `.github/workflows/ci.yml`, including Linux checks,
Windows and Android Clippy, and TeamSpeak integration smoke tests. Both
GitHub and Gitea provide release packaging; see [release.md](release.md) and
[building.md](building.md).
Windows and Android Clippy, and TeamSpeak integration smoke tests. Automatic
runs are off: CI, the dependency audit and fuzzing run only by hand
(Actions → the workflow → Run workflow; the same on Gitea). Only the package
builds run by themselves, on `v*` tags, and they run none of these checks.
Both GitHub and Gitea provide release packaging; see [release.md](release.md)
and [building.md](building.md).
Cargo builds use one job in CI so the generated UI library and its test
target do not compile concurrently. The release profile uses ThinLTO and
@@ -15,10 +18,8 @@ runtime performance has not been benchmarked for this change.
## Gitea Actions
`.gitea/workflows/ci.yml` runs a single Linux job on pushes to `main` and
`master`, pull requests, and manual dispatch. Documentation-only changes
are excluded; `THIRD_PARTY_NOTICES.md` is not excluded because the app embeds
it and CI verifies it.
`.gitea/workflows/ci.yml` runs a single Linux job when dispatched by hand
(automatic runs on pushes and pull requests are off).
The job runs:
@@ -147,10 +148,11 @@ ENDLESS_TASK_TIMEOUT = 9h
Keep sufficient RAM/swap and free disk for all package builds and their
Docker caches. Builds run sequentially and limit Cargo to one job. The
workflow never prunes shared Docker state or creates host swap. The token and optional Android signing
secrets are documented in [Gitea releases](release.md#gitea-releases).
workflow never prunes shared Docker state or creates host swap. The token
and optional Android signing secrets are documented in
[Gitea releases](release.md#gitea-releases).
Gitea packages pass the shared Linux checks but do not gain native Windows,
Android Clippy or TS3/TS6 smoke-test acceptance from a successful release
job. Full hosted builds and a draft upload must be verified on the registered
The Gitea release job builds packages only: it runs no formatting, Clippy,
tests, native Windows, Android Clippy or TS3/TS6 smoke tests; run CI by hand
for those. Full hosted builds and a draft upload must be verified on the registered
runner; local shell/API fixtures do not establish deployment acceptance.
+6 -7
View File
@@ -13,13 +13,12 @@ requirements differ.
`.gitea/workflows/release.yml` builds Linux tarballs and `.deb` files, Windows
zip and NSIS installer (MinGW cross-build), Android debug APK (arm64-v8a and
x86_64), a Flatpak bundle, and the gateway container image. It shares Linux
checks with Gitea CI, and reuses the Dockerfiles and `scripts/package.sh`.
Unlike GitHub's release pipeline, it does not run native Windows tests,
Android Clippy, TeamSpeak smoke tests or browser interop; complete those
checks in GitHub or separately before accepting a release.
x86_64), a Flatpak bundle, and the gateway container image. It reuses the
Dockerfiles and `scripts/package.sh`, and builds packages only: it runs none
of the checks (formatting, Clippy, tests, TeamSpeak smoke tests); run CI by
hand for those before accepting a release.
- **Manual dispatch:** after checks and all builds pass, download the
- **Manual dispatch:** after all builds pass, download the
`voelin-packages` artifact from the run. Manual runs never publish a draft,
even when dispatched against a tag.
- **Push a `v*` tag:** the same artifact is uploaded, then packages and a
@@ -218,7 +217,7 @@ Release:
7. Tag `v<version>` (signed) on the release commit and push it.
8. The tag's release workflow (`release.yml`, [building.md](building.md))
runs the checks and the Windows tests and builds every package: the app's
builds every package (it runs no checks: run CI by hand first): the app's
Linux tarball and `.deb`, Flatpak bundle, Windows zip and installer and
Android APKs (signed when the secrets are set), and the gateway's Linux
tarball, `.deb` and image; its `release` job attaches them with a