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
- cb78a1a0HM65 report missing heap diagnostic package with repromre
- 89606a5cHM65 briefmre
- 096ce0d4log: DP69 live on day48mre
- b3d8a80bDP69 brief, RV48 mergedmre
- ce6d7d32Merge rv48: Hybriel day48mre
- 3da2ea86RV48: report day48 cold starts, gates and cleanupmre
- 8d9ecdfeRV48: re-vendor Hybriel set day48 (source b6a8f429, bin 660a9524)mre
- 4a802ae7status: RV48 runningmre
- 0a5412b6RV48 brief, day48 outmre
- 56665efelog: CB69 mergedmre
- 05448a98Merge cb69-imports: appTitle in a dependency-free topicmre
- e55b379dKeep shared app title independent of the route import graphmre
- 9a99659blog: hybriel#334, batch waits for day48mre
- 85fa6c9blog: CB68 result, CB69 startedmre
- 2f07c1b7log: DP68 boot gate failed, CB68mre
- 9652782dlog: HM59 merged, DP68 startedmre
- 29867a75Merge hm59-logic: tracker#59 page logic moved to libmre
- f7bfe90bMove remaining page builders into their topicsmre
- 7c3991f9log: day46 from Antonmre
- ec54fc35Move show page logic into the shows topicmre