gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmaind2e6d26bMerge branch 'records-park55' into mainTrackermain/missions/DP67-deploy.md

3.8 KB

  1. # DP67: deploy main (tracker#58 project.hl map, tracker#49 first style batch) to live, then measure GC
  2. Task: his rule via Apollo 2026-11-06: "smaller and utility things directly from you": gates green (reports/HM58.md and reports/HM49.md, each 11/11, merged unchanged; no code overlap), 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-dp67.log (same format as probe-hm60.log).
  8. 2. Run run.sh detached (setsid nohup), log /media/STORAGE/claude-scratch/tracker/deploy/run-dp67.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 (#56 deploy: ready after 262 s, RSS 5.51 GB at +85 s, 5.43 GB at +10 min). Sample at the same two times.
  12. 5. Spot checks from outside, status and location against what main answered before the swap (take the list and method from reports/HM58.md: short links, moved paths, /poster and /profile routes, not-found): /, /shows, /movies, /movies/The-Boys-4, /genres, /franchises, /settings, /login/failed, /100sp, /find route, /person/tmdb/1. 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-dp67.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 #56 deploy (claude-scratch/tracker/DP66/REPORT.md): pause 1.460 s, mark 1.003 s, gap 24.848 s, 8.37 M objects, 0.792 GB; probe med 0.097, p90 0.582, p99 1.504, max 3.424, 0.204 % >=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='/,/genres,/my/schedule,/settings,/login/failed' OUT=/media/STORAGE/claude-scratch/tracker/DP67/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: header, menu, type colours. Also open the ident selector popup top right on the live site with a real click at 390 and 1280 and look at the sign-in form: HM49 could not see it on a copy, since ident rejects that origin (reports/HM49.md); stop before typing anything. 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/DP67/ 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/DP67/REPORT.md; final message <=10 lines: deploy rc, probe 503/000 counts and times, backup name and check, start-up cost, GC table against #56, spot checks, Chrome result, push.

Branches

Latest commits

  • d2e6d26bMerge branch 'records-park55' into mainTracker
  • f567f025|||PR records: park #55, no Claude workers ruleTracker
  • c21aff6bMerge branch 'records-hm55c' into mainTracker
  • 9ba258d3|||PR records: HM55b resultTracker
  • 64f2d300Merge branch 'records-hm55b2' into mainTracker
  • ae3b80dc|||PR records: HM55b briefTracker
  • 7ef3cb3bMerge branch 'records-st55' into mainTracker
  • fec2e080|||PR records: STATUS HM55Tracker
  • 8e174918Merge branch 'records-hm55b' into mainTracker
  • b1ecee57|||PR records: HM55 stateTracker
  • 28eab08cMerge branch 'records-hm55' into mainTracker
  • d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
  • 3059f86cMerge branch 'records-design-rule' into mainTracker
  • 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
  • d1390692Merge branch 'records-dp75b' into mainTracker
  • a4d1a7d2|||PR records: later steps checked, branch auditTracker
  • e070e16fMerge branch 'records-dp75' into mainTracker
  • 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
  • bfc4ea4dMerge branch 'ap62' into mainTracker
  • 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker