gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit451db7cd451db7cdgc1: show page and check clicks read the kept watched set instead of building one from a by-value copy of every watchmre451db7cd/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

  • 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
  • 89e91ef3log: RV39 livemre
  • ee2b677alog: RV39 deployingmre
  • c1c4178cMerge branch 'rv39'mre
  • a016e9abReapply "Merge branch 'rv39'"mre
  • f29e2502log: RV39 gate fixmre
  • d9fce111browser gate #26: exact frame count incl. SL1 people step (hybriel#308)mre
  • ad529ac1log: m572 verdictmre
  • 1b37d404RV39 on hold: hybriel#308mre
  • f9127c68Revert "Merge branch 'rv39'"mre