gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit03a8009703a80097Log: Anton GC A/Bmre03a80097/missions/DP69-deploy.md

4.0 KB

  1. # DP69: deploy main (batch: tracker#49 rest, #51, #57, #59, appTitle clean-up, Hybriel day48) to live, then measure GC
  2. Task: his rule via Apollo 2026-11-06: "smaller and utility things directly from you"; Apollo 2026-11-07: the batch deploys once on day48. Gates green on identical code (RV48 11/11, reports/RV48-tracker.md). Do not rerun them. Tracker's reading: a utility change, behaviour identical.
  3. Do not touch bin/ in the checkout: it is git-ignored and already correct (bin 660a9524, day48 in bin/ and bin/lib/). main: ce6d7d3 plus record commits.
  4. Boot gate on byrodin compiles cold on real data: DP68 failed there at 900 s before CB69 and day48; loreana cold start is now 105-120 s. Report the boot-gate time and the live ready time: Anton and Apollo want that number.
  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-dp69.log (same format as probe-hm60.log).
  9. 2. Run run.sh detached (setsid nohup), log /media/STORAGE/claude-scratch/tracker/deploy/run-dp69.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 (DP67: ready after 313 s, RSS 5.48 GB at +85 s, 5.60 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-dp69.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 DP67 deploy (claude-scratch/tracker/DP67/REPORT.md): pause 1.443 s, mark 0.967 s, gap 24.299 s, 8.415 M objects, 0.794 GB; probe med 0.105, p90 0.455, p99 1.419, max 1.945, 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/DP69/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/DP69/ 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/DP69/REPORT.md; final message <=10 lines: deploy rc, probe 503/000 counts and times, backup name and check, start-up cost, GC table against DP67, spot checks, Chrome result, push.

Branches

Latest commits

  • 03a80097Log: Anton GC A/Bmre
  • c7cdef62Log: Apollo STOP, workers pausedmre
  • d0c083fbLog: usage stopmre
  • c6d464e5Log: Apollo GO backlog, AP56 and BS1 startedmre
  • 1eb6f1a1Missions AP56, BS1mre
  • 4871f8adLog: AP52 live on day52, browser gate greenmre
  • d9bf2988Merge ap52: day52, tracker#58 server argument, #51 modal close rule, #56 keyed season rowsmre
  • c4a60ef2Log: RT52 retest passed, AP52 startedmre
  • 83760a55Browser gate: search results belong to the address form of the typed text (tracker#52 navigate replace)mre
  • 6e951d91AP52: show-page rows are keyed records; closing a season is one upsert and removes (tracker#56, hybriel#331)mre
  • 3bb4ccddAP52: modal close button refers to its nested rule with Style.buttonModalX (tracker#51, hybriel#333)mre
  • ba16933fAP52: login callback and title route are static handlers taking the server as third argument (tracker#58, hybriel#332)mre
  • 85153900AP52: re-vendor Hybriel set day52 (source 77cfca31, bin 0a8ed496)mre
  • 7c051eddLog: hybriel#338 answermre
  • d049b8b8Log: HM50 live, #52 donemre
  • 6d05fa37Log: HM50 Part A mergedmre
  • 1c7dab74HM50: the shell reads the framework's online state, netProbe removed (tracker#55)mre
  • e8b91697HM50: search address follows the text via navigate(path, replace = true) (tracker#52)mre
  • 6fe1896cHM50: re-vendor Hybriel set day50 (source 0ae38232, bin d3ef9d16)mre
  • 2f391aa9Log: HM50 startedmre