gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmaind2e6d26bMerge branch 'records-park55' into mainTrackermain/reports/042-revendor-ce6f2e0a.md

6.0 KB

  1. # tracker mission 042 — re-vendor ce6f2e0a: step 1+2 done, STOPPED at step 2 (warm VmHWM higher on new) — not deploy-ready
  2. Branch `w42-revendor-ce6f2e0a` (from main 5bd14e1). Commit d0f620d (plugins + README; bin/ is git-ignored). Gates, TTFB, E2E NOT run (stop rule).
  3. ## 1. Vendor
  4. Built from `git archive ce6f2e0a` in /media/STORAGE/claude-scratch/vendor-ce6f2e0a-src (`HL_NO_PLUGINS=1 bash native/build.sh`, 51 s; log ../vendor-ce6f2e0a-build.log; no zig here, the plugin .so are the committed ones of the archive). bin/ = zig-out/bin/hybriel + zig-out/lib/{libhlrt.a,hlc.o,hlrt/}; plugins = the 11 vendor plugins (smtp untouched). Same bin set the w41 branch replaced.
  5. sha256 new: hybriel `e8bd8d9600dd590d395990666bf1803c6b61e13f534beda166e63225864ce3b4`, libhlrt.a `490378b070cf27c43113dcc1dd5de1c5dbd37773d5a9ea29458f1504b61f4ad1`, hlc.o `0aab0e40ae6effb507b569a58d1c98c04f85c315cb069c48eb5ad89d7f7bc0d9` (unchanged vs old), hlrt/ gains nummethods.hl.
  6. Plugins .so: crypto 4796ca70…, fetch 15f251c9…, fs bf0e16f2…, http1 171bdcf3…, **mpackdb `4b243e7cbe48ab9d54c9ae36e14fc4b923b4aa3ddccd57b4951febcb71c5785d`** (= hybriel tree's .so; engine/mpackdb/msgpack/plugin_api hashes re-hashed = inputs.json), proc a74ce6db…, time 3c43f30b…, smtp 00c14a0b… (unchanged). Full list: atlas-evidence/T6/sha256-new.txt (old: sha256-old.txt: hybriel af6dfcea…, libhlrt.a 2ec0ac28…, mpackdb 277f5f69…).
  7. compact=false still on the 5 show stores (lib/shows.hl).
  8. ## 2. Memory (hot-tar copy each, jobs off, no .env, HL_CACHE_DIR fresh per copy; cold = 1st boot, warm = 2nd boot after clean stop; load 6–12 during runs; RSS/HWM read 60 s after the first 200)
  9. | boot | first 200 | VmRSS +60 s | VmHWM |
  10. | old cold | 305 s | 12.18 GB | 15.76 GB |
  11. | old warm | 335 s | 12.03 GB | 15.56 GB |
  12. | new cold | 302 s | 9.12 GB | 15.39 GB |
  13. | new warm | 221 s | 9.51 GB | **17.09 GB** |
  14. (GB = kB/1048576 of /proc status; raw in atlas-evidence/T6/mem-*.txt.)
  15. Store sizes after each stop: **no shrink on old or new** (shows.mpack 1281317694, episodes.mpack 416403377, persons.mpack 206752305, seasons.mpack 34717962 unchanged; new only grows episodes.id.txt/oldId.txt by ~800 B = index files re-persisted). #192 holds with compact=false.
  16. Reading: RSS and boot time are better on new (−2.6 GB cold, −2.5 GB warm; warm boot 221 vs 335 s), but the new WARM peak VmHWM is 1.5 GB above old warm (and 1.7 GB above new cold) → per the brief I stopped here. One sample each, noisy machine; the warm peak above cold is odd (→ Anton #175 follow-up: warm boot on already persisted indexes peaks higher than cold). Memory at 60 s is still ~9 GB in both; Anton's 8.48 GB at 35 s is in line.
  17. ## Not done
  18. Gates old/new, TTFB, real E2E (stop rule). Copies deleted, nothing running, ports 8700–8729 empty. Deploy-ready: NO (decision on the HWM needed; if Anton accepts, steps 3–5 can run on this branch).
  19. # Continuation (worker T7) — Anton accepted the warm VmHWM (#175 follow-up); steps 3–4 done, step 5 BLOCKED (lisbeth lock)
  20. ## 3. Gates old (5bd14e1 = T6/old) vs new (this branch), ports 8701–8707, one server at a time
  21. | gate | old | new |
  22. | browser | 382/0 | 381/1 first, rerun 381/1 (same), **382/0 after a gate fix (below)** |
  23. | kinds | 32/0 | 32/0 |
  24. | franchises | 53/0 | 53/0 |
  25. | pager | 229/0 | 229/0 |
  26. | franchiseseed | 26/0 | 26/0 |
  27. | theme/check-theme.mjs | 91 files, 0 | 91 files, 0 |
  28. No UTC-hour flake seen. The browser #41 failure was real in the gate, not in the app: the check counts the client route table by `\"pattern\":` (escaped JSON, as old hl:web wrote it). Hybriel ce6f2e0a writes the table unescaped (`"pattern":`), so routes counted 0 (old 81 per page; new 82 per page on real data, all leaks[] empty, all 38 pages 200). Fix in tests/browser.mjs: regex `/\\?"pattern\\?":/g` (matches both; test code, no app code). Logs: atlas-evidence/T7/gate-*-browser*.log.
  29. ## 4. Real-data TTFB (copy of tracker-live-storage-20261021-1452.tgz, jobs off, 2nd boot = warm, signed out, load 6–9, 3 requests each; seconds, median [min–max])
  30. | page | old | new |
  31. | / | 0.018 | 0.011 |
  32. | /movies | 0.018 (first 0.72) | 0.008 (first 0.22) |
  33. | /series/The-Simpsons (258 KB old / 237 KB new) | 0.299 | 0.131 |
  34. | /person/Tom-Hanks (367 KB old / 261 KB new) | 9.08 [8.98–9.14] | 9.06 [2.9–13.6] |
  35. | /search?q=love | 0.013 | 0.010 |
  36. Person page is slow on both (~9 s, uncached; very noisy on new: 13.6/2.9/9.1) = existing issue, not a regression. First 200: old cold 239 s / warm 238 s, new cold 245 s / warm 206 s. VmHWM after the requests: old 16.57 GB, new 17.92 GB. Raw: ttfb-old.txt, ttfb-new.txt, boot-*.log in atlas-evidence/T7.
  37. ## 5. Real E2E (tests/e2e-theme.mjs, 390 + 1280): NOT RUN
  38. Twice `timeout 600 flock …/lisbeth.lock` timed out: the lock is held by PID 3246900 (bash …/B6/tools/srv.sh … 8732 new) and its child 8c0140a6… app server — a leaked server holding the lock fd for 50+ min — plus another waiter (flock -w 2900 … e2e.sh new 8732). Not mine, not killed. Script ready: atlas/T7/e2e.sh (tunnel -L 9223 -R 8712 under the lock, label new, shots → atlas-evidence/T7/e2e-new). Run it when the lock is free; 69/0 expected.
  39. Deploy-ready: yes on gates + TTFB + memory (accepted); the real-browser E2E is still outstanding.
  40. ## 5b. Real E2E done (T8, 2026-10-21) — supersedes §5
  41. `tests/e2e-theme.mjs new 8712 9223 …/atlas-evidence/T8/e2e-new` under `timeout 600 flock …/lisbeth.lock`, tunnel (-L 9223 -R 8712) outside the lock, lisbeth's Chrome, one tab, 390 + 1280: **69 passed / 0 failed** (same as 5bd14e1). Note: the script seeds (seed-pager) and starts its own server on the app port, so no pre-started server may hold it; a first try against a live-data copy on 8712 gave 31/4 (real data has small links, 250-title pager absent) — wrong fixture, not a code result.
  42. Shots (looked at): 390 movies = header with menu/search/ident, "Movies" heading, 250 movies · page 1 of 11, 3-col tile grid; 1280 home = nav bar with search + Series/Shows/Movies/Genres/People/Franchises + ident, intro text, Movies tile row, no overflow. Evidence: atlas-evidence/T8/e2e-new/, log atlas/T8/e2e.log.
  43. Deploy-ready: yes.

Branches

Latest commits

  • d2e6d26bMerge branch 'records-park55' into mainTracker
  • f567f025|||PR records: park #55, no Claude workers ruleTracker
  • c21aff6bMerge branch 'records-hm55c' into mainTracker
  • 9ba258d3|||PR records: HM55b resultTracker
  • 64f2d300Merge branch 'records-hm55b2' into mainTracker
  • ae3b80dc|||PR records: HM55b briefTracker
  • 7ef3cb3bMerge branch 'records-st55' into mainTracker
  • fec2e080|||PR records: STATUS HM55Tracker
  • 8e174918Merge branch 'records-hm55b' into mainTracker
  • b1ecee57|||PR records: HM55 stateTracker
  • 28eab08cMerge branch 'records-hm55' into mainTracker
  • d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
  • 3059f86cMerge branch 'records-design-rule' into mainTracker
  • 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
  • d1390692Merge branch 'records-dp75b' into mainTracker
  • a4d1a7d2|||PR records: later steps checked, branch auditTracker
  • e070e16fMerge branch 'records-dp75' into mainTracker
  • 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
  • bfc4ea4dMerge branch 'ap62' into mainTracker
  • 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker