gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit593dab6f593dab6fmission 043: report, LOGmre593dab6f/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

  • 593dab6fmission 043: report, LOGmre
  • 1a5a4818boot scans back to iterate (slices measured slower: titles 114 s, episodes 141 s, persons failed); lambda per rowmre
  • 03d29893boot scans read primary-key slices (lib/slices.hl from mission 044): iterate is eager too; people view log line back; allShows/allEpisodes stay for toolsmre
  • 0d6293ebmission 043: mission filemre
  • 55bbd619boot: one streamed pass per table (lib/bootscan.hl) instead of find(null,null) per module; follows/watches/franchises scans streammre
  • 1d465d3ere-vendor plugins to Hybriel master f9614007 (mpackdb #202 copy fix, libmpackdb sha 6fb3b9d6)mre
  • 6648ba44mission 042: real-browser E2E on ce6f2e0a re-vendor 69/0 at 390 + 1280mre
  • 3ed3a0efmission 042: gates old/new equal (browser #41 route-table regex accepts unescaped hl:web output), real-data TTFB, E2E blocked by lisbeth lockmre
  • d5b61e90LOG 042mre
  • 4acdbaccmission 042: memory comparison old vs ce6f2e0a (stopped: warm VmHWM higher), reportmre
  • d0f620d6mission 042: re-vendor Hybriel ce6f2e0a (plugins incl. mpackdb; bin runtime built from the same archive, git-ignored), compact=false keptmre
  • 5bd14e12mission 040: theme 76f99f6 gates + E2E green; 44 px fixes (skeleton row, type-word, genre-link/pill); README, reportmre
  • 77cfa45cmission 040: partial report (theme/modal/pagination re-copied, tilelist onPage, 44 px taps; gates new + E2E pending)mre
  • 4b14822fe2e-theme: menu marker by colourmre
  • 09780f4emission 040 WIP: theme, modal, pagination, tokens re-copied from layouts 76f99f6; tilelist uses onPage; tap sizes 44 px for tracker's own small buttons; tests/e2e-theme.mjsmre
  • fb80bb8chotfix: open the 5 show stores without compaction (compact = false) — compact-on-open left another handle on stale offsets, every read gave a bare Number (hybriel mpackdb refresh after a shrink); live down 2026-10-20 05:11mre
  • e00d3bf7paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
  • a8c7f234tracker#36 (mission 039): tools/tmdb-check.hl survives a dropped connection (on Error, asked again, failed lines) and resumes with --from N; tests/tmdbcheck.mjs 6/6 against a fake TMDBmre
  • 9c230516mission brief w39mre
  • 3609121dmission 038 docs + report (quota stop): README/kinds.md for #43 #42 #36, STATUS, LOG; HEAD browser gate 374/8 in the in-app daily run block (hour-boundary suspected, rerun pending), other gates green; #36 real run needs TMDB_READ_TOKENmre