gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitd0a82867d0a82867mission 048: report, LOG (HL_GC_TABLE_LOAD=62 measured)mred0a82867/reports/014-tracker-small-bugs.md

4.0 KB

  1. # w058 — tracker#22–#25 (mission 014 (old 058))
  2. **Commit**: `f14db67` on main in loreana:/media/STORAGE/projects/tracker.worldapi.org. Not pushed and not deployed. I did not touch tracker-wt26.
  3. ## What changed
  4. - **#22 air dates**: every episode row ends with its air date (`YYYY-MM-DD`). This works for rows rendered on the server and for rows of a season opened with `showSeasonEpisodes`.
  5. - **#23 season check**: the season check is now worked out from the episodes. It is checked exactly when all its episodes are watched, and it updates as soon as the face answers. Clicking a partly watched season watches the rest.
  6. - **#24 movie watched check**: a movie's page has `#moviewatch` with the label "Watched" / "Not watched".
  7. - It saves a watch with the new target type `'movie'` through the face `showToggleMovie`.
  8. - Signed out, a click opens the sign-in modal and saves nothing.
  9. - `/my/movies` shows "N movies · M watched" and a solid check on each watched movie.
  10. - **#25 genre pages**: `/genres/<genre>` and `/genres/<genre>/page/<n>` (`components/genre.hl`, using `catalog.hl` `index.genres`).
  11. - Movies and series are listed together, newest first, 24 per page, with adult titles hidden.
  12. - The genre pills on show pages link here, and the old `/genre/<x>` answers 301.
  13. - Files: `components/show.hl`, `components/mymovies.hl`, `components/genre.hl` (new), `catalog.hl`, `shows.hl`, `project.hl`, `styles.hl`, `watches.hl`, `tools/verify.hl`, `tests/browser.mjs`, `tests/seed-show.hl`, `tests/realdata-058.mjs` (new), `README.md`, `STATUS.md`.
  14. ## Gate
  15. `TRACKER_GATE_SHOTS=/tmp/w058/shots TRACKER_GATE_PORT=8720 TRACKER_GATE_IDENT_PORT=8721 TRACKER_GATE_CHROME=8722-8726 TRACKER_GATE_TMDB_PORT=8727 node tests/browser.mjs`
  16. → `238 passed, 0 failed` (was 214; 24 new checks).
  17. - #23 is tested in both directions, live and after a reload.
  18. - #24 is tested signed out (modal) and signed in, and the watch is still there after a reload.
  19. - One old check had to change. "An unwatched check is the inverted icon" now styles a detached copy of a check classed `regular`, because with #23 every check on that page is solid at that point.
  20. ## Real data
  21. Copy of Byrodin `storage/` taken 2026-10-01 12:03 UTC, server on :8730, signed in as the creator, `node tests/realdata-058.mjs`. Full page loads in ms, 3 runs each:
  22. | Page | 390 px | 1280 px |
  23. |---|---|---|
  24. | `/shows/Foundation` | 549 / 277 / 221 | 224 / 228 / 225 |
  25. | movie `/shows/Star-Trek-First-Contact` | 234 / 250 / 250 | 237 / 238 / 239 |
  26. | `/genres/Action` | 118 / 991 / 42 | 92 / 39 / 43 |
  27. | `/genres/Action/page/2` | 41 / 103 / 749 | 93 / 48 / 110 |
  28. | `/my/movies` | 66 / 63 / 66 | 68 / 63 / 63 |
  29. - `/genres/Action` has 643 titles on 27 pages. The server answers it in 6–8 ms (curl); the occasional ~1 s loads are probably the poster images loading.
  30. - On Foundation, the open season's 10 rows all show a date, and the top season's check matches its episodes.
  31. - Movie check on the copy: click took 361 ms, after a reload it was solid, I clicked it back, and after another reload it was not watched.
  32. - 0 console problems.
  33. - The copy is deleted and nothing of mine is still running on 8720–8731.
  34. ## Screenshots (looked at)
  35. - Gate: Loreana `/tmp/w058/shots/`, especially `show-open-*`, `movie-watched-*`, `genre-action-*`, `my-movies-*` and `movie-signed-out-modal-1280`.
  36. - Real data: Loreana `/tmp/w058/real/` (`show`, `movie`, `genre`, `genre-2`, `my-movies` at 390 and 1280) and `/tmp/w058/real-Drama/`, `/tmp/w058/real-Action-Adventure/`.
  37. ## Open points
  38. 1. **`/genres/Action` has no series on real data.** TMDB uses different genres for TV ("Action & Adventure", "Sci-Fi & Fantasy", "War & Politics") than for movies. So Action has only movies (page 1: 24 movies), Action-Adventure only series (0 movies / 24 series) and Drama both (5 movies / 19 series). Merging them is a question for the creator.
  39. 2. A series tile shows its start year but is placed by its newest episode, the same as on /shows.
  40. 3. A season click still writes the season's own watch record, but nothing reads it for the check any more, so it can disagree with the episodes.
  41. 4. Deploy is still to do.
  42. 5. No Hybriel issues found.

Branches

Latest commits

  • d0a82867mission 048: report, LOG (HL_GC_TABLE_LOAD=62 measured)mre
  • 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