gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2d4be66f2d4be66fre-vendor Hybriel 5df4eb7e (GC: HL_GC_TABLE_LOAD knob, mission 406)mre2d4be66f/reports/008-tracker-search-tvmaze-tvmaze.md

3.0 KB

  1. # w052-tvmaze — tracker #15 TVmaze merge (mission 008 (old 052))
  2. **Branch** t15-tvmaze in loreana:/media/STORAGE/projects/tracker-wt15. Not pushed or merged.
  3. - 34f2c15 tracker#15: TVmaze merge in the sync (gaps only: new episodes/seasons, empty titles/air dates; numbering check), fake TVmaze episodes + gate
  4. - 71b4634 tracker#15: numbering check by date or title, placeholder titles in other languages, docs + real-data proof
  5. **What it does** (`tmdbsync.hl` `mergeTvmaze`, `numberingAgrees`, `isPlaceholderTitle`)
  6. - After the TMDB step, a series with a tvmzId gets `GET /shows/<id>/episodes` (1 request, 550 ms pause).
  7. - Episodes are matched by S/E number. Missing episodes and seasons are added. Empty or placeholder titles ("Episode 4", "Épisode 4", "TBA") and empty air dates are filled.
  8. - A TMDB value is never overwritten. TMDB's own placeholder title no longer overwrites a real one.
  9. - When TMDB lists an episode later, the TMDB step adopts TVmaze's row by number and TMDB's values win.
  10. - Numbering check: if fewer than 80 % of the shared episodes air within a day of each other or share the title, TVmaze is ignored for that show.
  11. **Gate** (111 → 117, fake TVmaze episode lists):
  12. `TRACKER_GATE_SHOTS=/tmp/w052-tvmaze/shots TRACKER_GATE_PORT=8732 TRACKER_GATE_IDENT_PORT=8733 TRACKER_GATE_CHROME=8734-8737 TRACKER_GATE_TMDB_PORT=8738 node tests/browser.mjs`
  13. → `117 passed, 0 failed`.
  14. **Real data** (copy, deleted afterwards; 126 shows; real TMDB + TVmaze):
  15. - Run 1: tvmazeRequests=126, tvmazeFilled=21, tvmazeSkipped=7, tvmazeEpisodes=0, errors=0, 179 s.
  16. - Run 2: 8 Greek Salad titles reverted to TMDB's "Episode n" (the placeholder rule was extended between runs). Run 3: all 0, so it is idempotent.
  17. - Filled: Rings of Power S3E1–8 real titles (TMDB had "Episode n"; airs 2026-11; now in /my/schedule) and Last Week Tonight 8x26–30.
  18. - Skipped, checked by hand and correct: Daily Show (TVmaze numbers seasons by year; it would have added 1093 bogus episodes), Prodigy and Blood & Treasure (numbering shifted), Alex Rider, Intergalactic and The Rising (different premiere dates).
  19. - Load times (390 / 1280 px): /my/shows 1.51 / 0.26 s, /my/unwatched 1.46 / 1.41 s, /my/schedule 0.36 / 0.29 s, show page 0.13 / 0.13 s. 0 console problems.
  20. - Screenshots: loreana:/tmp/w052-tvmaze/real/ and /tmp/w052-tvmaze/shots/ (looked at).
  21. **Merge notes**
  22. - Files touched: tmdbsync.hl, tools/sync-tmdb.hl, tests/browser.mjs (new block after the in-app run check, plus count changes in the sync checks), tests/faketmdb.mjs, tests/realdata-check.mjs (env-configurable), README.md, STATUS.md (entry on top).
  23. - #13 is likely to touch README, STATUS and tests/browser.mjs too. No changes to styles.hl, project.hl or components.
  24. **Open**
  25. - No episode was TVmaze-only on real data that day, so the add path is proven by the gate only.
  26. - The daily run takes about 70 s longer.
  27. - Shows the numbering check skips get no TVmaze help.
  28. - The shared /tmp/w052/real dir with w052-search did no damage (confirmed by w052-search); my files are in /tmp/w052-tvmaze.
  29. **Hybriel**: no new issues. Hashes have `.keys()`; there is no `Object.keys`.

Branches

Latest commits

  • 2d4be66fre-vendor Hybriel 5df4eb7e (GC: HL_GC_TABLE_LOAD knob, mission 406)mre
  • 99e7c8b9tests: realdata-m035-radii, repro-t38, realdata-060-backfill ports from env (REAL_PORT, REAL_CHROME, REPRO_CHROME), defaults unchangedmre
  • 4625aa22re-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • a6dfd6ecdeploy: person-lookup gate (tracker#46)mre
  • 33ad4bd5Merge commit 'f57f64f'mre
  • 7d38cec4docker-compose: nofile 65536 (default soft 1024 refused boot: errno 24 in fs.listDir, Hybriel 528bc89f)mre
  • f57f64f0mission 046: report, LOGmre
  • 5965963adeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • efe1b485mission 046: re-vendor Hybriel master 60b2817b (integration 8, #203): plugins mpackdb + web (bin/ git-ignored: hybriel, libhlrt.a, hlc.o, hlrt/ from native/zig-out)mre
  • 53099ffbmission 046: person page reads a slim per-title credit row cache (no whole-record fetch per credit); gate tests/person-lookup.mjsmre
  • 9b3828aemission 046a: report, LOGmre
  • 4b37356emission 046: franchise seed supersedeCollections reads the curated timelines once (10 s one-tick block at the end of boot)mre
  • ac6268e3mission 046a: re-vendor Hybriel 528bc89f (integration 6): plugins mpackdb/time/web (bin/ git-ignored)mre
  • 322b3293mission 046: photoQueue guard for non-row fetch results (damaged persons index)mre
  • e5b99aecmission 046: photoQueue in slices (people.hl photoQueueStart/Step, jobs.hl photoTick), tests/photoqueue.hlmre
  • 31dcf2admission 045: report, LOGmre
  • 9c3971d0tests/persons-skip-count.hlmre
  • 4d72e365mission 045mre
  • b9cae4c9slices: skip and count non-row values from range(); merge persons pass falls back to iterate; guard testmre
  • 3db7dc31merge w44-jobs-slices into w43-trkmemmre