gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit0b86324a0b86324aMerge branch 'records-dp73' into mainTracker0b86324a/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

  • 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
  • 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