gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit3e3d5a553e3d5a55mission ST1: stall diagnosismre3e3d5a55/reports/027-revendor-plugins.md

3.2 KB

  1. # Report 027 (w077) — tracker: Hybriel master 06617221 re-vendored (plugin allocator fixes 3a781359 + 413f60e4) — ADOPTED on main
  2. **Commit**: `dc1d4be` on main in loreana:/media/STORAGE/projects/tracker.worldapi.org (parent 84e1b3e). Not pushed, not deployed. No `.env` read. Every process killed by PID; 8720–8731 free.
  3. ## Hybriel
  4. - master **06617221** (contains 3a781359, 413f60e4, c44c2f6c, 2cb7ae5e mpackdb frees per op, f0ac2d2d event order with a new plugin ABI field). Built once ReleaseFast from a read-only `git archive master` in `~/scratch-077` (removed). `bin/hybriel` sha256 `af6dfcea08a3ae13e6ab4d6eeaada3609630fa739d92fab49c0095f05c733400` (was 190aa11d `feb597c4…`).
  5. - Copied over the app's plugin dirs: crypto fetch fs http http1 mpackdb proc smtp time web changed (web: dev-watch build check only); 3 http1 test files added. Old bin+plugins in `.scratch/pre-027/`.
  6. - Lambda audit: no commit in 190aa11d..06617221 touches lambda/parameter semantics (plugins, native loop/ABI, LOGs); `tools/lambda-audit.py .` same list as before.
  7. ## Gates (ports 8720–8727, outputs `.scratch/w077/gate-*.txt`)
  8. - `TRACKER_GATE_SHOTS=/tmp/m027/shots TRACKER_GATE_PORT=8720 TRACKER_GATE_IDENT_PORT=8721 TRACKER_GATE_CHROME=8722-8726 TRACKER_GATE_TMDB_PORT=8727 node tests/browser.mjs` → **342 passed, 0 failed** (first try 7/1 only because /tmp/m027/shots didn't exist)
  9. - same env `tests/kinds.mjs` → **32 passed, 0 failed**; `tests/franchises.mjs` → **52 passed, 0 failed**. Shots looked at (/tmp/m027/shots).
  10. ## Real copy (one tar of live storage 01:33; signed in as az5b2; old = 190aa11d tree, new = this)
  11. Browser full-load ms, mean of 3 runs per cell (1×40 + 2×20 loads per page; `tests/realdata-027-bench.mjs`):
  12. | page | old fresh | new fresh | old after jobs | new after jobs |
  13. |---|---|---|---|---|
  14. | /my/series | 228 | 190 | 200 | 217 (1.08×) |
  15. | /my/unwatched (1,266 rows) | 549 | 441 | 426 | 465 (1.09×) |
  16. | Picard + Show all | 397 | 319 | 321 | 267 |
  17. | /series | 99 | 90 | 108 | 82 |
  18. | /franchises | 118 | 101 | 118 | 98 |
  19. - All ≤ 1.2×. Loreana load 8–11 from other workers; single runs vary ±30 % (the first new after-jobs run alone was 1.3× on the /my/ pages; both repeats ≤ old). Fresh /series SERVER time 25 vs 18 ms mean (outliers), browser 0.90×.
  20. - Jobs = forced delta sync (423 titles, 727 requests, identical `tmdb sync done` line on both; 696 s new / 672 s old); the other first-start jobs had nothing to do (live already finished them).
  21. ## RSS
  22. | | boot | through jobs | after jobs + 400 loads | fresh 200 loads |
  23. |---|---|---|---|---|
  24. | new 06617221 | 2.24–2.27 GB | 2.27 → 2.54 GB at 200 s, then flat 2.54–2.59 | 2.54 GB | 2241 → 2189 MB |
  25. | old 190aa11d | 2.26–2.34 GB | 2.26 → 5.58 GB, climbing ~6 MB/s the whole sync | 5.5–5.6 GB | 2262 → 2256 MB |
  26. New is flatter: no growth during the sync, and after the jobs ~3 GB less than old.
  27. ## Verdict
  28. **ADOPT.** Gates green, times ≤ 1.2× (mostly faster), RSS flat through jobs + loads where 190aa11d more than doubled. Deploy note: same boot as before (~25–50 s to listening on the copy).
  29. ## Docs
  30. README "Vendored Hybriel" (new vendor, sha, pre-027), STATUS top entry with the table and "How to repeat", LOG.md line. Logs: `.scratch/w077/logs/{new,old}/`. Copies, old tree, build dir deleted.

Branches

Latest commits

  • 3e3d5a55mission ST1: stall diagnosismre
  • 9c3180eblog+status: RV28d measured after deploymre
  • fdf10b1alog: RV28d deployed on day38bmre
  • 320005e9log: RV28d merged, deploy runningmre
  • a8fef27dRV28d: reportmre
  • 2bae8373RV28d: re-vendor Hybriel set day38b (source 1e554d75, bin 5ff2a46d)mre
  • 16b3354aMerge branch 'main' into rv28cmre
  • 6f4f27d8log: RV28d started (day38b)mre
  • e6cf03ffmission RV28d: rv28c onto day38bmre
  • 3ccaee19status: live sweep freeze, waiting for Apollomre
  • 49f76ecblog: watch toggle slowness = session sweep freeze (tracker#50)mre
  • 3daf6eddlog: day37 live, still waiting for day39mre
  • 796ba672records: #277 slips to day39mre
  • a9eb9827records: mpackdb integrity clean, all 12 tablesmre
  • 6cf40dbdrecords: mpackdb integrity check, shows uncheckedmre
  • 1880f42arecords: day38 deploy may swap normallymre
  • 9d806e35records: mpackdb freeze until day38mre
  • a660239drecords: day37 lacks #277, wait for day38mre
  • b0abfdeaLOG: Anton hybriel#277 fix ready for day37mre
  • 7b5b2918Tracker: hybriel#277 fix comes in day37mre