tracker
All repositories: gitoria
1.4 KB
// tests/seed-tvleftover.hl — GATE FIXTURE for mission 025: written by tests/browser.mjs into the gate's storage while the app is// STOPPED (one process per storage, hybriel#21). A MOVIE carrying a TV answer's fields, like Star Trek: First Contact on the// real data (the #9 sync once asked /tv/<its tmdbId>): TV text in tmdbSummary, status 'Ended', season/episode counts. It is// complete otherwise (`detailsAt` set) — the details repair must still ask /movie/2299 again (shows.hl hasTvLeftovers).import { MPackDB } from 'hl:mpackdb'import { env } from 'hl:proc'storageDir = env('TRACKER_STORAGE')if (storageDir == null || !storageDir.startsWith('/')) { hlError('set TRACKER_STORAGE, absolute') }showsTable = new MPackDB(file = storageDir + '/shows.db', primaryKey = '@id', indexes = ['!oldId'])showsTable.put({adult = false id = 'sh000000000tvfc1' title = 'Gate First Contact' summary = null tmdbSummary = 'A TV show about small businesses.' tmdbId = 2299language = 'en' type = 'movie' release = '1996-11-22' year = 1996 image = null urlSegment = 'gate-first-contact'episodesCount = 0 homepage = null imdbId = null seasonsCount = 0 status = 'Ended' tagline = nulltvdbId = null tvmzId = null genres = [] cast = [] seasons = [] oldId = 'shtvfc1' detailsAt = 1 creditsAt = 1})showsTable.persist()console.log('seed tv leftover: 1 movie with a TV answer\'s fields (Gate First Contact, tmdb 2299)')
Branches
Latest commits
- d714ae42Log/status: AP56 closed out, FF1mre
- a429d088Mission FF1mre
- 03bbfba3Log: AP56c causemre
- 24845fe3Log: AP56b result, AP56cmre
- 6a6d71eaLog: gitoria membershipmre
- 8b842dc8Log + CONDUCTOR: gitoria PR switch-onmre
- 6bb7c20estatus: window 2026-11-09mre
- 5db84974Log: Apollo window GO, AP56b started, BS1 copy removedmre
- e84586a7Mission AP56bmre
- 15917f03Record PR workflow rule (gitoria#50)mre
- 942ac995status: paused workers statemre
- 44b934e5log: respawn cleanupmre
- 03a80097Log: Anton GC A/Bmre
- c7cdef62Log: Apollo STOP, workers pausedmre
- d0c083fbLog: usage stopmre
- c6d464e5Log: Apollo GO backlog, AP56 and BS1 startedmre
- 1eb6f1a1Missions AP56, BS1mre
- 4871f8adLog: AP52 live on day52, browser gate greenmre
- d9bf2988Merge ap52: day52, tracker#58 server argument, #51 modal close rule, #56 keyed season rowsmre
- c4a60ef2Log: RT52 retest passed, AP52 startedmre