tracker
All repositories: gitoria
1.6 KB
// tests/paths-m026.hl — GATE TOOL for mission 026 (tracker#31): the two paths that CREATE titles, run against the gate's storage// with the app STOPPED (hybriel#21) and the fake TMDB (the gate's env): each must find the title we have — after the merge, the// keeper — and add nothing; only a title we really lack is added. Prints one `path …` line per check (tests/browser.mjs reads them):// search import (search.hl importTitle) of tv 1301 and movie 1303 → created=false, the keeper's path// filmography fill (people.hl personFillStep) of TMDB person 3301, whose credits are tv 1301, movie 1303 and the new movie 1304// → added=1, the person's credits point at the keepersimport { env } from 'hl:proc'import { importTitle } from '../lib/search.hl'import { personFillStep } from '../lib/people.hl'import { personsTable, showsTable, showById, titlePath } from '../lib/shows.hl'r1 = importTitle('tv', 1301)console.log('path import tv 1301 created=' + r1.created + ' path=' + r1.path + ' error=' + r1.error)r2 = importTitle('movie', 1303)console.log('path import movie 1303 created=' + r2.created + ' path=' + r2.path + ' error=' + r2.error)let pid = nullfor (p of personsTable.find(null, null)) { if (p.tmdbId == 3301) { pid = p.id } }let steps = 0let last = { done = false }while (pid != null && !last.done && steps < 10) {last = personFillStep(pid)steps = steps + 1if (last.error != null) { last = { done = true error = last.error } }}credits = []if (pid != null) {for (c of personsTable.fetch(pid).shows) { credits.push(titlePath(showById(c.show))) }}console.log('path fill person 3301 steps=' + steps + ' added=' + last.added + ' error=' + last.error + ' credits=' + credits.join(','))
Branches
Latest commits
- 9d686bb3Tracker: CL1 reviewedmre
- b8bba562CL1: crash loop report (SIGPIPE confirmed, trap wrapper option)mre
- 298785f2Tracker: CL1 startedmre
- 36b22710Tracker: port slot, CL1 briefmre
- a401190fTracker: GO for the crash loopmre
- e195d372Tracker: token pathsmre
- 7f541d11Tracker conductor: CONDUCTOR.md, short STATUS.md, old status + decisions archive to archive/2026-10-31mre
- 8dd423f7README: login.js stays by caramboleyo's explicit rulemre
- d8df1493tracker: standby service on port 45018 and a gap-free hand-over in deploy.sh step 4mre
- 36dd1686ident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
- ff9b838etracker: the Ended status pill uses the same red as layouts (pill danger); gate updatedmre
- 40d9719eTP2: LOG line and report for the tracker pillsmre
- ab3f2ba5tracker: status, genres, TMDB/IMDb/TVDB/TVmaze links and list kinds use the theme's pill; dense season list with the season check centred on its title line; gates for bothmre
- 521061d6tracker header on phones: signed in, the brand fits whole at 360 and 390 px (tighter gaps and side paddings, slightly smaller brand, narrow screens and signed in only); mobile gate checks itmre
- 18114a53tracker: franchises gate waits for the signed-out selector instead of the removed Log in buttonmre
- 08561d73ident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
- 59ef1e4atests/browser: repair 'done' check counts the 404 titles the first run already finished (race: failed=1 when Bulk Film 79 ran before the restart)mre
- 5925fc4dreports/MK-mobile.md: rebase update, gate countsmre
- 6adbc7f0extlink badges: background-clip after the background shorthand (it reset the clip: the pills were 44 px tall); gates check the lookmre
- 8d3b0f20widget: the franchise link's 44 px tap area no longer overlaps the Prequel/Sequel rowmre