gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitf88ae8b9f88ae8b9|||PR records: day56 toggle live, reviewTrackerf88ae8b9/missions/DP66-deploy.md

3.4 KB

  1. # DP66: deploy main (tracker#56 list builders insert once) to live, then measure GC
  2. Task: his rule via Apollo 2026-11-06: "smaller and utility things directly from you": gates green (reports/HM56.md, 11/11, hm56-rows 91bcdf0, merged unchanged; main also has the tracker#36 tool, tested 39/0, 11 gates), 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-dp66.log (same format as probe-hm60.log).
  8. 2. Run run.sh detached (setsid nohup), log /media/STORAGE/claude-scratch/tracker/deploy/run-dp66.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 (#53 deploy: ready after 256 s, RSS 5.61 GB at +85 s, 5.72 GB at +10 min). Sample at the same two times.
  12. 5. Spot checks from outside: /shows, /movies, /movies/The-Boys-4, a show page, /100sp. Wait for ready first. Signed-in lists /my/shows, /my/movies, /my/schedule redirect or show the sign-in state; proof of them signed in was on the copy.
  13. 6. 20-min GC measure, starting 15 min after the main container start (warm-up): [hl-gc] lines + probe; save gc-dp66.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 #53 deploy (claude-scratch/tracker/DP65/REPORT.md): pause 1.498 s, mark 1.029 s, gap 25.606 s, 8.31 M objects, 0.789 GB; probe med 0.101, p90 0.594, p99 1.571, max 2.694, 0.31 % >=2 s. 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/The-Boys-4,/100sp' OUT=/media/STORAGE/claude-scratch/tracker/DP66/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. If lisbeth 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/DP66/ 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/DP66/REPORT.md; final message <=10 lines: deploy rc, probe 503/000 counts and times, backup name and check, start-up cost, GC table against #53, spot checks, Chrome result, push.

Branches

Latest commits

  • f88ae8b9|||PR records: day56 toggle live, reviewTracker
  • b6b3bb4dMerge branch 'ap56e' into mainTracker
  • 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker
  • 7c9ec236|||PR AP56e: re-vendor Hybriel set day56 (source 36ae83a8, bin c1f595a2)Tracker
  • 4b54f6f9Merge branch 'records-audit' into mainTracker
  • cab4a3bc|||PR records: branch audit, PR-onlyTracker
  • 641e1c4cMerge branch 'records-dp71' into mainTracker
  • 85a6e9f5|||PR records: DP71 checked in ChromeTracker
  • f5be5f18records: gitoria PR-only planTracker
  • 46a37036records: DP71 liveTracker
  • 3bcb7039Status/log: DP71 in progressTracker
  • 5b3a5693Log: SR1b merged via PR 2, DP71 startedTracker
  • 783957c2Merge branch 'sr1-search' into mainTracker
  • 792b9652README: search results come from the routeTracker
  • fd8570b1|||PR search: one server exchange per keystrokeTracker
  • e8f5cbcaLog: SR1 result, SR1bTracker
  • 8ad275a4Log/status: tracker 68, SR1Tracker
  • f5a06a0fLog: gitoria push setup, SR1Tracker
  • d6b109baMission SR1mre
  • 608b7558Log: FF1 merged via PR #1mre