tracker
All repositories: gitoria
2.0 KB
# Mission 021 (old 067) — tracker#18: delta sync via bulk change endpoints; refresh show records; summary priorityTicket: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/18`(read fully, the creator's words are quoted). Repo loreana:/media/STORAGE/projects/tracker.worldapi.org. main is beingmerged by another worker (062: t26 → main) — DON'T touch main or tracker-wt26/wt19. Worktree from the t26 head (itrewrote tmdbsync.hl): `git worktree add -b t18 ../tracker-wt18 10bb3f9` (commits on t18 only, never push).Ports 8750–8759. Rules + real-data procedure as mission 002 (old 041). Kill only by PID, never `pkill -f`. Workers never read .env.1. Daily sync: instead of one request per followed show, use TMDB /tv/changes and /movie/changes (since last run,paged; max 14 days, else fall back to the full walk) and TVmaze /updates/shows?since=day; refresh only changed titleswe have. Keep the 04:00 UTC schedule.2. Refresh the SHOW RECORD too (title, tmdbSummary, status, tagline, homepage, genres, poster, ids, type) — today onlyseasons/episodes are refreshed (creator: "some shows changed descriptions and titles and that did not update").3. Summary: `summary` = the creator's own text, never written by the sync; TMDB text → `tmdbSummary`, TVmaze →`tvmazeSummary` (HTML stripped). Pages show summary > tmdbSummary > tvmazeSummary. One-time: clear `summary` where itequals the old tmdbSummary exactly (migrated copy) — report how many.4. Gate (fake TMDB/TVmaze change feeds): changed title refreshed (title + summary), unchanged untouched, creator'ssummary kept, >14 days → full walk. Full gate green. Real data on a copy: requests and duration of one delta run vsthe old full run, number of cleared summaries, screenshots of a refreshed show looked at.5. README + STATUS; commit on t18.## Report (short) — ALSO to reports/021-tracker-delta-sync.mdCommits, files touched (merge notes), gate + last line, numbers, open points. Foreground only, never wait for notifications.
Branches
Latest commits
- 5965963adeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
- 9b3828aemission 046a: report, LOGmre
- 4b37356emission 046: franchise seed supersedeCollections reads the curated timelines once (10 s one-tick block at the end of boot)mre
- ac6268e3mission 046a: re-vendor Hybriel 528bc89f (integration 6): plugins mpackdb/time/web (bin/ git-ignored)mre
- 322b3293mission 046: photoQueue guard for non-row fetch results (damaged persons index)mre
- e5b99aecmission 046: photoQueue in slices (people.hl photoQueueStart/Step, jobs.hl photoTick), tests/photoqueue.hlmre
- 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