gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commite84586a7e84586a7Mission AP56bmree84586a7/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

  • e84586a7Mission AP56bmre
  • 15917f03Record PR workflow rule (gitoria#50)mre
  • 942ac995status: paused workers statemre
  • 44b934e5log: respawn cleanupmre
  • 03a80097Log: Anton GC A/Bmre
  • c7cdef62Log: Apollo STOP, workers pausedmre
  • d0c083fbLog: usage stopmre
  • c6d464e5Log: Apollo GO backlog, AP56 and BS1 startedmre
  • 1eb6f1a1Missions AP56, BS1mre
  • 4871f8adLog: AP52 live on day52, browser gate greenmre
  • d9bf2988Merge ap52: day52, tracker#58 server argument, #51 modal close rule, #56 keyed season rowsmre
  • c4a60ef2Log: RT52 retest passed, AP52 startedmre
  • 83760a55Browser gate: search results belong to the address form of the typed text (tracker#52 navigate replace)mre
  • 6e951d91AP52: show-page rows are keyed records; closing a season is one upsert and removes (tracker#56, hybriel#331)mre
  • 3bb4ccddAP52: modal close button refers to its nested rule with Style.buttonModalX (tracker#51, hybriel#333)mre
  • ba16933fAP52: login callback and title route are static handlers taking the server as third argument (tracker#58, hybriel#332)mre
  • 85153900AP52: re-vendor Hybriel set day52 (source 77cfca31, bin 0a8ed496)mre
  • 7c051eddLog: hybriel#338 answermre
  • d049b8b8Log: HM50 live, #52 donemre
  • 6d05fa37Log: HM50 Part A mergedmre