gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6ea2c6d66ea2c6d6log: morning re-measure 11-04mre6ea2c6d6/missions/RV39-tracker.md

3.7 KB

  1. # RV39-tracker: re-vendor main onto Hybriel set day39, add HL_GC_STATS=1, run all gates (no deploy)
  2. Task (Apollo 2026-11-03 18:0x): "Re-vendor to day39 now (complete plugin dirs from the set, sources AND .so), gates, normal standby swap, live check". Tracker does the swap and live check; you do vendoring + compose line + gates only.
  3. Why: day39 carries hybriel#277 (/search fix): the browser gate '/search results for g' and franchises 'added Pager Older Series (2019)' must now PASS. Plus Apollo GO 17:0x: HL_GC_STATS=1 (GC log only) in compose env for tracker AND tracker-standby (GC-pause hypothesis for 6-8 s stalls every ~80 s).
  4. ## Read first
  5. - Worker rules: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (read fully).
  6. - Previous run: reports/RV28d-tracker.md (how vendoring was done: set plugins/ holds only .so; sources come from the hybriel SOURCE commit via `git archive`, .so compared byte-for-byte and copied from the set; bin/ copied and git-ignored).
  7. - At a Hybriel gap: STOP with a repro, never a workaround in the app. No hand-written JS. Never edit gates to make them pass.
  8. ## Inputs
  9. - Set: /media/STORAGE/claude-scratch/anton/set-day39 (bin lib plugins runtime SHA256SUMS SOURCE). SOURCE 51e921d7de72ebe3ba4d0febdcc32e9a9084b178 (exists in /media/STORAGE/projects/hybriel; also Anton's worktree /media/STORAGE/claude-scratch/anton/day39/wt). `sha256sum -c SHA256SUMS` in the set: all OK. bin/hybriel sha256 starts 6b481aa7.
  10. - Repo /media/STORAGE/projects/WorldAPI/tracker.worldapi.org, main 6c1936f. Do NOT touch the main checkout's files or bin/. Make your own worktree: `git worktree add -b rv39 /media/STORAGE/claude-scratch/tracker/RV39/wt main`.
  11. ## Steps
  12. 1. Re-vendor in the worktree exactly like RV28d: for each plugin dir core crypto data fetch fs http http1 mpackdb proc smtp time web, replace the WHOLE dir with plugins/<name> from `git archive 51e921d7 plugins` (rsync --delete), then compare the set's .so to those in the commit (cmp) and copy the set's .so. Nothing mixed from other commits. Copy bin/ from the set as RV28d did (hybriel, hybriel.inputs.json, lib/hlc.o, libhlrt.a, hlrt/; symlinks stay). Tracker's own files untouched.
  13. 2. docker-compose.yml: add `- HL_GC_STATS=1 # GC stats in the log (Apollo 2026-11-03, stall diagnosis)` under HL_GC_TABLE_LOAD in BOTH services. First confirm in the day39 runtime source that HL_GC_STATS is the real variable name and that it only logs; if not, STOP and report the right name.
  14. 3. Commits (no attribution lines): "RV39: re-vendor Hybriel set day39 (source 51e921d7, bin 6b481aa7)" and "compose: HL_GC_STATS=1".
  15. 4. Run every gate in deploy.sh GATES (11) plus `node tests/tmdbfix.mjs`, with `LC_ALL=C`, ports 8701-8719 ONLY (8700 = never). Set the gates' port env vars inside that range; `ss -ltnp` before each run. Each start waits >=120 s; one rerun after a first-run timeout is allowed, say so. Run one gate with HL_GC_STATS=1 set and show 2-3 example GC log lines.
  16. Expected: ALL 0 failed, including browser /search and franchises. Any failure: compare with main on day38b bin (claude-scratch/tracker/RV28c/wt has day38b bin) if quick, classify, minimal repro, STOP.
  17. 5. Scratch only /media/STORAGE/claude-scratch/tracker/RV39/ (worktree, logs, test storage). Nothing in /tmp or projects/. No live access, no byrodin, no deploy, no push, no lisbeth Chrome.
  18. 6. Stop everything you started by saved PID; list name+PID.
  19. ## Report
  20. /media/STORAGE/claude-scratch/tracker/RV39/REPORT.md, copy to reports/RV39-tracker.md in the worktree, commit on rv39. Final message <=8 lines: commits, sha check, each gate passed/failed counts, GC log sample, stopped processes.
  21. Cap ~60 API requests / 150k context: if near, commit, stop what you started, report exact next steps.

Branches

Latest commits

  • 6ea2c6d6log: morning re-measure 11-04mre
  • 446290f0log: GC1 livemre
  • 8e6aa91dlog: GC1 deploy retrymre
  • 87ad2dc1log: GC1 deployingmre
  • 53f10fb8Merge branch 'gc1-deploy'mre
  • 7fcbf1d2log: GC1 deploy GOmre
  • 1fb6664bcompose: TRACKER_QSTATS=1 (GC1 measurement)mre
  • 6576c1cdgc1: release the people-view scan lists once the view is builtmre
  • 94f8a373gc1: back out the kept episode-id set (no measurable gain on /my/unwatched: 4.69 -> 4.61 GB per 150 loads)mre
  • a1a88bd4gc1: search skips the stale-key string while no entry is stale; /my/unwatched asks a kept id set instead of building a key string per episode rowmre
  • cd830744gc1: dbSearch: no split / map / list copy per candidate (scores from the stored text, top list touched only when the hit can enter)mre
  • 451db7cdgc1: show page and check clicks read the kept watched set instead of building one from a by-value copy of every watchmre
  • ddb4127egc1: TRACKER_QSTATS=1 logs queue and cache sizes every 10 s (measurement only)mre
  • da60547fstatus: GC1 done, backup bugmre
  • e4171021log: GC1 result, backup hard-link bugmre
  • f1597214deploy.sh backup: tar --hard-dereference (hot tar stored mpackdb sidecars as hard links to .sessions files)mre
  • 6b58571elog: GC windowmre
  • 5c8baa1fdeploy lock: hold only around deploy.shmre
  • b8dac822log: hybriel#309mre
  • bf676d9elog: GC1 startedmre