tracker
All repositories: gitoria
2.5 KB
# Mission 002 (old 041) — tracker.worldapi.org#8: /my/ pages, S01E01, years, speedTicket + all comments: `curl -s -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/8`Same setup and rules as mission 001 (old 040) (`missions/001-tracker-my-shows.md`) — read it.App: loreana:/media/STORAGE/projects/tracker.worldapi.org (ssh loreana, wrap in `bash -s`).## Build1. `/unwatched` → `/my/unwatched`, `/schedule` → `/my/schedule`; old addresses answer 301 to the new ones.2. Episodes everywhere as `S01E01` (two digits each): /my/unwatched, /my/schedule rows (replace "Ep 1").3. Show page: "1 episode" singular.4. Year next to show titles wherever titles are listed: `Doctor Who (2005)` (from the show's year/release field).5. SPEED with the real data (the creator's account: 128 follows, 11,692 watches, 231,584 episodes). Now: /my/shows~25 s, /unwatched ~18 s full page load. Target: each /my/ page under 2 s full page load. Load the user'swatched ids once (a map), no per-episode scans of all watches; find out why /my/shows' full render is slow when itsdata part is 0.2 s.6. Gate: extend tests/browser.mjs for 1–4; all green with`TRACKER_GATE_SHOTS=/tmp/w041-shots TRACKER_GATE_PORT=8720 TRACKER_GATE_IDENT_PORT=8721 TRACKER_GATE_CHROME=8722-8726 node tests/browser.mjs`(the gate already takes screenshots when TRACKER_GATE_SHOTS is set — update its page list to the /my/ paths and LOOKat the PNGs yourself).## Real-data check (required)Copy the live data to Loreana: `ssh [email protected] 'tar czf - -C /CONTAINERS/projects/tracker.worldapi.org storage'`into `.scratch/realdata/` (ONLY `storage/` — never `.env` or `.sessions`). Start a dev server on port 8730 withTRACKER_STORAGE pointing at the copy and its own `.scratch/realdata-sessions/`. Create a session there for thecreator's user (users table, ident id `az5b2`) in that COPY's sessions dir, set it as cookie in headless Chrome(cdp.mjs), then load /my/shows, /my/unwatched, /my/schedule and one show page: time each full load, take screenshots,look at them. Delete the copy and stop everything afterwards. Never touch Byrodin's live folder except that one tar read.## Report (short)Files changed, decisions, gate command + last line, the 4 real-data load times, where the screenshots are(/tmp/w041-shots/ and real-data PNGs in /tmp/w041-real/ on Loreana — keep those), open points, Hybriel issues.## Added 2026-10-01- Kill only processes you started, by PID. Never `pkill -f <pattern>` (other workers run the same server command).
Branches
Latest commits
- 3e164b63Tracker: status after CL1mre
- 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