tracker
All repositories: gitoria
4.9 KB
# T36A: tracker#36 apply the safe TMDB fixes on liveTask: caramboleyo answered "yes" on tracker#36 (2026-10-29) to fixing the years and wrong ids as listed. Apollo's GO 2026-11-06: "fresh dry run, backup, apply, restart ... a few minutes down is fine. Report the counts."Read: tracker#36 (https://tickets.worldapi.org/tracker.worldapi.org/36, headers `Accept: text/markdown`, `user-agent: Tracker`, read only); report on branch t36: `git show t36:reports/T36-tracker-tmdb-fix.md`, above all "How the live apply must run"; CONDUCTOR.md sections 5 and 6; /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md; /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md.Tracker's reading (unconfirmed): only the automatic groups: years (with release date, 297288f) and exact unique id switches. Duplicates, multi-matches and everything on the list stay untouched. The report's paths /media/SLOW1TB2 and restart-every-7-minutes are old; backups now go to /media/STORAGE/deploy-backups/tracker.worldapi.org/.## Phase 1, app running, touches nothing live1. Branch t36a from main (current HEAD), worktree /media/STORAGE/claude-scratch/tracker/T36A/wt, main's bin/ copied in (`cp -a`). Bring over only the tool, its library and gate from t36 (tools/tmdb-fix.hl, lib/tmdbfix.hl, tests/tmdbfix.mjs and its seed/peek, the unfixable doc, the report). The t36 base is 173 commits old: the tables changed since (packed search text, catalog entries, shortids, day44). Adapt the tool to today's code. Check that a data write reaches every derived thing the running app rebuilds at boot. A real framework gap: STOP with a repro.2. Gates plus the tmdbfix gate, ONLY under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash <your gates.sh>` (copy of claude-scratch/tracker/CB/gates.sh with your paths, HL_CACHE_DIR in scratch, port 8717). All pass, 0 failed.3. Fresh copy: newest restorable backup in /media/STORAGE/deploy-backups/tracker.worldapi.org/ into T36A/copy (storage only, no posters/profiles, no sessions). Dry run with `--plan-out`: about 55 min, detached (setsid nohup), TMDB token from the live .env only in the process environment, never in a file, log or report. Apply on the copy, apply again (0 applied), dry run after: nothing planned, and the list lines unchanged. Check The Boys and two year fixes in the app on the copy.4. Count the plan and check per planned title that nobody has a watch or follow on a switched id; if someone does, keep that title in the plan only if the watch survives, and report the title. Compare with the old plan (58: 49 years, 9 ids; /media/STORAGE/claude-scratch/atlas/T36/plan.txt). If the plan is above 100 lines or has a surprise kind of change: STOP and report before anything live.## Phase 2, live: only when deploy worker DP65 is finishedCheck: /media/STORAGE/claude-scratch/tracker/DP65/REPORT.md exists, claude-scratch/tracker/deploy/run-dp65.out ends with deploy-exit=0, no deploy process runs. Poll sparsely. Tracker may also message you.5. Take the shared deploy-init lock (claude-scratch/atlas/deploy-init.lock, fd 9, as in deploy/run.sh) only around steps 6-9, release with `exec 9>&-`. Outside probe 1/s for the whole phase, detached, log in T36A.6. Copy only the tool and its library to byrodin in a separate directory outside the app's code path if the tool can run from there; otherwise into the app dir, and remove them after. `docker compose stop` for BOTH tracker.worldapi.org and tracker.worldapi.org-standby.7. Backup with both stopped: storage (without posters/profiles), .sessions and .env, into /media/STORAGE/deploy-backups/tracker.worldapi.org/tracker.worldapi.org-pre-t36-<date>.tgz on loreana; `gzip -t`, and `tar tvz | grep -c ^h` = 0. No good backup, no apply: start the app again and report.8. Apply the plan as the report describes, same image and mount, logged. Failure or anything unexpected: restore from the backup, start, report.9. Start main, then leave standby stopped as after a normal deploy. Do not change nginx unless the deploy helper's normal state needs it; read deploy.sh's helper first.10. After ready (boot scan complete): 200 on all switched pages and some year-fixed ones, /shows, /movies, /100sp; no errors or LockTimeout in the log; restarts 0. Chrome look via claude-scratch/tracker/chrome/look.mjs under `timeout 500 flock /media/STORAGE/claude-scratch/atlas/lisbeth.lock`, signed out, one switched and one year-fixed page; if lisbeth is down say so. Fresh copy from live afterwards is not needed; dry run on the copy in step 3 is the proof of idempotence.## LimitsScratch: /media/STORAGE/claude-scratch/tracker/T36A/. Commit on t36a only; no push, no tickets, no LOG/STATUS. Nothing in /tmp or /home/mre. Stop everything, delete the copy, list pids. Budget maxUsd 8.## Reportreports/T36A.md on the branch, short final message: plan counts per kind, what was applied/skipped/failed, backup name and checks, downtime start/end and 5xx/000 counts, page checks, Chrome, anything left for caramboleyo's list.
Branches
Latest commits
- a429d088Mission FF1mre
- 03bbfba3Log: AP56c causemre
- 24845fe3Log: AP56b result, AP56cmre
- 6a6d71eaLog: gitoria membershipmre
- 8b842dc8Log + CONDUCTOR: gitoria PR switch-onmre
- 6bb7c20estatus: window 2026-11-09mre
- 5db84974Log: Apollo window GO, AP56b started, BS1 copy removedmre
- e84586a7Mission AP56bmre
- 15917f03Record PR workflow rule (gitoria#50)mre
- 942ac995status: paused workers statemre
- 44b934e5log: respawn cleanupmre
- 03a80097Log: Anton GC A/Bmre
- c7cdef62Log: Apollo STOP, workers pausedmre
- d0c083fbLog: usage stopmre
- c6d464e5Log: Apollo GO backlog, AP56 and BS1 startedmre
- 1eb6f1a1Missions AP56, BS1mre
- 4871f8adLog: AP52 live on day52, browser gate greenmre
- d9bf2988Merge ap52: day52, tracker#58 server argument, #51 modal close rule, #56 keyed season rowsmre
- c4a60ef2Log: RT52 retest passed, AP52 startedmre
- 83760a55Browser gate: search results belong to the address form of the typed text (tracker#52 navigate replace)mre