Files
Jens e57f8f67af chore: automate verified KasmVNC Docker updates (#1373)
## ℹ️ Description
Keep the Docker desktop on current stable KasmVNC releases through
daily, verified update PRs. Fix the release-asset rename and update the
initial pins to KasmVNC 1.5.2.

Related issues: none.

## 📋 Changes Summary
- Pin the upstream AMD64/ARM64 download URLs and SHA-256 values together
with the version. Validate release metadata before changing the
Dockerfile.
- Maintain one update PR on `chore/update-kasmvnc` using the existing
dependency updater App. Successive releases replace the pending update
and require fresh CI.
- Automatically merge only the current PR commit after its full PR Build
succeeds, reported checks complete, and the required review is approved.
Limit automatic merges to validated KasmVNC pin changes; serialize
updates and merges, and enforce the expected head SHA.
- Scope both App tokens to contents/pull-request writes and recognize
the two exact App-author representations exposed by GitHub tooling.
- Reject hidden control-character content in pin patches while
preserving LF/CRLF support.
- Keep existing branch rules and image channels: `main` publishes
`preview`; `release` publishes `latest`.

The existing `DEPS_UPDATER_CLIENT_ID` variable and
`DEPS_UPDATER_PRIVATE_KEY` secret are reused. No new secrets or
repository-setting changes are needed. GitHub's required review remains
required; these workflows do not auto-approve PRs. Workflows become
active after merging to `main`.

### ⚙️ Type of Change
- [x] 🐞 Bug fix (dependency update and renamed release assets)
- [x] ✨ New feature (automatic verified update PRs and merge)
- [ ] 💥 Breaking change

## ✅ Checklist
- [x] I have reviewed my changes to ensure they meet the project's
standards.
- [x] I have tested my changes and ensured that all tests pass (`pdm run
test`: 2169 passed, 4 skipped).
- [x] I have formatted the code (`pdm run format`).
- [x] I have verified that linting passes (`pdm run lint`, including
types and actionlint).
- [x] I have updated documentation where necessary.

CodeRabbit reviewed the changes locally; identified findings have been
fixed and regression-tested. Independent targeted review found no
remaining material issues. The patch-parser regression rejects nine
control-character cases that failed before the fix.

Additional validation: AMD64 runtime base image built with KasmVNC
1.5.2-1; local desktop requires HTTP authentication (401). ARM64 package
checksum and architecture metadata verified. Full ARM64 runtime and live
update/merge automation await GitHub CI and activation on `main`.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* KasmVNC Docker image updates are now checked daily, with proposed
version and checksum changes submitted as a single pull request.
* Eligible update pull requests can be merged automatically after the
latest build, required checks, and review succeed. Updates that fail
validation or do not meet the merge requirements are not merged.
* **Documentation**
* Added guidance on the update and merge process, including how image
releases relate to published container versions and the fact that
existing running containers are not updated automatically.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-24 21:00:24 +02:00
..