|
|
|
@@ -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).**
|
|
|
|
|