24 Commits
Author SHA1 Message Date
poli0981 b93b3711b3 Merge pull request 'docs(migration): HashTool is done, and what it found; .NET restore without ICU' (#14) from docs/hashtool-done into main
Ops lint / actionlint + Python (push) Successful in 7s
Reviewed-on: #14
2026-11-26 05:52:00 +00:00
poli0981andClaude Opus 5.5 1a3f5d92e0 docs(migration): HashTool is done, and what it found
Ops lint / actionlint + Python (pull_request) Successful in 11s
HashTool merged as Gitea #2 and released 1.3.1 to R2 (win + linux through
vpk upload s3, the CLI, SBOMs and SHA256SUMS through rclone under
hashtool/1.3.1/, Gitea release and announcement from CI). Its guide records
what the move found: the runner's Ubuntu images have no ICU, Avalonia 12.2's
U+0001 type names crash the Cobertura writer, host-mode PowerShell cannot
load Microsoft.PowerShell.Archive, Qodana's newer linter rates MD5 critical,
Qodana Cloud accepts no Gitea VCS URL (the project points at the GitLab
mirror), and the branch protection it got. The runbook's known behaviours
gain the .NET notes; the tracker, the status table and the cron registry are
updated (13:43 Mon and 13:53 Thu live, 15:19 Tue freed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 12:50:33 +07:00
poli0981andClaude Opus 5.5 32c41e9433 fix(security): .NET restore on the Docker runner without ICU
The dotnet job on ubuntu-latest (the default dotnet-runs-on) crashed before
restoring anything: docker.gitea.com/runner-images ship no ICU, and .NET
fails fast without it. Seen on HashTool's own Linux jobs on 2026-11-26;
HashTool now calls this job with windows-latest, so it was not hit here, but
every caller on ubuntu-latest would be. A restore needs no cultures, so it runs
with invariant globalization. Takes effect for a caller once it pins the next
ops tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 12:16:17 +07:00
poli0981 1add936767 Merge pull request 'docs(migration): CommandForge is done, and what it found' (#13) from docs/commandforge-done into main
Ops lint / actionlint + Python (push) Successful in 8s
Reviewed-on: #13
2026-11-26 03:18:24 +00:00
poli0981andClaude Opus 5.5 388bff999a docs(migration): CommandForge is done, and what it found
Ops lint / actionlint + Python (pull_request) Successful in 6s
CommandForge (E:\cmd) had no guide; it moved in one session on 2026-11-26 and
released v2.3.0, the first Velopack app on R2. Its guide records what the
move found: `vpk … s3` works against R2 with the endpoint only and reads its
options from VPK_* variables, an empty folder makes `vpk download s3` a
credentials check for a dry run, `vpk upload s3` does not publish
assets.win.json, and the public names carry the channel (-win-). The runbook's
§5.1 VERIFY item becomes a verified fact, the tracker and the status table get
CommandForge, and the cron registry its Friday 14:11 security slot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 10:10:06 +07:00
poli0981andClaude Opus 5.5 327b92e67a fix(notify): the Velopack apps that release from Gitea
notify-release-pipeline.yml names the packager by repository, and CommandForge
(the first Velopack app released to R2), OmniDeck, frameledger and AppLedger
were missing, so their release posts said nothing about it. Takes effect for
a caller once it pins the next ops tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:28:34 +07:00
poli0981 9ef75e0898 Merge pull request 'chore(deps): update actions/setup-java action to v6' (#11) from renovate/actions-setup-java-6.x into main
Ops lint / actionlint + Python (push) Successful in 8s
Reviewed-on: #11
2026-11-26 01:38:53 +00:00
poli0981 cb2d304168 Merge branch 'main' into renovate/actions-setup-java-6.x
Ops lint / actionlint + Python (pull_request) Successful in 6s
2026-11-26 01:35:11 +00:00
poli0981 2ec39d75ba Merge pull request 'chore(deps): update actions/setup-go action to v7' (#10) from renovate/actions-setup-go-7.x into main
Ops lint / actionlint + Python (push) Successful in 6s
Reviewed-on: #10
2026-11-26 01:34:57 +00:00
poli0981 8cd5f84859 Merge branch 'main' into renovate/actions-setup-go-7.x
Ops lint / actionlint + Python (pull_request) Successful in 8s
2026-11-26 01:34:42 +00:00
poli0981 5cd13da233 Merge pull request 'docs(migration): youtube-generator is done, and what it found' (#12) from docs/youtube-generator-done into main
Ops lint / actionlint + Python (push) Successful in 5s
Reviewed-on: #12
2026-11-25 21:03:54 +00:00
poli0981andClaude Opus 5.5 2692572401 docs(migration): youtube-generator is done, and what it found
Ops lint / actionlint + Python (pull_request) Successful in 6s
The guide's Done block (2026-11-26): merged as Gitea #2 (migration), #3
(dependencies) and #4 (release); v1.7.0 on R2 and announced; the site
deploys from the CI `deploy` job. What it found: the runner queue behind
the catalog jobs; dispatching a release dry run from a branch through
the web route; the committed Android project needing the cargo Tauri
CLI; the keystore secret that did not come over; gitleaks' analytics
token; six RustSec patch releases and cargo-deny's scopes;
qodana-rust 2026.3-eap's false type and borrow errors; the artifact
service timeouts and "Re-run failed jobs"; the release published and
announced by dispatch. Tracker §8, the README status row and the cron
registry follow (13:37 Wed security and 15:53 Mon rust live; the
proposed 13:41 Tue slot was not needed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 04:02:44 +07:00
renovate-bot Bot 5b967e417f chore(deps): update actions/setup-java action to v6
Ops lint / actionlint + Python (pull_request) Successful in 6s
2026-11-25 14:09:16 +00:00
renovate-bot Bot e910cce543 chore(deps): update actions/setup-go action to v7
Ops lint / actionlint + Python (pull_request) Successful in 6s
2026-11-25 14:09:11 +00:00
poli0981 37e6d7d729 Merge pull request 'chore(deps): update ruby/setup-ruby action to v1.344.0' (#4) from renovate/all-minor-patch into main
Ops lint / actionlint + Python (push) Successful in 5s
Reviewed-on: #4
2026-11-25 06:01:07 +00:00
poli0981 1a4db37f03 Merge branch 'main' into renovate/all-minor-patch
Ops lint / actionlint + Python (pull_request) Successful in 5s
2026-11-25 06:01:01 +00:00
poli0981 c3f5b43459 Merge pull request 'chore(deps): update actions/setup-dotnet action to v6' (#5) from renovate/actions-setup-dotnet-6.x into main
Ops lint / actionlint + Python (push) Successful in 6s
Reviewed-on: #5
2026-11-25 06:00:28 +00:00
poli0981 f37627518e Merge pull request 'docs(migration): free-games-itchio-list is done, and what it found' (#9) from docs/free-games-itchio-list-done into main
Ops lint / actionlint + Python (push) Successful in 6s
Reviewed-on: #9
2026-11-25 05:52:14 +00:00
poli0981andClaude Opus 5.5 76f8a8a055 docs(migration): free-games-itchio-list is done, and what it found
Ops lint / actionlint + Python (pull_request) Successful in 6s
The guide's Done block (2026-11-25): the catalog week restored from the
live site's readable JSON, one release.yml, the deploy dispatch and the
bot token checked end to end, Qodana and gitleaks, Gitea not detecting a
command-line merge, the single runner's waits, and a draft published in
the UI that announced nothing (Gitea credits the event to the draft's
Actions user). The Workflows table loses its stale VERIFY and the old
Qodana Rust note. Tracker §8, the README status row and the three cron
slots (13:27, 13:49, Wed 15:01) are live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 12:27:22 +07:00
poli0981 18f3d7d709 Merge pull request 'docs(migration): free-steam-games-list is done, and what it found' (#8) from docs/free-steam-games-list-done into main
Ops lint / actionlint + Python (push) Successful in 7s
Reviewed-on: #8
2026-11-25 01:46:19 +00:00
poli0981andClaude Opus 5.5 7ad3616f24 docs(migration): free-steam-games-list, what the release and the first day found
Ops lint / actionlint + Python (pull_request) Successful in 6s
The rclone pin and the moved app tags, the Windows rustup, gitleaks' slow fetch in job containers, one runner against Renovate's first run, the service worker in front of Access's callback, the bot token with write:user only, Renovate's npm lockfiles without a github.com token, Kotlin's held security update, and rustup.exe gone from the host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 06:48:36 +07:00
poli0981andClaude Opus 5.5 872107131f docs(migration): free-steam-games-list is done
The tracker (§8), the guide status and the cron registry mark the repo as
migrated (Gitea #1, v4.8.0 / apps 2.6.0 on R2, data-daily and security
live), and its guide records what the move found: Gitea's main was 49
commits behind GitHub, the Tauri updater key went with the account,
publish-r2 and notify-release-pipeline needed the ops v2026.11.3 fixes,
Gitea cancels a waiting run when a third joins its group and stops tasks
after 3 h, Steam answers by country, and qodana-rust's hardened image needs
a dhi.io pin and 25 minutes. §4.5's Docker Desktop VERIFY holds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:27:04 +07:00
renovate-bot Bot 6b8ddf4830 chore(deps): update actions/setup-dotnet action to v6
Ops lint / actionlint + Python (pull_request) Successful in 9s
2026-11-24 15:17:04 +00:00
renovate-bot Bot 462f117f37 chore(deps): update ruby/setup-ruby action to v1.344.0
Ops lint / actionlint + Python (pull_request) Successful in 9s
2026-11-24 15:17:00 +00:00
14 changed files with 331 additions and 32 deletions

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ jobs:
run: |
PACKAGER=""
case "$REPO" in
*autoclick*|*captureimg*|*randomizerMAC*|*HashTool*) PACKAGER="Velopack" ;;
*autoclick*|*captureimg*|*randomizerMAC*|*HashTool*|*CommandForge*|*OmniDeck*|*frameledger*|*AppLedger*) PACKAGER="Velopack" ;;
*youtube-generator*|*free-steam-games-list*|*free-games-itchio-list*) PACKAGER="Tauri" ;;
*)
if echo "$WF_NAME" | grep -qi 'tauri\|desktop'; then PACKAGER="Tauri"; fi
+2 -2
View File
@@ -116,7 +116,7 @@ jobs:
"DOTNET_INSTALL_DIR=$(Join-Path $base 'dotnet')" >> $env:GITHUB_ENV
- name: Setup .NET ${{ inputs.dotnet-version }}
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
with:
dotnet-version: ${{ inputs.dotnet-version }}
@@ -165,7 +165,7 @@ jobs:
"DOTNET_INSTALL_DIR=$(Join-Path $base 'dotnet')" >> $env:GITHUB_ENV
- name: Setup .NET ${{ inputs.dotnet-version }}
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
with:
dotnet-version: ${{ inputs.dotnet-version }}
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go (${{ inputs.go-version }})
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0
with:
go-version: ${{ inputs.go-version }}
check-latest: true
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup JDK ${{ inputs.java-version }} (${{ inputs.distribution }})
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
java-version: ${{ inputs.java-version }}
distribution: ${{ inputs.distribution }}
+1 -1
View File
@@ -156,7 +156,7 @@ jobs:
- name: Setup .NET
if: ${{ inputs.dotnet-version != '' || inputs.dotnet-global-json-file != '' }}
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
with:
dotnet-version: ${{ inputs.dotnet-global-json-file == '' && inputs.dotnet-version || '' }}
global-json-file: ${{ inputs.dotnet-global-json-file }}
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Ruby ${{ inputs.ruby-version }}
uses: ruby/setup-ruby@be3c7df29b3349ec6bcfc6b4792f1cf9f5237d18 # v1.343.0
uses: ruby/setup-ruby@78c62f2208e480ce3d5ae4dfd9b9e181acf48b63 # v1.344.0
with:
ruby-version: ${{ inputs.ruby-version }}
bundler-cache: true # bundle install + cache automatically
+4 -1
View File
@@ -311,7 +311,7 @@ jobs:
"DOTNET_INSTALL_DIR=$(Join-Path $base 'dotnet')" >> $env:GITHUB_ENV
- name: Setup .NET ${{ inputs.dotnet-version }}
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
with:
dotnet-version: ${{ inputs.dotnet-version }}
@@ -320,6 +320,9 @@ jobs:
shell: bash
env:
SOLUTION: ${{ inputs.dotnet-solution }}
# docker.gitea.com/runner-images ship no ICU, and .NET stops at start-up without it ("Couldn't find a
# valid ICU package", seen 2026-11-26 on HashTool). A restore needs no cultures.
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: '1'
run: |
set -uo pipefail
# shellcheck disable=SC2086
+9 -7
View File
@@ -354,7 +354,7 @@ Qodana CLI scan for any stack; replaces `JetBrains/qodana-action`.
- Inputs: `runs-on` (`ubuntu-latest` | `windows-latest`), `linter`, `config`, `project-dir`, `repository-root`, `working-directory` (where `package.json` and the lockfile are), `extra-args`, `package-manager` (`none` | `npm` | `pnpm`; installs with scripts off), `node-version` / `node-version-file`, `dotnet-version` / `dotnet-global-json-file`, `prepare-command`, `within-docker`, `artifact-name`. Secret: `QODANA_TOKEN`.
- A project in a subdirectory passes `project-dir: <dir>` with `repository-root: .`; `extra-args` reaches `qodana scan` split on spaces (qodana-rust in Docker: `-u root -e CARGO_HOME=/data/cache/cargo`). Added in ops v2026.11.3 for free-steam-games-list's three projects.
- Native mode by default. `within-docker: true` is for linters without one (`qodana-rust`): on `windows-latest` Docker Desktop runs the image (**VERIFY**).
- Native mode by default. `within-docker: true` is for linters without one (`qodana-rust`): on `windows-latest` Docker Desktop runs the image (verified 2026-11-24 with free-steam-games-list's qodana-js and qodana-rust; the Rust image's apt and timeout traps are in [its guide](migration/free-steam-games-list.md)).
- CLI pinned and SHA-256 verified; the report stays an artifact (no code-scanning UI); runs started by `renovate-bot` skip the job.
### 4.6 Tools and maintainer scripts in the ops repo
@@ -381,8 +381,8 @@ Qodana CLI scan for any stack; replaces `JetBrains/qodana-action`.
1. `vpk download s3 --channel win -o releases` (previous release, for delta packages; first release: ignore the "nothing found" result).
2. `vpk pack -u <PackId> -v <version> -p <publish dir> -o releases …` (existing flags of the repo).
3. `vpk upload s3 --channel win -o releases --keepMaxReleases 10`.
- **VERIFY on the pilot:** that `vpk … s3` works against R2 with `--endpoint` only (if signing fails, try adding `--region auto`), and that the keys land under `<app>/`. If `vpk … s3` cannot talk to R2: `vpk download http --url https://releases.poli0981.dev/<app>` + `publish-r2.yml` (packages first, `releases.win.json`, `assets.win.json` and `RELEASES` last).
- Public files: the stable-named installer and portable zip that `vpk pack` writes (`<PackId>-Setup.exe` / `<PackId>-Portable.zip`; some Velopack versions add `-win-`: copy the exact names from the pilot's `releases/` folder). Both are matched by the cache-bypass rule. Link them from README and the Gitea release notes.
- **Verified 2026-11-26 on CommandForge** (vpk 1.2.161, [its guide](migration/commandforge.md)): `vpk … s3` works against R2 with the endpoint only (no region, default checksums), the objects land under `<app>/`, and vpk reads every option from `VPK_<OPTION>` environment variables. `vpk download s3` on an empty folder finds 0 releases and exits 0, so a dispatched dry run can check the credentials. `vpk upload s3` publishes the packages, Setup.exe and Portable.zip, then `releases.win.json` and `RELEASES` (`no-cache`); not `assets.win.json`. Fallback if it ever cannot talk to R2: `vpk download http --url https://releases.poli0981.dev/<app>` + `publish-r2.yml` (packages first, `releases.win.json` and `RELEASES` last).
- Public files: the stable-named installer and portable zip that `vpk pack` writes, with the channel in the name: `<PackId>-win-Setup.exe` / `<PackId>-win-Portable.zip` (CommandForge, vpk 1.2.161). Both are matched by the cache-bypass rule. Link them from README and the Gitea release notes.
- Other platforms later: Velopack makes a `.pkg` + portable `.zip` on macOS (needs a Mac; no macOS runner) and only a portable `.AppImage` on Linux. Feeds are `releases.osx.json` / `releases.linux.json`. All of these names are already covered by the cache-bypass rule (§1).
- App code: `new UpdateManager("https://releases.poli0981.dev/<app>")` (HTTP source). Remove `GithubSource` usage and any GitHub token logic.
- Qodana: native mode on Windows (§3.5).
@@ -428,6 +428,7 @@ Qodana CLI scan for any stack; replaces `JetBrains/qodana-action`.
- Events caused by the job token start no workflow: Gitea skips the Actions user, as GitHub skips `GITHUB_TOKEN` (scheduled workflows are still refreshed). A release or PR made by CI triggers nothing. `workflow_dispatch` through the API starts a run whoever calls it; the job token needs `actions: write` (source).
- **A dispatched run writes no commit status** (measured 2026-11-24 on 28.4.0, poli0981-dev): statuses come from push and pull_request runs only. A bot PR that waits for a dispatched CI run (D5) never meets a required check, and merging is refused with 405 "Not all required status checks successful". Record the result yourself from a later job of the same run: `POST /repos/{owner}/{repo}/statuses/{sha}` `{state, context, target_url}` with the job token (`contents: write`), using a context the protection pattern matches (`CI / build (workflow_dispatch)` for `CI / build (*)`).
- Steps and processes (measured 2026-11-24): a process a step starts in the background (`cmd &`) is gone when the next step starts, so start a server and run what needs it in the same step. In the job container `localhost` can resolve to ::1 for a server and to 127.0.0.1 for a client (Node's fetch): bind and call `127.0.0.1` explicitly. An action whose tarball holds paths that differ only in case cannot be unpacked (the runner's action cache sits on the Windows disk), e.g. `treosh/lighthouse-ci-action`; run its CLI with `npx` instead.
- .NET on the runners (measured 2026-11-26, HashTool): the Docker images (`docker.gitea.com/runner-images`) have **no ICU**, and .NET stops at start-up without it. Jobs that need cultures (tests, an app's smoke test) `apt-get install libicu-dev` (the container runs as root); jobs that only restore, build or run tools set `DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1`. On the host-mode Windows runner, `shell: bash` may resolve to `System32\bash.exe` (WSL), there is no `python3`, and PowerShell cannot load `Microsoft.PowerShell.Archive` (`Compress-Archive` fails; use `[IO.Compression.ZipFile]`): write Windows steps in `pwsh`.
- The job token reads any public repo of the instance; another private repo only with the owner's cross-repo Actions setting (source).
- Run links `/{owner}/{repo}/actions/runs/{id}` take the run ID; old run-number links redirect (source).
- Issue templates: Gitea reads `.gitea/ISSUE_TEMPLATE`, `.github/ISSUE_TEMPLATE` and `.github/issue_template` (source). GitLab only reads `.gitlab/issue_templates/*.md` and `.gitlab/merge_request_templates/*.md`.
@@ -475,8 +476,8 @@ None (2026-11-23). A new question goes into [`migration/README.md`](migration/RE
| softharbor | web | ☑ merged 2026-11-24 (Gitea #1, #2, #3) | ☑ | ☑ | ☑ | ☑ v1.5.0 deployed by the CI `deploy` job, Gitea release published by hand | ☑ | `17 13 * * *`, `59 13 * * *`, `43 14 * * 1`, `37 15 * * 2` |
| poli0981-dev | web | ☑ merged 2026-11-24 (Gitea #1, #3) | ☑ | ☑ | ☑ | ☑ v2.4.0 deployed by the CI `deploy` job | ☑ | `13 14 * * 3` (security) |
| tilepier | web | ☐ | ☐ | ☐ | ☐ | n/a | ☐ | proposed |
| HashTool | dotnet | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
| youtube-generator | web + tauri | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
| HashTool | dotnet | ☑ merged 2026-11-26 (Gitea #2) | ☑ | ☑ | ☑ | ☑ 1.3.1 on R2 (`vpk upload s3` win + linux, rclone for `<version>/`), Gitea release by CI | ☑ | `43 13 * * 1` (security), `53 13 * * 4` (qodana) |
| youtube-generator | web + tauri | ☑ merged 2026-11-26 (Gitea #2, #3, #4) | ☑ | ☑ | ☑ | ☑ v1.7.0 on R2, site deployed by the CI `deploy` job | ☑ | `37 13 * * 3` (security), `53 15 * * 1` (rust) |
| youtube-auto-post | python | ☐ | ☐ | ☐ | ☐ | n/a | ☐ | proposed |
| jsonPrism | web + tauri | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
| MarkLens | flutter | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
@@ -484,10 +485,11 @@ None (2026-11-23). A new question goes into [`migration/README.md`](migration/RE
| QuoteAtlas | web + tauri | not on Gitea yet | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
| AppLedger | dotnet | not on Gitea yet | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
| WardSweep | rust + dotnet | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
| free-steam-games-list | data + web + tauri | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
| free-games-itchio-list | data + web + tauri | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | proposed |
| free-steam-games-list | data + web + tauri | ☑ merged 2026-11-24 (Gitea #1) | ☑ | ☑ | ☑ | ☑ v4.8.0 / apps 2.6.0 on R2 | ☐ | `3 13 * * *` (data-daily), `49 15 * * 2` (security) |
| free-games-itchio-list | data + web + tauri | ☑ merged 2026-11-25 (Gitea #1) | ☑ | ☑ | ☑ | ☑ v4.7.0 on R2 | ☑ | `27 13 * * *` (update), `49 13 * * *` (refresh), `1 15 * * 3` (security) |
| RepoLens | web | ☐ | ☐ | ☐ | ☐ | n/a | ☐ | proposed |
| content | content (submodule of poli0981-dev) | ☑ main on Gitea 2026-11-24 | n/a | n/a | n/a | n/a | ☑ | none |
| CommandForge | dotnet | ☑ merged 2026-11-26 (Gitea #2, #3) | ☑ | ☑ | ☑ | ☑ v2.3.0 on R2 (`vpk upload s3`), Gitea release by CI | ☑ | `11 14 * * 5` (security) |
| any repo not listed (not inventoried) | | | | | | | | |
The cron slots themselves are registered in [migration/README.md](migration/README.md#cron-slots-utc--the-registry).
+15 -15
View File
@@ -36,8 +36,8 @@ For a repo without a guide, the same prompt works with only the runbook: §3.1 s
| `poli0981-dev` | web (Astro, Workers) + admin | **Done.** Merged 2026-11-24 (Gitea #1, #3); v2.4.0 deployed by the CI `deploy` job, admin publishing through Gitea | [poli0981-dev.md](poli0981-dev.md) |
| `content` (`E:\content`) | content submodule of `poli0981-dev` | **Done** with it (2026-11-24) | [poli0981-dev.md](poli0981-dev.md#the-content-submodule-poli0981content-econtent) |
| `tilepier` | web (SvelteKit, Workers) | not started | [tilepier.md](tilepier.md) |
| `HashTool` (`E:\hash`) | Avalonia/.NET 10 + NativeAOT CLI, Velopack win/osx/linux | not started | [hashtool.md](hashtool.md) |
| `youtube-generator` (`E:\youtube`) | web (Workers) + Tauri + Android | not started | [youtube-generator.md](youtube-generator.md) |
| `HashTool` (`E:\hash`) | Avalonia/.NET 10 + NativeAOT CLI, Velopack win/linux (osx dropped) | **Done.** Merged 2026-11-26 (Gitea #2); 1.3.1 released to R2 | [hashtool.md](hashtool.md) |
| `youtube-generator` (`E:\youtube`) | web (Workers) + Tauri + Android | **Done.** Merged 2026-11-26 (Gitea #2, #3, #4); v1.7.0 released to R2, the site deployed by the CI `deploy` job | [youtube-generator.md](youtube-generator.md) |
| `youtube-auto-post` | Python bot on a schedule | not started | [youtube-auto-post.md](youtube-auto-post.md) |
| `jsonPrism` | web + API (Workers) + Tauri + Android | not started | [jsonprism.md](jsonprism.md) |
| `MarkLens` (`E:\marklens`) | Flutter desktop (Windows, Linux) | not started | [marklens.md](marklens.md) |
@@ -45,9 +45,10 @@ For a repo without a guide, the same prompt works with only the runbook: §3.1 s
| `QuoteAtlas` (`E:\qoute`) | web + Tauri + Android | **not on Gitea yet** (origin is still GitHub) | [quoteatlas.md](quoteatlas.md) |
| `AppLedger` (`E:\appledger`) | .NET/WPF, Velopack, never released | **not on Gitea yet** (origin is still GitHub) | [appledger.md](appledger.md) |
| `WardSweep` (`E:\wardsweep`) | Rust broker + .NET/WPF UI, Velopack | not started | [wardsweep.md](wardsweep.md) |
| `free-steam-games-list` (`E:\2`) | Python data pipeline + SvelteKit on Workers + Tauri + Android | not started; **the site reads its data from GitHub** | [free-steam-games-list.md](free-steam-games-list.md) |
| `free-games-itchio-list` (`E:\game`) | Python data pipeline + React on Workers + Tauri + Android | not started; the site is frozen at its last build | [free-games-itchio-list.md](free-games-itchio-list.md) |
| `free-steam-games-list` (`E:\2`) | Python data pipeline + SvelteKit on Workers + Tauri + Android | **Done.** Data restored 2026-11-24 (49 GitHub-only data commits pushed, the Worker reads Gitea); migration merged as Gitea #1; v4.8.0 / apps 2.6.0 released to R2 | [free-steam-games-list.md](free-steam-games-list.md) |
| `free-games-itchio-list` (`E:\game`) | Python data pipeline + React on Workers + Tauri + Android | **Done.** Catalog restored 2026-11-24 from the live site (+235 games); migration merged as Gitea #1; v4.7.0 released to R2 | [free-games-itchio-list.md](free-games-itchio-list.md) |
| `RepoLens` (`E:\repo`) | SvelteKit on Workers, data from the GitHub API | not started; **the site has no data source** | [repolens.md](repolens.md) |
| `CommandForge` (`E:\cmd`) | .NET/WPF, Velopack | **Done.** Merged 2026-11-26 (Gitea #2, #3); v2.3.0 released to R2, the first Velopack app there | [commandforge.md](commandforge.md) |
| any repo not listed | — | not inventoried | run the inventory |
## Cron slots (UTC) — the registry
@@ -56,21 +57,21 @@ Every scheduled workflow gets its own slot inside 13:00–16:00 UTC (runbook §3
| Slot (UTC) | Days | Repo · workflow | Status |
|---|---|---|---|
| 13:03 | daily | free-steam-games-list · data-daily | proposed |
| 13:03 | daily | free-steam-games-list · data-daily | live |
| 13:11 | daily | RepoLens · production smoke | proposed |
| 13:17 | daily | softharbor · quarantine | live |
| 13:19 | Fri | jsonPrism · security | proposed |
| 13:23 | daily | pipdock · security-scan | proposed |
| 13:27 | daily | free-games-itchio-list · update (ingest) | proposed |
| 13:27 | daily | free-games-itchio-list · update (ingest) | live |
| 13:31 | daily | renovate-config · renovate | live |
| 13:37 | Wed | youtube-generator · security (ops caller) | proposed |
| 13:41 | Tue | youtube-generator · security (local: actionlint, zizmor) | proposed |
| 13:43 | Mon | HashTool · security (ops caller) | proposed |
| 13:37 | Wed | youtube-generator · security (workflow lint + ops caller in one workflow; its 13:41 Tue slot was not needed) | live |
| 13:43 | Mon | HashTool · security (local checks, workflow lint and the ops caller in one workflow; its 15:19 Tue slot was not needed) | live |
| 13:47 | daily | pipdock · ci-integration (nightly) | proposed |
| 13:49 | daily | free-games-itchio-list · refresh | proposed |
| 13:53 | Thu | HashTool · qodana | proposed |
| 13:49 | daily | free-games-itchio-list · refresh | live |
| 13:53 | Thu | HashTool · qodana | live |
| 13:59 | daily | softharbor · vt-recheck | live |
| 14:07 | Sun | .github · weekly-digest | live |
| 14:11 | Fri | CommandForge · security (workflow lint + ops caller in one workflow) | live |
| 14:13 | Wed | poli0981-dev · security | live |
| 14:17 | Mon | captureimg · docs (external links) | proposed |
| 14:19 | Thu | pipdock · security (ops caller, D4) | proposed |
@@ -85,20 +86,19 @@ Every scheduled workflow gets its own slot inside 13:00–16:00 UTC (runbook §3
| 14:47 | daily | youtube-auto-post · notify (YA1) | proposed |
| 14:53 | Tue | pipdock · ci-integration (weekly fixtures) | proposed |
| 14:59 | Sun | bookmarkmagic · security | proposed |
| 15:01 | Wed | free-games-itchio-list · security | proposed |
| 15:01 | Wed | free-games-itchio-list · security | live |
| 15:03 | Thu | WardSweep · security (local, WS1) | proposed |
| 15:07 | Thu | tilepier · security | proposed |
| 15:11 | Sat | captureimg · security | proposed |
| 15:13 | Mon | ticktune · qodana | live |
| 15:19 | Tue | HashTool · security (local: licences, actionlint, zizmor) | proposed |
| 15:23 | Fri | MarkLens · security | proposed |
| 15:29 | Wed | ticktune · security | live |
| 15:33 | Sun | QuoteAtlas · security | proposed |
| 15:37 | Tue | softharbor · security | live |
| 15:41 | Mon | bookmarkmagic · qodana | proposed |
| 15:47 | Thu | youtube-auto-post · security | proposed |
| 15:49 | Tue | free-steam-games-list · security | proposed |
| 15:53 | Mon | youtube-generator · rust | proposed |
| 15:49 | Tue | free-steam-games-list · security | live |
| 15:53 | Mon | youtube-generator · rust | live |
## Decisions that cover several repos
+85
View File
@@ -0,0 +1,85 @@
# CommandForge — migration guide
> Written 2026-11-26 against `main` @ `ea60d58` (local clone `E:\cmd`, Gitea `poli0981/CommandForge`). Profile: .NET 10 WPF (`net10.0-windows`, `.slnx`), Velopack (channel `win`, ReadyToRun publish with an elevated helper next to the app), releases from GPG-signed annotated tags (runbook §5.1). Maintenance mode. It had no guide before its session: the inventory ran in it. Shared decisions: [README](README.md).
**Done 2026-11-26**, the first Velopack app released to R2. The migration merged as Gitea #2 (`f59bc54`, 12
commits, with the release commit), tagged and released as **v2.3.0**: Velopack feed and packages on
`releases.poli0981.dev/commandforge/`, `2.3.0/SHA256SUMS` and a CycloneDX SBOM next to them, a Gitea release with the
notes and links, announced through the ops `announce-release.yml` (pinned at ops v2026.11.4, `c133a00`). #3 corrected
two docs details the release showed. Renovate's onboarding PR #1 was closed: #2 adds `renovate.json`. What the move
found:
- **`vpk … s3` works against R2 as the runbook guessed** (vpk 1.2.161): `VPK_BUCKET`, `VPK_PREFIX=commandforge/`,
`VPK_ENDPOINT=https://<account>.r2.cloudflarestorage.com` and the keys, no region, default checksums. vpk reads every
option from `VPK_<OPTION>` (checked locally against a dead endpoint first). `vpk download s3` on the empty folder
logged "Found 0 release(s) in remote file … No full / applicable release was found" and exited 0, so a dispatched
**dry run** (build, pack, SBOM, checksums, the download; no upload) checks the R2 credentials before the first tag.
`vpk upload s3` sent the full package, Portable.zip and Setup.exe, then `releases.win.json` and `RELEASES`
(`no-cache`), in 8 s. It does **not** publish `assets.win.json`, which `vpk pack` writes locally. The public names
carry the channel: `CommandForge-win-Setup.exe`, `CommandForge-win-Portable.zip`. The workflow keeps one retry with
`--disableChecksumValidation` in case R2 ever refuses the SDK's checksums; it was not needed.
- **Release layout**: a local `release.yml`, not `reusable-desktop-csharp.yml`, because `scripts/pack.ps1` publishes
ReadyToRun and checks that the elevated helper is in the publish folder. `scripts/release-assets.ps1` (runs locally
too) writes the CycloneDX SBOM (`cyclonedx` 6.3.2 as a local tool, `.slnx` supported, test projects left out,
build-only packages kept with scope `excluded`), `SHA256SUMS` and the notes from CHANGELOG.md. `SHA256SUMS` lists
only what the version ships (Setup, Portable, its packages, the SBOM), not the feed files that vpk rewrites on every
upload: that was the bug of the GitHub-era `checksums.txt`. The ops `publish-r2.yml` puts `<version>/` up after
vpk; then `gitea-release-action`, then the announcer. The tag must equal `<Version>` in `Directory.Build.props`.
- **Downloaded and compared after the release**: Setup.exe, Portable.zip, the full package and the SBOM all match
`SHA256SUMS`, and the feed's SHA-256 of the full package matches too. Every public file answers 200 with
`cf-cache-status: DYNAMIC`, the versioned ones included (the edge does not cache this folder today).
- **VirusTotal**: the optional step found `VT_API_KEY` although the repository has no such secret, so it is a
user-level secret; the scan and its links in the notes worked.
- **Report a bug** opens `gitlab.com/poli0981/CommandForge/-/issues/new?issue[title]=…&issue[description]=…` with the
Bug template's sections answered (no `issuable_template`: a template would replace the description). GitLab
redirects `issues/new` to `work_items/new` and keeps both fields (checked signed in, nothing submitted). A test keeps
the app's sections equal to `.gitlab/issue_templates/Bug.md`, another fails if any source file links to
`github.com/poli0981`. The legal texts the app links (EULA, LICENSE, DISCLAIMER, PRIVACY) open on Gitea's
`/src/branch/main/…`; the terms version stays the same (as FG5: same request, another host).
- **Installs of 2.2.0 and older** asked GitHub (`GithubSource`) and see 404 ("No release feed was found"): they need
2.3.0 once by hand. The notes, README, UPDATES and CHANGELOG say so (runbook §7 item 5).
- **CI on the single runner** (`anon-win`, all labels, one job at a time): the PR's 11 checks took ~17 min, the
release ~4 min. Qodana's CLI in native mode on Windows reported zero problems, as the action did; gitleaks found
nothing over the full history; osv-scanner has no lockfile to read (the repo has no `packages.lock.json`; the
NuGetAudit restore covers NuGet). Until #2 merged, Gitea listed the GitHub-era `.github/workflows` of `main`.
- **Branch protection on `main`** (D6): no push, no force push, status checks `Build / build (*)` and
`Build / package (*)` (Gitea lists both `(pull_request)` and `(push)` contexts). Merge commits made in the UI are
unsigned ("no key available to sign"), so signed commits are not required.
- **Logs and runs without a token**: `GET /repos/{owner}/{repo}/actions/runs/{id}/jobs` and
`/commits/{sha}/status` answer; `GET …/actions/runs` and the API's job-log route answer 401. From the signed-in
browser, `/{owner}/{repo}/actions/runs/{run}/jobs/{job id}/logs` returns the raw log.
- **On the PC**: Git for Windows' ssh was refused by Gitea (`Permission denied (publickey)`) while the Windows
OpenSSH agent holds the key: push with `GIT_SSH_COMMAND=C:/Windows/System32/OpenSSH/ssh.exe`. GPG signing failed
with "sending fd … to keyboxd: Input/output error" until `gpgconf --kill keyboxd`.
## Decided (2026-11-26)
- D1 (SonarCloud and `dotnet-sonarscanner` removed; SonarAnalyzer stays as a Roslyn analyzer), D2 (no triage
workflow existed), D6, D7 (attestations, Scorecard, dependency review, the GitHub SBOM go; a CycloneDX SBOM is
generated in the build and uploaded under `<version>/`), D11 (Discussions links removed).
- **CF1 — release workflow local**, as above; manual runs on a branch are dry runs.
- **CF2 — VirusTotal stays optional**, skipped without `VT_API_KEY`.
## Workflows (`.github/workflows` → `.gitea/workflows`)
| File | Before | Now |
|---|---|---|
| `build.yml` | build/test/format + package smoke on `windows-latest`, `actions/cache`, upstream `upload-artifact` | Moved; tool-cache SDK, the PC's NuGet cache (no `actions/cache`), Gitea artifact action |
| `codeql.yml` | CodeQL C# + actions, cron `37 14 * * 1` | **Deleted** → `security.yml`: actionlint + shellcheck job and the ops `security.yml` (`dotnet: true`, `dotnet-runs-on: windows-latest`, `dotnet-solution: CommandForge.slnx`), cron **`11 14 * * 5`** |
| `sonarcloud.yml`, `scorecard.yml` (cron `25 6 * * 1`), `dependency-review.yml` | | **Deleted** (D1, D7) |
| `qodana.yml` | `qodana-action`, token check job | Caller of `reusable-qodana.yml` (`windows-latest`, `dotnet-global-json-file`, `prepare-command: dotnet build …`) |
| `release.yml` | `vpk download/upload github`, attestations, `gh` SBOM/checksums/notes, VirusTotal | CF1 |
| `announce-release.yml`, `notify-ci-failure.yml` | ops callers `@c3e118a` (old path), `secrets: inherit` | ops v2026.11.4 + `ops_ref`, secrets by name; new `notify-release-pipeline.yml` |
`.github/dependabot.yml` → deleted; `renovate.json` (majors need Dashboard approval, no `Microsoft.Extensions.**` /
`dotnet-sdk` majors, Velopack + vpk together). `.gitlab/issue_templates` (Bug, Feature request, Command, Translation,
Accessibility) and the MR template added; `.github/ISSUE_TEMPLATE` kept for Gitea.
## Secrets
Repository: `DISCORD_CI_WEBHOOK`, `DISCORD_RELEASES_WEBHOOK`, `DISCORD_RELEASE_PIPELINE_WEBHOOK`, `QODANA_TOKEN`.
User level: R2 keys + `R2_ACCOUNT_ID`, `VT_API_KEY`. Dropped: `SONAR_TOKEN`.
## Hand-off extras
Qodana Cloud: set the project's VCS URL to `https://git.poli0981.dev/poli0981/CommandForge.git` (maintainer).
+43 -2
View File
@@ -4,6 +4,47 @@
The site still serves its last build, but nothing reaches it: Workers Builds pulled from GitHub, the admin and the Worker's cron write through a GitHub App, and the pipeline has not run since the account went. CLAUDE.md's "GitHub Actions", "Worker" and gotchas 17–18 explain the moving parts.
**Done 2026-11-25.** The data restore went to `main` first; the migration merged as Gitea #1 (`8776c61`) and was
released as **v4.7.0** (desktop + Android on R2). [free-steam-games-list](free-steam-games-list.md)'s notes
apply here too (the bot token's Repository permission, Renovate and npm lockfiles, the dhi.io pin for qodana-rust,
one runner, a waiting run cancelled by a third); what this repo added:
- **Gitea's `main` was a week behind and no clone had the rest**: it had been pushed from `E:\game`, whose last
GitHub fetch was 2026-11-16, while GitHub's pipeline committed until 11-22. The live site still served the
Workers Build of GitHub `d6e1fd9`, and its readable catalog JSON (only for `Origin: tauri://localhost`) is
`JSON.stringify` of the repo files: rewritten with the pipeline's own `json_io.dumps` it is byte-identical (the
catalog has no floats), so `data_game/` and `scripts/deleted_games.json` were restored from it (+235 games, −6;
6,298). Proof: a local build reproduced the live `manifest-v1.json` exactly (pack names are content hashes),
and every asset of that build existed on the live site (no code commit lost). Not recoverable:
`scripts/state/*` and `temp_link.json` of 16–22 Nov; D1 had no item stuck in `queued`, so nothing needed
re-adding. A site that bundles its data can be its own backup when the build is deterministic.
- **One `release.yml`** replaced `release_desktop.yml` + `release_android.yml` (one `v*` tag → Windows host,
`ubuntu-22.04` Docker, Android Docker → `SHA256SUMS` → `publish-r2.yml` → a draft). A `workflow_dispatch` on
`main` builds without uploading; the dry run was green on its first try, after the maintainer's rustup was
reinstalled (free-steam's last note).
- **D16 works**: `commit_push.sh` writes `deploy=true` when the pushed commit touched the catalog, and the data
workflows dispatch `deploy.yml` with the job token (`bash/dispatch.sh`). A run with only state changes
dispatches nothing.
- **The Worker's first cron on the new code** (04:23Z, 11-25) auto-approved 100 games in one `[auto]` commit as
`poli0981-bot` (`automation_last_run`: no errors); that push started `update.yml`, whose ingest (+98 games,
6,396) dispatched `deploy.yml`, and the site served that commit at 05:12Z.
- **Publishing the draft announced nothing (FG4 does not hold as written)**: Gitea credits `release: published`
to the release's publisher, which stays the Actions user that created the draft, even when the maintainer
clicks Publish; so, as for any job-token event, no workflow started. `announce-release.yml` was dispatched
with the tag instead, and the release process says so now. Every repo whose release workflow leaves a draft
for the maintainer has the same gap.
- **Qodana**: Rust goes through the reusable's `extra-args` (v2026.11.3), as gotcha 49 asks. qodana-python flagged
the bodies of two `isinstance` guards in the pipeline as unreachable because their parameters were annotated
`str`; annotated as `object`, the guards stay. gitleaks: 5 non-secrets (the GPG fingerprint in CLAUDE.md twice,
two Access audience tags, the old extension's OpenPGP.js) in `.gitleaksignore`.
- **A command-line merge is not marked merged**: `git merge --no-ff` + push left Gitea #1 open, because the
repository's "autodetect manual merge" setting is off; it was closed by hand with the merge SHA. Renovate's
onboarding PR (#2), opened before `renovate.json` reached `main`, was closed too; its preview proposed JDK 25
for the Android job, so `renovate.json` keeps `java-jdk` majors manual.
- **The single runner**: the deploy after the merge waited ~85 minutes behind other repositories' jobs
(01:07 → 02:32Z), and an hourly `deploy-status.yml` run queued before the merge still ran after its file was
gone (a queued run keeps its workflow).
## Decided (2026-11-23)
- **FG1 — the Worker (D12, D13).** `repo.ts` + `github.ts`: the GitHub App and GraphQL `createCommitOnBranch` + `expectedHeadOid` → the Gitea contents API with the `poli0981-bot` token and each file's `sha` as the lock; `commitWithRetry` rebuilds from the new head on a refusal, as now (**VERIFY** the refusal, README D12). Reads at head (`scripts/state/ingest_outcomes.json` for reconcile, `scripts/temp_link.json`, the chunks the admin edits): Gitea raw or `GET /repos/{owner}/{repo}/raw/{path}?ref=main`, which return the bytes as they are (no base64, no mojibake). A bot commit to `scripts/temp_link.json` starts `update.yml`, as the App's did. The Worker's Cron Trigger (`23 */4 * * *`) stays on Cloudflare.
@@ -17,13 +58,13 @@ The site still serves its last build, but nothing reaches it: Workers Builds pul
| File | Do |
|---|---|
| `update.yml` | FG3 cron; dispatch `deploy.yml` after a data commit (FG2); `concurrency: ingest` with `queue: max` (**VERIFY**, README) |
| `update.yml` | FG3 cron; dispatch `deploy.yml` after a data commit (FG2); `concurrency: ingest` (Gitea ignores `queue: max`: dropped) |
| `refresh.yml` | FG3 cron; Gitea artifact actions for the patch; dispatch `deploy.yml` after apply (FG2) |
| `force_update.yml` | Move; its dispatch of `refresh.yml` goes through the Gitea API (job token, `actions: write`) |
| `notify-failure.yml` | Move; the "failed Cloudflare build" case now comes from `deploy.yml` |
| `deploy-status.yml` | **Delete** (FG3) with `bash/cf_build_status.sh` |
| `python-ci.yml`, `webapp-ci.yml` | Move (hash-locked pip, `npm ci --ignore-scripts`) |
| `qodana.yml` | Callers of `reusable-qodana.yml`: TypeScript (native, `project-dir: webapp`, `package-manager: npm`), Python (native, `prepare-command` builds `.venv` and appends `QODANA_PYTHON_PATH=…` to `$GITHUB_ENV`). Rust needs `-u root -e CARGO_HOME=…` (gotcha 49), which the reusable cannot pass yet: it leaves Qodana unless the ops repo adds an `extra-args` input |
| `qodana.yml` | Callers of `reusable-qodana.yml`: TypeScript (native, `project-dir: webapp`, `package-manager: npm`), Python (native, `prepare-command` builds `.venv` and appends `QODANA_PYTHON_PATH=…` to `$GITHUB_ENV`). Rust (`windows-latest`, `within-docker`) passes `-u root -e CARGO_HOME=…` (gotcha 49) through the reusable's `extra-args` (v2026.11.3) |
| `sonarcloud.yml` | **Delete** (D1) with `sonar-project.properties`; gotcha 41 and the coverage notes for Sonar go from CLAUDE.md |
| `release_desktop.yml`, `release_android.yml` | FG4 |
| `announce-release.yml`, `notify-release-pipeline.yml` | ops callers at `c3e118a` → `.gitea/workflows/<x>.yml@<ops-sha>` with `ops_ref` (that fixes the "checks out its script from `main`" note) |
+73
View File
@@ -4,6 +4,79 @@
**This is an incident, not only a migration.** The Worker reads every shard from `raw.githubusercontent.com/poli0981/free-steam-games-list/main`, which answers 404 since the suspension (checked 2026-11-23): the site serves only what its caches still hold. The admin writes through a GitHub App, the activity feed and the desktop update feed read GitHub, and the pipeline has not run since the account went. CLAUDE.md is long and load-bearing: the session reads its Pipeline and Worker sections before touching anything.
**Done 2026-11-24.** The data fix went to `main` first (the Worker reads Gitea, deployed by hand with wrangler);
the migration merged as Gitea #1 and was released as **v4.8.0 "Moving Day" / apps 2.6.0**. What the move found:
- **Gitea's `main` was 49 commits behind GitHub**: the import predated five days of pipeline commits
(2026-11-17 to 11-22, about 110 auto-approved games among them). The clone's `github/main` still had them; they
were fast-forwarded onto Gitea before anything else. Compare the forge copy with the last fetched GitHub ref
before trusting an import.
- **The Tauri updater key was lost with the account** (its private half lived only in GitHub's Actions secrets),
so 2.6.0 ships a new one: installed desktop apps <= 2.5.2 cannot verify an update and must install 2.6.0 by
hand (the old feed `/api/updates/desktop` answers 204 for good; 2.6.0 asks
`/api/updates/desktop/v2/{target}/{arch}/{current_version}`). FS3's "installed apps keep updating" did not hold;
for the other Tauri repos, check first that the signing key exists outside GitHub.
- **R2 layout as built** (publish-r2 puts feeds at `<app>/<name>`): `desktop/<version>/…` and `latest.json`,
`android/<version>/free-steam-games-list-<version>.apk`, `free-steam-games-list-latest.apk`,
`android-latest.json`. Ops v2026.11.3 was cut for this repo: publish-r2 on any tag (its guard required
`refs/tags/v*`, so `desktop-v*`/`android-v*` skipped the upload), `android-v` tags in notify-release-pipeline,
and `working-directory` / `repository-root` / `extra-args` in reusable-qodana (subdirectory projects, Rust's
`-u root`).
- **Gitea cancels a waiting run** when a third joins its concurrency group (`models/actions/run.go`; `queue: max`
is ignored), and stops any task after three hours. FS2's single daily workflow is the answer; every job's
timeout is <= 170, and the rotation caps were scaled to the guide's budgets.
- **Steam answers by the caller's country**: the jobs now run from Vietnam, so appdetails, store pages and the
search send `cc=us`, as GetItems did.
- **Workers Builds** had already lost its Git connection; `deploy.yml` deploys. Old `.github/workflows` ran on
Gitea for the hours between the data fix and the merge (CodeQL and SonarCloud failed, no data job ran).
- **qodana-rust's image is a Docker Hardened Image** (both `2026.2-eap` and `2026.3-eap`): its libraries are
installed as `<v>+dhi0`, which sorts above the `<v>+deb13u0+dhi0` its own repository dhi.io ships, so every
`-dev` package of a Tauri bootstrap reads as a downgrade and apt stops ("held broken packages"). The bootstrap
in `web/src-tauri/qodana.yaml` pins dhi.io at 1001 and passes `--allow-downgrades`; any Tauri repo with a
qodana-rust bootstrap needs the same two lines. Opening the Cargo project then took ~9 minutes in Docker
Desktop on the PC, past the linter's default 10-minute limit on a cold cache:
`properties: {qd.rust.configuration.timeout.minutes: "25"}`. The 2026.3-eap linter also misreads
`tauri::generate_context!()` (`RsUnresolvedPath`, `RsTypeCheck` in `src/lib.rs`, excluded there with the
reason). qodana-js and qodana-rust both ran in Docker Desktop on `windows-latest` (runbook §4.5's VERIFY
holds); a download of the linter can fail with "unexpected EOF": re-run the failed job.
- gitleaks found 8 non-secrets in the history (Access audience tags, the analytics token, a vendored OpenPGP.js
regex), kept in `.gitleaksignore`; osv-scanner needed floors in the unpinned `requirements-dev.txt`, which it
resolves by itself.
- **publish-r2 at v2026.11.3 could not upload at all**: its pin `RCLONE_VERSION` is read by rclone as `--version`,
and `rclone version` died before the first file. Fixed in **v2026.11.4** (`PINNED_RCLONE_*`, runbook §4.4). A
release workflow runs the workflow file of its own tag, so `desktop-v2.6.0` / `android-v2.6.0` (nothing
published from them) were moved, with the maintainer's OK, to the commit that pins v2026.11.4.
- **The Windows build uses the maintainer's own rustup** (host mode): its `stable` had lost `bin\rustdoc.exe`, and
`dtolnay/rust-toolchain` could neither update nor roll back ("failure removing component ... rustdoc.exe").
A placeholder file and `rustup update stable` repaired it (1.99.1 -> 1.100.0).
- **gitleaks' full-history fetch** (a ~164 MB pack) ran at ~12 MB/min inside the job container in the afternoon,
against its 15-minute limit (twice timed out, once finished with seconds left), while the host and a bare
container fetched it in under 40 s. Re-run on a timeout; if it keeps happening, raise the job's timeout.
- **One runner is not enough once Renovate starts**: its first run after the merge opened pull requests across the
repos, and the queue reached 80+ jobs (D15's second runner). Scheduled data jobs and releases wait their turn.
- **The site's service worker answered Access's sign-in callback** (`/cdn-cgi/access/authorized`) from its
offline shell, so `/admin` could not be signed in to from a browser that had the worker (pre-existing; fixed
in Gitea #2 by adding `/cdn-cgi/` to `navigateFallbackDenylist`). Any PWA behind Cloudflare Access needs it.
- **The Worker's bot token had the wrong permission**: `poli0981-bot` is a Bot account, which cannot sign in, so
its tokens live in Site Administration → User Accounts → the bot, where each token's permissions are listed and
every category starts at No access. The Worker's (`push2`) had `write:user` only: Gitea accepted it (a made-up
token gets 401) and refused every repository call with 403, the public repository's reads included, so
auto-approve, the Pipeline page and the Remove page all failed. Cure: a token with Repository at Read and
write, as the Worker's `GITEA_BOT_TOKEN`; Gitea #6 makes the admin show Gitea's reason, not a bare 403. Check
a Worker's token on that page, not only by its name.
- **Renovate cannot update an npm lockfile without a github.com token**: the slim image installs Node on demand
(`binarySource=install`), looking it up in `containerbase/node-prebuild`'s releases through GitHub's API;
unauthenticated, that was rate-limited ("No tool releases found"), so the Tauri group's PR (#4) carried
`Cargo.lock` only, with an artifact error on `web/package-lock.json`. Every npm repository meets it. In
`renovate-config`: a read-only github.com token for those lookups, or the full image with
`binarySource=global`.
- **Kotlin's security update (#3, 1.9.25 → 2.4.20) is held**: Kotlin 2.2+ refuses the `kotlinOptions {}` block
in `gen/android/app/build.gradle.kts`, and pull-request CI never builds the APK, so it would break only at the
next `android-v` tag. It needs the `compilerOptions` migration and a real Android build.
- **`rustup.exe` vanished from the maintainer's `~/.cargo/bin`** on 2026-11-25, after the release builds;
`cargo`, `rustc` and the rest are symlinks to it, so they stopped too, on the host and for host-mode jobs.
Reinstalling rustup restores them; the toolchains in `~/.rustup` stay.
## Decided (2026-11-23)
- **FS1 — the Worker's sources (D12, D13).**
+36
View File
@@ -2,6 +2,42 @@
> Written 2026-11-23 against `main` @ `8af82be` (local clone `E:\hash`, Gitea `poli0981/HashTool`). Profile: Avalonia 12 / .NET 10 app (`CheckHash`) + NativeAOT CLI (`hashtool`), Velopack on Windows, macOS and Linux (runbook §5.1). Maintenance mode since 1.3.0. Shared decisions: [README](README.md).
**Done 2026-11-26.** The migration merged as Gitea #2 (fast-forward to `c26a857`, 17 commits, with the release commit
and the fixes the first runs asked for), and **1.3.1** was released to `releases.poli0981.dev/hashtool/` by the
dispatched Release workflow. Renovate's onboarding PR #1 was closed (#2 adds `renovate.json`). What the move found:
- **The runner's Ubuntu images have no ICU.** Every .NET process died at start-up ("Couldn't find a valid ICU
package"). Jobs that run the tests or the app install `libicu-dev`; jobs that only restore, build or run tools set
`DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1`. The ops `security.yml` NuGetAudit job had the same problem on its default
`ubuntu-latest` (fixed in this repo, effective from the next ops tag); HashTool calls it with
`dotnet-runs-on: windows-latest`.
- **Avalonia 12.2's XAML compiler names generated types and methods with U+0001.** Microsoft.CodeCoverage's Cobertura
writer cannot put that into XML: all tests passed, then the test host crashed (exit -532462766). A plain
`dotnet test` does not show it; CI's `--coverage` does. `eng/coverage.config` limits coverage to HashTool.Core, the
only module the gate measures.
- **Host-mode PowerShell cannot load `Microsoft.PowerShell.Archive`**, so `Compress-Archive` fails;
`[IO.Compression.ZipFile]::CreateFromDirectory` works. `CheckHash.exe` is a GUI-subsystem program: PowerShell waits
for it only through `Start-Process -Wait`. `shell: bash` is avoided on the host (`System32\bash.exe` is WSL) and so
is `python3` (only `python` exists).
- **Qodana through the ops reusable** (CLI, newer `qodana-dotnet`) rates `HashAlgorithmName.MD5` critical
(`CsharpUsingCryptographyHashAlgorithmNameMD5`) and failed the gate; HashTool offers MD5 as a checksum, so the
inspection is ignored for `HashFunction.cs`. Qodana Cloud only accepts VCS URLs on github.com, gitlab.com and
bitbucket.org: the HASH project points at the GitLab mirror (`https://gitlab.com/poli0981/HashTool.git`), not Gitea.
- **Release path.** Releases stay dispatch-based (`version`, `publish`; tags without `v`), so the ops `publish-r2.yml`
(tag refs only) does not apply: the publish job uploads `hashtool/<version>/` (CLI archives, CycloneDX SBOMs,
`SHA256SUMS`) with rclone pinned and checked like `publish-r2.yml`, then `vpk upload s3` publishes `linux` from
Docker and `win` from the host. The Gitea release job creates the tag (`target_commitish`). vpk 1.2.161 names the
Linux build `HashTool.AppImage` and also writes `RELEASES-linux`. The upgrade gate is off (HT2: the 1.1.3 portables
were GitHub assets and are not on R2); `tests/Compat/LegacyClient` stays for a possible bridge release.
- A transient DNS failure on the PC (`builds.dotnet.microsoft.com` not found during setup-dotnet) failed one job; a
re-run passed. A full PR round (CI, Security, Qodana, Release dry run) took ~30 min on the single runner.
- **Branch protection on `main`** (D6): no push, no force push, administrators included; required checks
`CI / ci-ok (*)`, `Security / vulnerable-packages (*)`, `Security / licenses (*)`, `Security / workflow-lint (*)`,
`Reusable / Security / Secrets (gitleaks) (*)`, `Reusable / Security / Dependencies (osv-scanner) (*)`,
`Reusable / Security / .NET (NuGetAudit) (*)`.
- The notifier `notify-release-pipeline.yml` reports a dispatched run with the branch (`main`) as its tag: Gitea's
`workflow_run` payload carries no dispatch inputs.
The repo's CLAUDE.md and docs/RELEASING.md bind the session: Velopack invariants (pack id `HashTool`, channels `win`/`osx`/`osx-x64`/`linux`, exe `CheckHash`, tags **without** `v`), workflow rules (SHA pins, `persist-credentials: false`, per-job permissions, no `${{ }}` inside `run:`), `ci-ok` as the single required check, and **never run a built `Setup.exe`/`.pkg` on the maintainer's machine**. On Gitea, `windows-latest` *is* the maintainer's machine (host mode), so that last rule now applies to CI too.
## Decided (2026-11-23)
+59
View File
@@ -2,6 +2,65 @@
> Written 2026-11-23 against `main` @ `d7e2876` (local clone `E:\youtube`, Gitea `poli0981/youtube-generator`). Profile: YTDescGen, React/Vite web app on Cloudflare Workers (`ytgenerator.stream`, Turnstile gate) + Tauri 2 desktop (no updater) + Android APK (runbook §5.2, §5.3). Maintenance mode. Shared decisions: [README](README.md).
**Done 2026-11-26.** The migration merged as Gitea #2 (`6c0614d`), the dependency fold as #3 and the release
commit as #4; tagged and released as **v1.7.0** (Windows, Linux, Android on R2; no macOS, D9). The website deploys
from the CI `deploy` job. What the move found:
- **Gitea's `main` matched `github/main`** (`d7e2876`): nothing to restore. Until #2 merged, the GitHub-era
`.github/workflows` still ran on Gitea for PRs (`maintenance-triage.yml` ran from `main` on `pull_request_target`);
harmless, gone with the merge. Renovate's onboarding PR (#1) was closed: #2 adds `renovate.json` with this repo's
rules (majors via the Dependency Dashboard, Tauri's npm packages and crates in one group, i18next held below
26.7 for the bundle budget, the TypeScript aliases and runtimes by hand, glib and Tauri's Gradle template off).
- **The runner queue**: #2's checks waited ~1.5 h behind free-games-itchio-list's `refresh` scan (13:49 UTC) and the
catalog jobs after it; every push to a PR re-queues its whole check set at the back. D15's Docker-only runner would
have taken the ubuntu jobs. Expect an evening PR to take hours.
- **Release dry run from a branch**: Gitea's "Run workflow" menu lists only the workflows of the default branch, so a
new `release.yml` cannot be dispatched from the UI before it merges. The web route works from the maintainer's
signed-in browser: `POST /{owner}/{repo}/actions/run?workflow=release.yml` with `ref=refs/heads/<branch>` and the
page's `_csrf` (no token needed). A dispatched run writes no commit status (runbook §6); watch it with
`GET /repos/{owner}/{repo}/actions/runs/{id}/jobs`, which answers without a token for a public repo.
- **The committed Android project calls the cargo CLI**: `src-tauri/gen/android` is in git here (not generated in the
job, as in the catalog repos), and its `buildSrc/.../BuildTask.kt` runs `cargo tauri android android-studio-script`.
The npm CLI alone fails in Gradle with "no such command: `tauri`"; the job installs `tauri-cli` at exactly the npm
CLI's version (`cargo install tauri-cli --version "=<package.json version>" --locked`) and builds with
`cargo tauri android build --apk` (universal APK, signed by Gradle through `keystore.properties`).
- **The keystore secret was missing on Gitea**: `ANDROID_KEY_ALIAS`, `ANDROID_KEY_PASSWORD` and
`ANDROID_STORE_PASSWORD` had been carried over, `ANDROID_KEYSTORE_BASE64` had not. The keystore was still on the PC
(`ytdescgen-release.jks`), so the maintainer added it and the APK keeps its signing key (certificate SHA-256
`a099a450…`): installed apps update in place. Check all four before a Tauri repo's first Android release.
- **gitleaks**: one non-secret, the Cloudflare Web Analytics beacon token (public in every page) in
`build-plugins/web-only.ts` and its test, in `.gitleaksignore`.
- **osv-scanner and cargo-deny on the first run**: six RustSec advisories with patch releases (url 2.5.9, cookie
0.18.3, tokio 1.51.6, rustix 1.1.6, event-listener 5.4.2, anyhow 1.0.103), taken with `cargo update -p --precise`.
The Tauri-stack advisories nobody fixes yet (glib 0.18, the zbus crates, proc-macro-error, chrono) are in
`src-tauri/osv-scanner.toml` only: cargo-deny's default scopes (`unmaintained = "workspace"`, unsound likewise)
never meet them, and listing them in `deny.toml` just prints `advisory-not-detected` warnings.
- **qodana-rust 2026.3-eap, once its bootstrap worked** (dhi.io pin, 25-minute timeout, as free-steam-games-list),
reported 9 critical problems rustc and clippy do not have: `20 * 1024 * 1024` in a `u64` const read as a
`Duration` (RsTypeCheck), `file.metadata()` then `file.take()` read as a use after move (RsBorrowChecker), a
`usize` read as a `toml_parser::Span`, and unresolved macro paths. RsTypeCheck, RsBorrowChecker and RsUnresolvedPath
are the linter's copy of the compiler; they are excluded project-wide, since `rust.yml` builds with rustc and
clippy `-D warnings`. Write the bootstrap's `printf '…\n…'` with an editor, not through a shell heredoc: the `\n`
escapes became real newlines once and the YAML stopped parsing.
- **Local tooling without Docker**: actionlint + shellcheck (pinned binaries, as ops-lint) and zizmor `--offline`
from a hash-locked `.github/requirements-ci.txt` (also `reuse`), compiled on Windows for the Linux job with
`uv pip compile --generate-hashes --python-platform x86_64-manylinux_2_28`. The PR title check is bash on the
event payload (`amannn/action-semantic-pull-request` asks GitHub's API).
- **The deploy job** proves a deploy without passing the Turnstile gate: it reads the new entry chunk from
`dist/index.html` and waits for `https://ytgenerator.stream/assets/<chunk>.js` to answer 200 (assets are public).
`setup-node` logs "API rate limit exceeded" while fetching its version manifest from GitHub without a token, then
falls back; harmless.
- **Gitea's artifact service timed out twice** ("Failed to CreateArtifact … Request timeout", five attempts): Opengrep's
SARIF upload on `main`, and the v1.7.0 tag's Windows installers after a good build. "Re-run failed jobs" re-ran the
job and the skipped `assemble` → `publish` → `release` chain in the same run, with the Linux and Android artifacts
of the first attempt still there; R2 then got all six files, `SHA256SUMS` and the APK alias.
- **The release itself**: draft checked (all 8 links 200 with `curl -I`), short highlights added, published in the UI;
`announce-release.yml` dispatched with `tag=v1.7.0` (publishing CI's draft fires nothing, as in FG4) posted to both
Discord webhooks (HTTP 204).
- **Legal text**: TERMS and PRIVACY name the Gitea releases page and `releases.poli0981.dev` (Cloudflare, named in
the policy) instead of GitHub; not a material change, so the consent version stays 2 (as FG5). The in-app links
(About, "Report a bug") open Gitea and the GitLab mirror (Bug template); Wiki, Discussions and GitHub Sponsors went.
## Decided (2026-11-23)
- D3: a deploy job with `wrangler deploy` on `main` pushes. D9: no macOS bundles. D10: the Android SDK is installed in the job. D11: `pages-migration.yml` goes with `migration-page/`.