@@ -46,7 +46,7 @@ For a repo without a guide, the same prompt works with only the runbook: §3.1 s
| `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 | **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 | not started; the site is frozen at its last build | [free-games-itchio-list.md](free-games-itchio-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) |
| any repo not listed | — | not inventoried | run the inventory |
@@ -61,13 +61,13 @@ Every scheduled workflow gets its own slot inside 13:00–16:00 UTC (runbook §3
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` |
| `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) |
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.