tracker
All repositories: gitoria
1.1 KB
# tracker mission 039 — tmdb-check survives network errors, resumes (tracker#36)- Cause: a dropped connection / TLS handshake error in hl:fetch (lib/tmdb.hl:34) is an Error event; tools/tmdb-check.hl had no `on Error`(tools/sync-tmdb.hl has one), so the run ended. Fix in Hybriel, no workaround: `on Error(e)` absorbs it, the fetch yields null →"no answer" → the existing retry path (asked again once at the end); a title still failing is now a `failed …` line with the reason(+ `failed=N` in the totals). New `--from N` skips the first N titles of the tool's own order (before --limit).- Test tests/tmdbcheck.mjs (fake TMDB on :8700, real copy of the 10:32 backup, 6 checks): run goes on after drops; one drop-once title ok onretry; one always-dropped title = exactly one `failed` line; totals; --from 4 --limit 2 asks exactly titles 5–6. 6/6 pass; on the oldtool 5/6 fail (aborts at lib/tmdb.hl:34). Read-only, no real token, data copy deleted.- Resume for Atlas (titles 1–6500 are in /media/STORAGE/claude-scratch/t36/check.txt; ≈ 2,860 titles ≈ 13 min):`TMDB_READ_TOKEN=<token> TRACKER_STORAGE=<copy>/storage/mpackdb ./bin/hybriel tools/tmdb-check.hl --from 6500 >> check-from6500.txt`
Branches
Latest commits
- 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
- c7828541mission GC1mre
- ef949994conductor: neutral ticket rulemre