gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitd56ee0dad56ee0daT36A: report unsafe TMDB apply revalidation and stop before livemred56ee0da/missions/DP64-deploy.md

3.7 KB

  1. # DP64: deploy main (tracker#64 catalog from packed entries) to live, then measure GC
  2. Task: his rule via Apollo 2026-11-06: "smaller and utility things directly from you": gates green (reports/HM64.md, 11/11, on hm64-catalog 4042b92, merged unchanged), proven live. Do not rerun them. Tracker's reading: this is a utility change, behaviour identical.
  3. Do not touch bin/ in the checkout: it is git-ignored and already correct (hybriel 4f0f263e, day44 runtime in bin/ and bin/lib/). Another worker runs on a separate branch in parallel; it does not touch main or the deploy dir.
  4. ## Read first
  5. CONDUCTOR.md sections 5 and 6; /media/STORAGE/claude-scratch/tracker/deploy/run.sh; deploy.sh; LOG.md: grep "#60 LIVE" (the model for this run and its measure).
  6. ## Deploy
  7. 1. Outside probe: curl https://tracker.worldapi.org/ once a second, 15 s timeout, detached, log /media/STORAGE/claude-scratch/tracker/deploy/probe-dp64.log (same format as probe-hm60.log).
  8. 2. Run run.sh detached (setsid nohup), log /media/STORAGE/claude-scratch/tracker/deploy/run-dp64.out, ends with 'deploy-exit=N'; backup goes to /media/STORAGE/deploy-backups (run.sh sets it). Poll sparsely: boot gate ~25 min, backup ~40 min. Never as a harness background task (killed at 1 h). If the boot gate or anything fails: nothing further, report. Report; a rollback only if the live site is down: previous commit with the same bin.
  9. 3. Done = rc=0, 0 x 503/5xx from outside during the swap, container restarts 0.
  10. ## After the swap
  11. 4. Start-up cost: from the live log the boot time and RSS when ready (#63 deploy: ready after 256 s, RSS 9.1 GB 5 s after ready, 6.36 GB ten minutes later). Sample RSS about 85 s after ready and again at 10 min, so the numbers compare with DP62 (6.44 GB) and DP63.
  12. 5. Spot checks from outside: /shows, /movies, their next pages and a sorted and a filtered view as the app has them (see reports/HM64.md for the exact paths), /search/star%20wars, /100sp. Wait for ready first. Catalog pages must list titles in order, paging must advance.
  13. 6. 20-min GC measure, starting 15 min after the main container start (warm-up): [hl-gc] lines + probe; save gc-dp64.txt/.tsv next to the probe. Report: count, pause med, mark med, gap med, marked objects, live GB, reasons; probe med/p90/p99/max, % >=2 s. Compare with the #63 deploy (claude-scratch/tracker/DP63/REPORT.md): pause 1.601 s, mark 1.102 s, gap 33.205 s, 8.99 M objects, 1.005 GB; probe med 0.091, p90 0.531, p99 1.390, max 1.974, 0 % >=2 s. Say plainly if the live gain is small: the copy showed 2.57 to 1.82 s, but from a different baseline. Also grep the log for errors and `LockTimeout`.
  14. 7. Chrome look (his Chrome, signed out, read only; never touch cookies or other tabs): /media/STORAGE/claude-scratch/tracker/chrome/look.mjs with BASE=https://tracker.worldapi.org PATHS='/shows,/movies,/100sp' OUT=/media/STORAGE/claude-scratch/tracker/DP64/chrome, run as `timeout 500 flock /media/STORAGE/claude-scratch/atlas/lisbeth.lock node look.mjs`, detached. If lisbeth is unreachable, say so; that does not fail the deploy. Look at the screenshots.
  15. 8. `gzip -t` plus `tar tvz | grep -c ^h` (must be 0) on the new backup, detached.
  16. 9. Stop your probe. Remove deploy/wt with `git worktree remove`, `git worktree prune`. `git push origin main` after rc=0 only.
  17. ## Limits
  18. Scratch: /media/STORAGE/claude-scratch/tracker/DP64/ and .../deploy/. Touch no app code, no tickets, no LOG/STATUS (Tracker does those). Nothing in /tmp or /home/mre. Do not touch the deploy-init lock beyond run.sh. List every process you started and stopped.
  19. ## Report
  20. /media/STORAGE/claude-scratch/tracker/DP64/REPORT.md; final message <=10 lines: deploy rc, probe 503/000 counts and times, backup name and check, start-up cost, GC table against #63, spot checks, Chrome result, push.

Branches

Latest commits

  • d56ee0daT36A: report unsafe TMDB apply revalidation and stop before livemre
  • 08e55255log: HM56 done, T36A startedmre
  • 5fd2ac75status: #36 GOmre
  • 0d253b45mission: T36Amre
  • 2aa22d23log: #36 GOmre
  • 833aee2flog: #50 closed, HM56 startedmre
  • ac58c1e5mission: HM56mre
  • 58979c0clog: HM54 held for decision, DP65 startedmre
  • bb2ebc67log: #64 live, #53 mergedmre
  • 27cde42fMerge hm53-dom: tracker#53 inputs bound to membersmre
  • 2156cc7flog: HM54 reviewmre
  • 9fb82efclog: HM54 gap, fill continuesmre
  • b632eb8dlog: HM53 done, HM54 startedmre
  • ccb1a263tracker#53: bind editor drafts and use key event focus targetmre
  • 3356fcfclog: #52 blocked, HM53 startedmre
  • 833dcfc9Merge hm52-search: report only, tracker#52 blocked by framework gapmre
  • 73010cc0HM52: report replace-navigation search draft regressionmre
  • 1742e92bstatus: DP64 and HM52 runningmre
  • 29ad5b58log: #64 merged, DP64 and HM52 startedmre
  • fafddbf9Merge hm64-catalog: tracker#64 catalog from packed entriesmre