gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit498bf644498bf644log: CB gates startmre498bf644/missions/020-tracker-franchises.md

2.4 KB

  1. # Mission 020 (old 066) — tracker#19: Franchises and Timelines (prequel/sequel widget, franchise index)
  2. Ticket: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/19`
  3. (read it fully — the creator's words are quoted there). App repo loreana:/media/STORAGE/projects/tracker.worldapi.org.
  4. main is being merged by another worker (062) — DON'T touch main. Create your worktree from the deployed commit:
  5. `git worktree add -b t19 ../tracker-wt19 fa1f9df` (git: commits on t19 only, never push). Ports 8732–8739.
  6. Rules + real-data procedure as mission 002 (old 041) (antcolony/missions). Pure Hybriel, mobile first. Keep changes additive
  7. (new files/tables/pages) where you can — t26 (#26 + #28) and 062 change show.hl / tmdbsync.hl / people.hl heavily; list
  8. every existing file you touch for the merge.
  9. Build:
  10. 1. Tables: franchise {id, name, slug, shortId?, summary}, timeline {id, name, slug, franchise?, order: [showId…]}.
  11. A title may belong to several timelines (Star Trek Prime and an alternate one).
  12. 2. Seed from TMDB movie collections (`belongs_to_collection` in movie details; /collection/<id> for parts): each
  13. collection → one timeline (no franchise), parts in release order. Background job like 054 (yields, ≤ 40 req/10 s,
  14. resumes, adult skipped). Count on a copy.
  15. 3. Pages: /franchises (list), /franchises/<slug> (index: its timelines, each list of titles), /timelines/<slug>.
  16. Sort toggle per timeline: timeline order | release date (series: release date of the LAST episode).
  17. 4. Widget on movie/series pages: `< Prequel | Timeline name | Sequel >` (links; ends disabled), the franchise name
  18. above it linking to the franchise index; one widget per timeline the title is in.
  19. 5. Editor for the creator only (az5b2): create franchise/timeline, add/remove titles (search our DB), reorder, attach a
  20. timeline to a franchise. Simple, mobile usable.
  21. 6. Gate: seed from fake TMDB collections, widget prev/next + ends, franchise above, index sorts both ways (series by
  22. last episode), editor only for az5b2. Full gate green. Real data on a copy: seed counts + duration, a Star Wars or
  23. Alien movie page widget, /franchises load times; screenshots 390/1280 looked at.
  24. 7. README + STATUS; commit on t19.
  25. ## Report (short) — ALSO to reports/020-tracker-franchises.md
  26. Commits, files touched (merge notes), gate command + last line, numbers, screenshots, open points. Foreground only.

Branches

Latest commits

  • 498bf644log: CB gates startmre
  • 6ea2c6d6log: morning re-measure 11-04mre
  • 446290f0log: GC1 livemre
  • 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