tracker
All repositories: gitoria
1.7 KB
# Mission 016 (old 060) — tracker#27: short ids for every movie, series, show and person, shown below the posterTicket: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/27`App loreana:/media/STORAGE/projects/tracker.worldapi.org (main f14db67, deployed, clean). Rules + real-data procedure asmission 002 (old 041). Ports 8720–8731. Pure Hybriel. Worktree tracker-wt26 belongs to another worker — don't touch it.Old data: /media/STORAGE/projects/old-tracker/mongo-export/Show.jsonl — field `id` (base62, 5 chars, e.g. 100jh) exists on702 of 9,453 shows; match them via `oldId` (= old Mongo _id) kept by tools/migrate.hl. Persons have none.1. Field `shortId` on shows (movies + series) and persons, unique index across both. Keep the 702 old ids. Everyone else:random 5 chars [a-z0-9], unique, never colliding with the old ones; new records get one on creation (sync, searchimport, filmography).2. Backfill: a background job inside the running app (like the adult backfill 054: yields, resumes) or at start if it isfast enough without blocking pages > 1 s — measure on the copy and choose; report.3. Show it below the poster / person photo (small, muted, monospace). Route `/<shortId>` → 301 to the page.4. Gate: old id kept, new id assigned, unique, new record gets one, shown under poster, redirect works. Full gate green.Real data on a copy: counts (old kept / new / duplicates 0), backfill duration, page times; screenshots 390/1280 looked at.5. README + STATUS; commit on main (commit only, never push).## Report (short) — ALSO to reports/016-tracker-short-ids.mdCommit, gate command + last line, numbers, screenshots, open points. Foreground only, never wait for notifications.
Branches
Latest commits
- 31dcf2admission 045: report, LOGmre
- 9c3971d0tests/persons-skip-count.hlmre
- 4d72e365mission 045mre
- b9cae4c9slices: skip and count non-row values from range(); merge persons pass falls back to iterate; guard testmre
- 3db7dc31merge w44-jobs-slices into w43-trkmemmre
- 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
- 23375c58mission 044: report, LOG, STATUSmre
- c6fd928emission 044: 4096 slices for tables over 200 K rows, 15 ms budget, TRACKER_SLICE_DEPTH for testsmre
- fb057680mission 044: jobs.hl imports mergeLeft (gate found it), mission file, slices benchmre
- 0d6293ebmission 043: mission filemre
- d25bd14amission 044: sliced merge prepare + sliced collections prepare; jobs-dump old/new check + bulk fixturemre
- 633ee210mission 044: sliced table scans (slices.hl, pk-range slices) for the adult/kind/status/art/credits/details-repair queuesmre
- 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