gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitec54fc35ec54fc35Move show page logic into the shows topicmreec54fc35/missions/016-tracker-short-ids.md

1.7 KB

  1. # Mission 016 (old 060) — tracker#27: short ids for every movie, series, show and person, shown below the poster
  2. Ticket: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/27`
  3. App loreana:/media/STORAGE/projects/tracker.worldapi.org (main f14db67, deployed, clean). Rules + real-data procedure as
  4. mission 002 (old 041). Ports 8720–8731. Pure Hybriel. Worktree tracker-wt26 belongs to another worker — don't touch it.
  5. Old data: /media/STORAGE/projects/old-tracker/mongo-export/Show.jsonl — field `id` (base62, 5 chars, e.g. 100jh) exists on
  6. 702 of 9,453 shows; match them via `oldId` (= old Mongo _id) kept by tools/migrate.hl. Persons have none.
  7. 1. Field `shortId` on shows (movies + series) and persons, unique index across both. Keep the 702 old ids. Everyone else:
  8. random 5 chars [a-z0-9], unique, never colliding with the old ones; new records get one on creation (sync, search
  9. import, filmography).
  10. 2. Backfill: a background job inside the running app (like the adult backfill 054: yields, resumes) or at start if it is
  11. fast enough without blocking pages > 1 s — measure on the copy and choose; report.
  12. 3. Show it below the poster / person photo (small, muted, monospace). Route `/<shortId>` → 301 to the page.
  13. 4. Gate: old id kept, new id assigned, unique, new record gets one, shown under poster, redirect works. Full gate green.
  14. Real data on a copy: counts (old kept / new / duplicates 0), backfill duration, page times; screenshots 390/1280 looked at.
  15. 5. README + STATUS; commit on main (commit only, never push).
  16. ## Report (short) — ALSO to reports/016-tracker-short-ids.md
  17. Commit, gate command + last line, numbers, screenshots, open points. Foreground only, never wait for notifications.

Branches

Latest commits

  • ec54fc35Move show page logic into the shows topicmre
  • c1a8d074log: correct timesmre
  • 5827eba9log: HM57 merged, HM59 startedmre
  • d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre
  • a404ed75Report HM57 audit, gates and integration notesmre
  • 1dcb87a7Use plain declarations for unchanged bindingsmre
  • b90395e3log: HM51 mergedmre
  • 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre
  • 4399bc2fReference remaining component-owned root Style rulesmre
  • 9edcc2dflog: #58 live, HM57 startedmre
  • 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
  • aed12917Reference owned Style rules in genres and searchmre
  • 14195720log: HM49B done, HM51 startedmre
  • 78ee6b56Move remaining component styles into Style blocksmre
  • 7f04de33log: HM49Bmre
  • 00616cf3log: #49 batch merged, DP67 startedmre
  • d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
  • 079f376dMove seven components' styles into Style blocksmre
  • 17d66feelog: #58 mergedmre
  • 69a6640bMerge hm58-map: tracker#58 project.hl only the mapmre