gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit1f2df72a1f2df72amission RV39mre1f2df72a/missions/026-duplicate-titles.md

1.9 KB

  1. # Mission 026 — tracker#31 duplicate title records + deploy.sh waits for the slower boot
  2. Ticket: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/31`
  3. Repo loreana:/media/STORAGE/projects/tracker.worldapi.org (main 2667da0, deployed). Rules + real-data procedure as
  4. tracker mission 002 (kill by PID only, never read .env; git: commit on main only, never push). Ports 8720–8731.
  5. Read reports/025-*.md (w074 found it; tools/count-tmdb-ids.hl).
  6. 1. Find the path(s) that create a second record for a TMDB id we already have (filmography fill, completion, search
  7. import, delta sync, migration leftovers?). Fix them so a TMDB id + type maps to exactly one record (lookup before put;
  8. an index if mpackdb allows). Gate check per path.
  9. 2. Merge existing duplicates in the app's repair path (background, resumable, like 054): keep the record that has
  10. follows/watches/the old short id (else the oldest); move follows, watches, seasons/episodes the keeper lacks, cast;
  11. the other records become tombstones {mergedInto} — NOT deleted; their slugs and short ids 301 to the keeper. Fix the
  12. migrated duplicate SEASONS too (Reacher: the creator's S3 watches sit on a season outside the title's list) — the
  13. watches must show on the keeper's S3 afterwards.
  14. 3. deploy.sh: the URL check must wait for the slower boot (cache warm-up + 100k people index; today it reported 502
  15. twice while live was fine) — e.g. up to 90 s.
  16. 4. Gates green. Real data on a copy: duplicates before/after (count-tmdb-ids → 0), Reacher /my/series shows S03E08,
  17. Archive 81 one page; watches/follows counts of az5b2 before = after; screenshots looked at. README + STATUS, commit.
  18. ## Report — loreana: …/tracker.worldapi.org/reports/026-duplicate-titles.md (+ copy /CONTAINERS/projects/antcolony/reports/latest-w075.md)
  19. Cause, commits, gates, numbers, open points. Foreground only, never wait for notifications.

Branches

Latest commits

  • 1f2df72amission RV39mre
  • 6c1936f9log+status: GC planmre
  • 2846a840log: m569 result, GC hypothesismre
  • b24cd2d5log: Anton on hl:fetch, mission 569mre
  • 7d42cac1log+status: SL1 measured, fetch stalls remainmre
  • 8e5f2ceflog: SL1 deployedmre
  • 29f34212log: SL1 deploy startedmre
  • 529dd741Merge sl1-slices: slice details repair and person fill (SL1)mre
  • 8a83316blog: SL1 result, session drain slowermre
  • 35e93e8dSL1: slice the details repair and person fill: catalog lists changed in place, 40 ms fill steps, people created in steps, writes one table per tickmre
  • 72c9119flog+status: SL1 startedmre
  • d74620fcmission SL1: slice repair and person fillmre
  • 5d542d73log+status: ST1 resultmre
  • 3945eb81ST1: stall diagnosis reportmre
  • 404733aclog: ST1 startedmre
  • 3e3d5a55mission ST1: stall diagnosismre
  • 9c3180eblog+status: RV28d measured after deploymre
  • fdf10b1alog: RV28d deployed on day38bmre
  • 320005e9log: RV28d merged, deploy runningmre
  • a8fef27dRV28d: reportmre