From 826c9e65d5b3f683135e73ededc1d13dd260c807 Mon Sep 17 00:00:00 2001 From: poli0981 Date: Fri, 27 Nov 2026 09:10:01 +0700 Subject: [PATCH] docs(migration): RepoLens's private mirror, report token and webhook RepoLens's GitLab push mirror (2026-11-27) was created public, which exposed the private source and LICENSE's internal note; it is private now. The guide says so, with the lesson for other private repos: check the mirror's visibility right after creating it. It also records the report token (Guest role drops labels, expires 2027-11-26), the live system webhook and how its first deliveries were checked (no Test Delivery for system hooks), and which maintainer steps remain. The tracker marks the mirror. Co-Authored-By: Claude Opus 5.5 --- docs/GITEA-MIGRATION.md | 2 +- docs/migration/repolens.md | 21 +++++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/docs/GITEA-MIGRATION.md b/docs/GITEA-MIGRATION.md index 8e113c1..6a5e434 100644 --- a/docs/GITEA-MIGRATION.md +++ b/docs/GITEA-MIGRATION.md @@ -487,7 +487,7 @@ None (2026-11-23). A new question goes into [`migration/README.md`](migration/RE | WardSweep | rust + dotnet | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | 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 | ☑ merged 2026-11-26 (Gitea #2) | ☑ | ☑ | ☑ | ☑ v1.6.0 deployed by the CI `deploy` job | n/a (private) | `11 13 * * *` (smoke), `33 14 * * 2` (security) | +| RepoLens | web | ☑ merged 2026-11-26 (Gitea #2) | ☑ | ☑ | ☑ | ☑ v1.6.0 deployed by the CI `deploy` job | ☑ private (2026-11-27) | `11 13 * * *` (smoke), `33 14 * * 2` (security) | | 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) | | | | | | | | | diff --git a/docs/migration/repolens.md b/docs/migration/repolens.md index d8893b7..c00249b 100644 --- a/docs/migration/repolens.md +++ b/docs/migration/repolens.md @@ -8,8 +8,10 @@ and **v1.6.0** followed with the dependency refresh (Gitea #3, #4). The site rea production smoke 7/7. Renovate's onboarding PR #1 was closed (#2 adds `renovate.json`). What the move found: - **The repository went private on Gitea** (the owner's choice: `LICENSE` carries an internal relicensing note that - must not be public). It is not mirrored to GitLab; outside contributions arrive by e-mail. Renovate and the runner - keep working (`renovate-bot` is a collaborator). + must not be public). Outside contributions arrive by e-mail. Renovate and the runner keep working (`renovate-bot` + is a collaborator). **Its GitLab push mirror** (added 2026-11-27, also where the confidential bug reports land) was + created **public**, which exposed the private source and that note; it was switched to private the same day. For a + private Gitea repo, check the mirror's visibility right after creating it. - **Anonymous reads (D13) settled the VERIFY items:** `GET /repos/{o}/{r}/licenses` answers (the list and repo objects carry `licenses` too, which can include `README`); `GET …/actions/runs` answers 401 without a token, so the build badge reads the head commit's statuses (`GET …/commits/{sha}/status`, anonymous, one per job, latest per context, @@ -25,7 +27,13 @@ production smoke 7/7. Renovate's onboarding PR #1 was closed (#2 adds `renovate. Webhooks → System Webhooks) names the events Create, Delete, Push, Repository, Release, **Statuses** and **Workflow Run**. Gitea sends no ping, rename, transfer or visibility events. - **Bug reports (RL2, D14):** `GITLAB_TOKEN_ISSUES` is optional on purpose: without it the endpoint answers 503 and the - dialog offers `code@` (no deploy waits on a GitLab token). + dialog offers `code@` (no deploy waits on a GitLab token). The token set on 2026-11-26 has the **Guest** role: GitLab + files a Guest's confidential issue but silently drops its labels, so Reporter is the role to pick. It **expires + 2027-11-26** (RepoLens docs/11 §H). +- **System webhook (live 2026-11-27, admin hook #1):** system hooks have no Test Delivery button, so the first real + events checked it (`npx wrangler tail repolens --format json --search webhook`): a push and two commit statuses of + free-games-itchio-list answered `202`, refreshed the list and the detail in ~2.5 s with 13 requests, and the burst's + later deliveries rode along. - **e2e in the job container:** binding `wrangler dev` and Playwright to `127.0.0.1` (runbook §6) was enough; chromium and webkit both ran. One PR's CI took ~10 minutes on the single runner (verify 55 s, e2e 2 min 44 s, Qodana 2 min 48 s). @@ -39,9 +47,10 @@ production smoke 7/7. Renovate's onboarding PR #1 was closed (#2 adds `renovate. Cron Trigger will meet the same wall. - **On the PC:** GPG signing failed with "sending fd … to keyboxd" until `gpgconf --kill keyboxd` of **Gpg4win** (git's `gpg.program`), not Git Bash's `gpgconf`. -- **Left to the maintainer:** the GitLab project + `GITLAB_TOKEN_ISSUES`, the system webhook + `GITEA_WEBHOOK_SECRET`, - deleting the dead `GITHUB_*` Worker secrets, disconnecting Workers Builds, Qodana Cloud's VCS URL, and every - repo's description/website/topics on Gitea (all empty after the import; RepoLens shows them once set). +- **Done by the maintainer by 2026-11-27:** the GitLab project + `GITLAB_TOKEN_ISSUES`, the system webhook + + `GITEA_WEBHOOK_SECRET`, the dead `GITHUB_*` Worker secrets deleted. **Still open:** disconnecting Workers Builds, + Qodana Cloud's VCS URL, and every repo's description/website/topics on Gitea (all empty after the import; RepoLens + shows them once set). **Before the move:** the site had no data source. Every repo it showed came from GitHub's GraphQL API with `GITHUB_TOKEN_READ`, a token of the suspended account; bug reports opened GitHub issues with `GITHUB_TOKEN_ISSUES`; the webhook was GitHub's. Restoring it is a website incident, which maintenance mode takes. -- 2.54.1