gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit85cfb4ae85cfb4ae|||PR records: AP61 day61, DP74 liveTracker85cfb4ae/missions/DP63-deploy.md

3.1 KB

  1. # DP63: deploy main (tracker#63 packed search text) to live, then measure GC
  2. Task: his rule via Apollo 2026-11-06: "smaller and utility things directly from you": gates green (reports/HM63.md, 11/11, on 8dfe42c + b7e6b48), proven live. 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. ## Deploy
  6. 1. Outside probe: curl https://tracker.worldapi.org/ once a second, 15 s timeout, detached, log /media/STORAGE/claude-scratch/tracker/deploy/probe-dp63.log (same format as probe-hm60.log).
  7. 2. Run run.sh detached (setsid nohup), log /media/STORAGE/claude-scratch/tracker/deploy/run-dp63.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.
  8. 3. Done = rc=0, 0 x 503/5xx from outside during the swap, container restarts 0.
  9. ## After the swap
  10. 4. Start-up cost: from the live log the boot time and RSS when ready (#61/#62 deploy: ready after 331 s, RSS 6.44 GB).
  11. 5. Spot checks from outside: /search?q=the, /search?q=a, /search?q=star wars, a non-Latin query, a no-hit query, /people, /100sp. Wait for ready first. Search must return results.
  12. 6. 20-min GC measure, starting 15 min after the main container start (warm-up): [hl-gc] lines + probe; save gc-dp63.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 #62 deploy (claude-scratch/tracker/DP62/REPORT.md): pause 2.482 s, mark 1.536 s, gap 40.019 s, 12.24 M objects, 1.037 GB; probe med 0.092, p90 0.615, p99 2.355, max 3.171, 1.913 % >=2 s. Also grep the log for errors and `LockTimeout`.
  13. 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='/search?q=star+wars,/100sp' OUT=/media/STORAGE/claude-scratch/tracker/DP63/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.
  14. 8. `gzip -t` plus `tar tvz | grep -c ^h` (must be 0) on the new backup, detached.
  15. 9. Stop your probe. Remove deploy/wt with `git worktree remove`, `git worktree prune`. `git push origin main` after rc=0 only.
  16. ## Limits
  17. Scratch: /media/STORAGE/claude-scratch/tracker/DP63/ 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.
  18. ## Report
  19. /media/STORAGE/claude-scratch/tracker/DP63/REPORT.md; final message <=10 lines: deploy rc, probe 503/000 counts and times, backup name and check, start-up cost, GC table against #60, spot checks, Chrome result, push.

Branches

Latest commits

  • 85cfb4ae|||PR records: AP61 day61, DP74 liveTracker
  • b1496147Merge branch 'ap61' into mainTracker
  • 2047955bMerge branch 'u12-gateports' into mainTracker
  • c8da40f3|||PR AP61: re-vendor Hybriel set day61 (source a05af47c, bin a11042e5)Tracker
  • 4e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker
  • 0b86324aMerge branch 'records-dp73' into mainTracker
  • 9ce5f59b|||PR records: DP73 live 613ae0e; deploy.sh keeps 2 backupsTracker
  • 613ae0ecMerge branch 'bs3' into mainTracker
  • 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
  • 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
  • 310613f1Merge branch 'records-dp72' into mainTracker
  • 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
  • c41587d2Merge branch 'bs2' into mainTracker
  • 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker
  • 019d5cedMerge branch 'records-1110' into mainTracker
  • 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