gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit8fee5d528fee5d52sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre8fee5d52/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

  • 8fee5d52sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
  • f0f26c5areports: T18 section (gates, boot-gate, 3x3 table, search + short-id compare)mre
  • 2a8682a1deploy.sh GATES: tests/warmstart.mjsmre
  • 3761338breports/T17-boot.md: handoff (phase table, fix, numbers so far, open proof)mre
  • 52e09eb2boot: sync window 1000 ms (the gates ask for a complete start), README boot-time sectionmre
  • c87149e8tests/warmstart.mjs: the progressive start proven over HTTP (note in the window, 503 short id, after: everything); bootBeginmre
  • 593a6350boot: resumable start-up scan, the server listens first (T17)mre
  • be4890a0reports: H2 hydration audit (no test change needed)mre
  • 1f9c8bf4re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • c1df88eddocker-compose: HL_GC_TABLE_LOAD=62 (tracker mission 048, T16 real-data numbers)mre
  • d0a82867mission 048: report, LOG (HL_GC_TABLE_LOAD=62 measured)mre
  • 2d4be66fre-vendor Hybriel 5df4eb7e (GC: HL_GC_TABLE_LOAD knob, mission 406)mre
  • 99e7c8b9tests: realdata-m035-radii, repro-t38, realdata-060-backfill ports from env (REAL_PORT, REAL_CHROME, REPRO_CHROME), defaults unchangedmre
  • 4625aa22re-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • a6dfd6ecdeploy: person-lookup gate (tracker#46)mre
  • 33ad4bd5Merge commit 'f57f64f'mre
  • 7d38cec4docker-compose: nofile 65536 (default soft 1024 refused boot: errno 24 in fs.listDir, Hybriel 528bc89f)mre
  • f57f64f0mission 046: report, LOGmre
  • 5965963adeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • efe1b485mission 046: re-vendor Hybriel master 60b2817b (integration 8, #203): plugins mpackdb + web (bin/ git-ignored: hybriel, libhlrt.a, hlc.o, hlrt/ from native/zig-out)mre