tracker
All repositories: gitoria
4.9 KB
# RV28d-tracker: rv28c re-vendored onto Hybriel set day38b (source 1e554d75, bin 5ff2a46d) — gates: all green except the two known failures## Done- `git merge main` in the worktree (branch rv28c): clean, no conflicts (merge commit 16b3354).- Set check: `sha256sum -c SHA256SUMS` all OK; bin/hybriel sha256 starts 5ff2a46d (5ff2a46db81e…), also verified after copying into the worktree bin/.- NOTE on the set: the set's plugins/ holds ONLY the .so files (crypto fetch fs gui http1 http2 http3 ipc mariadb math mpackdb proc smtp time); it has no core, data, http or web dir and no sources at all. So the sources come from Hybriel commit 1e554d75 (the SOURCE named in the set, `git archive 1e554d75 plugins`, same way as day35), and the .so were then compared: the .so in that commit are byte-identical to the set's (cmp, all 8 that exist) and the set's were copied anyway. Nothing is mixed from other commits. core/data/http/web have no .so.- Commit **2bae837** "RV28d: re-vendor Hybriel set day38b (source 1e554d75, bin 5ff2a46d)": whole dirs replaced for core crypto data fetch fs http http1 mpackdb proc smtp time web (rsync --delete), 25 files modified plus the source's own new files fetch/README.md, fetch/client.js, fetch/server.js, fetch/tests/, fs/tests/ (the brief says whole dir, so they are included; day35 had left such extras out). bin/ (set bin/hybriel + hybriel.inputs.json, lib/hlc.o, libhlrt.a, hlrt/; es and hybriel-native stay symlinks) copied, git-ignored, not committed. Tracker's own files untouched.## Gates (LC_ALL=C; ports gate 8701, ident 8702, tmdb 8703, Chrome 8704-8709, signin 8710/8711 + Chrome 8712-8715, tmdbfix 8716, session test 8718; `ss` showed 0 listeners in 8701-8719 before every run; 8700 never touched). Logs in RV28d/logs/.- browser **50 passed, 1 failed**: `FAIL gate ran without throwing — waitFor timed out after 10000ms: results for g` (known hybriel#277)- security 56 / 0- kinds 32 / 0- franchises **33 passed, 1 failed**: `waitFor timed out after 8000ms: added Pager Older Series (2019)` (known hybriel#277)- pager 229 / 0- franchiseseed 26 / 0- signin-return 3 / 0- check-theme: 108 files, 0 problems- person-lookup: passed (exit 0)- mobile 45 / 0- warmstart 12 / 0- tmdbfix 28 pass / 0 fail- No gate was rerun; the two failures are the same two as on day35 (so the gate stops at them, as before; the checks after 'results for g' in browser were therefore not run; same for franchises).- Only the two accepted failures; no other failure.## Session store (plugins/web/sessions.hl: store pass, W179)Scratch storage: 50,000 anonymous empty session files (valid format: filename sha256(id), JSON {id, created, seen, user:null, data:{}, handled:[], rotating, issuedSig, issuedAt}, seen and file mtime 3 days old; anonKeep is 1 day) plus 3 with a user (same old mtime, seen 3 days, well inside maxAge 14 days). Seeded fixture titles (tests/seed-show.hl), app on port 8718, scripts in RV28d/sessiontest/run.mjs, log logs/sessiontest2.log.- Boot time: 1.9 s from process start to the first 200 (compile cache warm; the very first start of the first try was 1.7 s). The listing of 50,003 files and the first slice happen at boot.- Important: the pass only advances on requests that go through the server-face path (`POST /__hl/emit`, and a session being created), because `maybeSweep` is called from there (WebFramework.hl l.3613, sessions.adopt). My first try used plain page GETs: 3,200 GETs, the pass did not move after the boot slice (1,663 files removed at boot, 48,340 left, nothing more). That is by design of this hl:web version (not a bug report, but worth knowing: a site that only serves GETs never finishes the pass; the real site always has face calls from its pages).- Second try with 200 `POST /__hl/emit` (event searchDb, a real face of the app, all 200 answers ok:true, 0 bad): requests max latency **159 ms**, p50 2 ms, p99 133 ms; typical request 1-2 ms. The first ~40 requests each carried one slice (the 40 ms slice cap plus the request: 42, 51, 76, 87, 133, 159 ms seen), the rest 1-2 ms.- Files removed by the pass: **50,000** (log: `sessions: store pass done — 50003 file(s) looked at, 50000 removed`), the whole pass was done within the first ~50 of the 200 requests. Files left: 3.- The 3 user sessions remain: yes (checked by filename hash: 3 of 3 present).- Nothing of the 40 ms-slice kind stalls the server for seconds: no request above 159 ms.## Stopped (name, PID)- run.sh (gate runner, PID 4144159, finished by itself), the gates' servers/Chromes (own children, closed by the gates), session test server `bin/hybriel project.hl` PID 270797 (killed by the script by saved PID, confirmed gone; the first try's server PID 203017 same). Checked after: no process of mine left (the only RV28d hit is this worker itself), no Chrome with cwd in RV28, nothing listening on 8701-8719. Scratch data (session store, tmdbfix storage, source extract) deleted. Nothing deployed, pushed, no live access, 8700 untouched, no lisbeth Chrome.## RequestsAbout 25 API requests.
Branches
Latest commits
- 2f8030d6log: CB gates greenmre
- 498bf644log: CB gates startmre
- 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