gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commite5c9b659e5c9b659Pack retained search IDs into UTF-8 bytesmree5c9b659/missions/DP62-deploy.md

4.1 KB

  1. # DP62: deploy main (tracker#61 + #62 on Hybriel day44) to live, then measure GC
  2. Task (Apollo 2026-11-05): "#61+#62 may go: re-vendor day44, gates, deploy (Sol), live GC measure after." Gates are done (reports/RV44-tracker.md, all 0 failed): do not rerun them.
  3. ## Read first
  4. CONDUCTOR.md sections 5 and 6; /media/STORAGE/claude-scratch/tracker/deploy/run.sh; deploy.sh; reports/HM62b.md section on open/rebuild cost. LOG.md: grep "#60 LIVE" (the model for this run and its measure).
  5. ## Before starting: stale runtime check
  6. main bin/ is now the gated day44 (bin/hybriel 4f0f263e, runtime in bin/lib/). Earlier bin/ had hlc.o, libhlrt.a, hlrt/ directly in bin/. deploy.sh's rsync has no --delete, so byrodin /CONTAINERS/projects/tracker.worldapi.org/bin/ may keep those old files. Read byrodin's bin/ (SSH: /media/STORAGE/projects/WorldAPI/worldapi-conductor/byrodin-ssh.sh). Find in /media/STORAGE/projects/hybriel source, at SOURCE 222edef7, whether a sibling runtime file in bin/ takes precedence over ../lib/ (strings show "siblingOf"). If they can win over bin/lib: the deploy would run other code than the gated bin. Then remove exactly those old files from byrodin's bin/ right after the rsync and before the handover if deploy.sh allows it; if it does not fit the run, STOP and report instead of editing deploy.sh's flow. Remove nothing else. Same care for any plugin file not in git.
  7. ## Deploy
  8. 1. Outside probe: curl https://tracker.worldapi.org/ once a second, 15 s timeout, detached, log /media/STORAGE/claude-scratch/tracker/deploy/probe-dp62.log (same format as probe-hm60.log).
  9. 2. Run run.sh detached (setsid nohup), log /media/STORAGE/claude-scratch/tracker/deploy/run-dp62.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. A rollback is only yours to do if the live site is down: run.sh recipe with main's previous commit needs the Hybriel day39 bin in /media/STORAGE/claude-scratch/tracker/RV44/bin-before-day39; otherwise report.
  10. 3. Done = rc=0, 0 x 503/5xx from outside during the swap, container restarts 0.
  11. ## After the swap
  12. 4. Start-up cost: from the live log the boot time, person index build time and RSS when ready, plus whether the first open rebuilt person indexes (expected build ~3 s).
  13. 5. Spot checks from outside: /people, /people/page/2, /person/tmdb/1 (302 to /person/George-Lucas), /person/George-Lucas, /search?q=the, /100sp. Check that slug and TMDB lookups work on the live data.
  14. 6. 20-min GC measure, starting 15 min after the main container start (warm-up): [hl-gc] lines + probe; save gc-dp62.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 #60's steady values: pause 2.53 s, mark 1.77 s, gap 36 s, 14.3 M objects, 1.24 GB; probe med 0.096, p90 0.35, p99 2.36, max 2.8, 2.3 % >=2 s. Also grep the log for errors and `LockTimeout`.
  15. 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='/people,/person/George-Lucas,/100sp' OUT=/media/STORAGE/claude-scratch/tracker/DP62/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.
  16. 8. `gzip -t` plus `tar tvz | grep -c ^h` (must be 0) on the new backup, detached.
  17. 9. Stop your probe. Remove deploy/wt with `git worktree remove`, `git worktree prune`. `git push origin main` after rc=0 only.
  18. ## Limits
  19. Scratch: /media/STORAGE/claude-scratch/tracker/DP62/ 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.
  20. ## Report
  21. /media/STORAGE/claude-scratch/tracker/DP62/REPORT.md; final message <=10 lines: deploy rc, probe 503/000 counts and times, backup name and check, stale file result, start-up cost, GC table against #60, spot checks, Chrome result, push.

Branches

Latest commits

  • e5c9b659Pack retained search IDs into UTF-8 bytesmre
  • 62a5f6c7HM67 brief, HM66 mergedmre
  • b32b8440Merge hm66-catalogindex: packed catalog indexmre
  • 2db0f7adReport HM66 heap measurements and validationmre
  • 6ce15623Pack catalog lists and membership maps in UTF-8 bytesmre
  • 71134e21HM66 briefmre
  • ed4cbab2status timemre
  • e982c26dlog: HM65 mergedmre
  • 6e72f9d1Merge hm65-fields: episode boot scan reads three fieldsmre
  • 07a5c883HM65 report measured field projection and complete validationmre
  • 0eab858fRead only catalog date fields during the episode boot scanmre
  • d3179273log: HM65 hl:heap vendoringmre
  • 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