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
- 7cfc8ab5a season of more than 150 episodes starts closed on its title page; the phone gate checks itmre
- 59095c59tests/mobile.mjs: the phone gate (390 px touch, tap targets, /franchises paging)mre
- 105309detap targets: every row link, the TMDB/IMDb badges, the widget links, the franchise names and the login-failed link are 44 px high on a phonemre
- f0b86c8efranchises: 40 loose timelines per page (/franchises/page/N) and a merge sort for the names (1,546 timelines: 20 s and 54,000 px before)mre
- b9e841a7Merge branch 'sy-sync'mre
- d1ae2701sync components.hybriel 4922f9c: modal and pagination 44 px targets (vendored copies, verbatim) (SY)mre
- 043624b2theme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
- 05d89fd0deploy: security gate (tests/security.mjs)mre
- 2ae8a47bMerge branch 'sk-sec'mre
- 8fee5d52sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
- 944ad51eSK: report reports/SK-sec.md, LOGsk
- 415487c1SK: import budget per user + id type check, gate checkssk
- 7b8a4f74security audit SK: nosniff + image sandbox headers, face id checks, adult follow, login budget + new session at login, guest-link budget, tests/security.mjssk
- 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