gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita85f7900a85f7900Move route logic out of the project mapmrea85f7900/missions/DP65-deploy.md

3.6 KB

  1. # DP65: deploy main (tracker#53 inputs bound to members) to live, then measure GC
  2. Task: his rule via Apollo 2026-11-06: "smaller and utility things directly from you": gates green (reports/HM53.md on branch history in main, 11/11, hm53-dom ccb1a26, 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/).
  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-dp65.log (same format as probe-hm60.log).
  8. 2. Run run.sh detached (setsid nohup), log /media/STORAGE/claude-scratch/tracker/deploy/run-dp65.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 (#64 deploy: ready after 294 s, RSS 5.47 GB at ~85 s, 5.58 GB at 10 min). Sample at the same two times.
  12. 5. Spot checks from outside: /shows, /movies, /franchises, a show page, a person page, /search/star%20wars, /100sp. Wait for ready first.
  13. 6. 20-min GC measure, starting 15 min after the main container start (warm-up): [hl-gc] lines + probe; save gc-dp65.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 #64 deploy (claude-scratch/tracker/DP64/REPORT.md): pause 1.461 s, mark 1.010 s, gap 25.303 s, 8.28 M objects, 0.787 GB; probe med 0.096, p90 0.569, p99 1.521, max 4.062, 0.204 % >=2 s. No gain is expected from #53; the point is to see whether the #64 tail repeats. 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,/shows/page/2,/100sp' OUT=/media/STORAGE/claude-scratch/tracker/DP65/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. Also, in the same signed-out tab routine with your own script copy: on a show page click Follow and confirm a real `:modal` dialog opens and Escape closes it (tracker#53). Lisbeth answered ping at 11:0x; if it is unreachable, say so.
  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/DP65/ 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/DP65/REPORT.md; final message <=10 lines: deploy rc, probe 503/000 counts and times, backup name and check, start-up cost, GC table against #64, spot checks, Chrome result, push.

Branches

Latest commits

  • a85f7900Move route logic out of the project mapmre
  • 13dea5belog: #56 live, HM49 and HM58 startedmre
  • a31c8f2fdocs: tracker#36 remaining listmre
  • 975d06d1log: #36 live, DP66 startedmre
  • d6d03fa3mission: T36Bmre
  • e7512d00status: #36 rolled back, retry askedmre
  • c98e2043log: T36A rollbackmre
  • ae905f15Merge t36a: tracker#36 apply rechecks, reportmre
  • 796bfaceT36A: report validated fixes, failed live SSH check and verified rollbackmre
  • 55257852log: #53 live, #56 mergedmre
  • 78b39f1bMerge hm56-rows: tracker#56 list builders insert oncemre
  • 7aea52batmdb fix: protect owners without slugs and record passing gatesmre
  • 9b3c2559tmdb fix: revalidate planned identities and reserve target idsmre
  • 6da612fclog: T36A tool defectmre
  • d56ee0daT36A: report unsafe TMDB apply revalidation and stop before livemre
  • 08e55255log: HM56 done, T36A startedmre
  • 91bcdf0eAvoid per-row list copies and reproduce keyed-row blockersmre
  • 5fd2ac75status: #36 GOmre
  • 0d253b45mission: T36Amre
  • 2aa22d23log: #36 GOmre