gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit593a6350593a6350boot: resumable start-up scan, the server listens first (T17)mre593a6350/missions/010-tracker-adult-posters.md

2.0 KB

  1. # Mission 010 (old 054) — tracker: hide adult titles from public lists + backfill adult flag and posters for all movies
  2. Creator OK (2026-10-01): adult titles never appear in public lists or search; one run over all movies fetches TMDB's
  3. adult flag and the posters. App loreana:/media/STORAGE/projects/tracker.worldapi.org, main = #13+#14+#15 merged
  4. (47a3cae, 167/0, NOT deployed yet). Rules + real-data procedure as mission 002 (old 041); you may `git commit` on main (never
  5. push). Ports 8720–8731.
  6. ## Build
  7. 1. Store `adult` (true/false/unknown) on every title. Public lists (homepage rows, /movies, /shows) and search results
  8. (our DB AND the "Fetch from web" TMDB list — use TMDB's own adult field / include_adult=false) show ONLY titles with
  9. adult === false. Unknown counts as hidden, so the app is safe from the first deploy on.
  10. A title stays visible on the user's own pages (/my/*, its show page) if they follow it.
  11. 2. Backfill inside the running app (NOT the stop-the-app tool): a background job that walks all movies (and series)
  12. without a known adult flag, fetches TMDB details (adult, poster_path, external ids — one request per title),
  13. downloads the poster into storage, and yields between titles exactly like the daily sync (page requests never wait
  14. more than ~1 s; TMDB ≤ 40 req / 10 s). It resumes after a restart and stops when nothing is unknown. Log progress
  15. every 500 titles. The catalog lists update as flags arrive.
  16. 3. Gate (fake TMDB): unknown hidden, adult hidden, non-adult shown; followed adult title still on /my/*; web search
  17. hides adult; backfill resumes after restart; requests during backfill stay fast. All green.
  18. 4. Real-data check on a copy: run the backfill fully against real TMDB; report counts (adult / not / unknown left /
  19. posters / errors), duration, page latency during the run; screenshots of / and /movies after — look at them, no
  20. adult titles visible.
  21. 5. README + STATUS. Commit on main.
  22. ## Report (short) — ALSO to reports/010-tracker-adult-posters.md
  23. Commit, gate command + last line, real-data numbers, screenshots, open points. Foreground only.

Branches

Latest commits

  • 593a6350boot: resumable start-up scan, the server listens first (T17)mre
  • be4890a0reports: H2 hydration audit (no test change needed)mre
  • 1f9c8bf4re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • c1df88eddocker-compose: HL_GC_TABLE_LOAD=62 (tracker mission 048, T16 real-data numbers)mre
  • 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