gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitd6b109bad6b109baMission SR1mred6b109ba/missions/DP70-deploy.md

4.0 KB

  1. # DP70: deploy main (tracker#65 episode scan fields, #66 packed catalog index, #67 packed search IDs) to live, then measure GC
  2. Task: Apollo 2026-11-07: "deploy both together with the fields change in one deploy". Gates green on identical code (HM67 11/11 on main + #65 + #66 + #67, reports/HM67.md). Do not rerun them. Copy measure: objects 8.47 M to 3.31 M, pause 1.62 s to 0.61 s.
  3. Do not touch bin/ in the checkout: git-ignored and already correct (bin 660a9524, day48). main: b41cdd6 plus record commits.
  4. Boot gate DP69: 200 after 69 s. Report boot-gate time and live ready time. RSS: on the copy RSS rose (HM66 4.1 to 4.9 GB, HM67 3.2 to 4.6 GB, likely host noise); sample live RSS at +85 s, +10 min and at the end of the GC window and compare with DP69 (5.60 GB, 5.71 GB). If live RSS exceeds 7.5 GB, say so at once in the report.
  5. ## Read first
  6. 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).
  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-dp70.log (same format as probe-hm60.log).
  9. 2. Run run.sh detached (setsid nohup), log /media/STORAGE/claude-scratch/tracker/deploy/run-dp70.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.
  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 and RSS when ready (DP69: ready after 283 s, RSS 5.60 GB at +85 s, 5.71 GB at +10 min). Sample at the same two times.
  13. 5. Spot checks from outside, status and location same as before the swap: /, /shows, /shows/page/2, /movies, /movies/The-Boys-4, /genres, a genre, /franchises, a franchise, a person, /search/star%20wars, /people, /settings, /login/failed, /100sp. Wait for ready first.
  14. 6. 20-min GC measure, starting 15 min after the main container start (warm-up): [hl-gc] lines + probe; save gc-dp70.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 DP69 (claude-scratch/tracker/DP69/REPORT.md): pause 1.565 s, mark 1.087 s, gap 25.632 s, 8.554 M objects, 0.807 GB; probe med 0.099, p90 0.684, p99 1.578, max 1.933, 0 % >=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='/,/shows,/movies/The-Boys-4,/genres,/franchises,/search/star%20wars,/settings' OUT=/media/STORAGE/claude-scratch/tracker/DP70/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, tiles, posters, season rows; this batch moved every style and class. 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: stop before typing anything. If lisbeth is unreachable, say so.
  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/DP70/ 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/DP70/REPORT.md; final message <=10 lines: deploy rc, probe 503/000 counts and times, backup name and check, start-up cost, GC table against DP69, spot checks, Chrome result, push.

Branches

Latest commits

  • d6b109baMission SR1mre
  • 608b7558Log: FF1 merged via PR #1mre
  • 2939d94cMerge branch 'ff1-gate-failfast' into mainTracker
  • c934361a|||PR tests: gates fail fast when the app exits during startmre
  • d714ae42Log/status: AP56 closed out, FF1mre
  • a429d088Mission FF1mre
  • 03bbfba3Log: AP56c causemre
  • 24845fe3Log: AP56b result, AP56cmre
  • 6a6d71eaLog: gitoria membershipmre
  • 8b842dc8Log + CONDUCTOR: gitoria PR switch-onmre
  • 6bb7c20estatus: window 2026-11-09mre
  • 5db84974Log: Apollo window GO, AP56b started, BS1 copy removedmre
  • e84586a7Mission AP56bmre
  • 15917f03Record PR workflow rule (gitoria#50)mre
  • 942ac995status: paused workers statemre
  • 44b934e5log: respawn cleanupmre
  • 03a80097Log: Anton GC A/Bmre
  • c7cdef62Log: Apollo STOP, workers pausedmre
  • d0c083fbLog: usage stopmre
  • c6d464e5Log: Apollo GO backlog, AP56 and BS1 startedmre