gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitb6b3bb4db6b3bb4dMerge branch 'ap56e' into mainTrackerb6b3bb4d/missions/002-tracker-my-pages.md

2.5 KB

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

Branches

Latest commits

  • b6b3bb4dMerge branch 'ap56e' into mainTracker
  • 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker
  • 7c9ec236|||PR AP56e: re-vendor Hybriel set day56 (source 36ae83a8, bin c1f595a2)Tracker
  • 4b54f6f9Merge branch 'records-audit' into mainTracker
  • cab4a3bc|||PR records: branch audit, PR-onlyTracker
  • 641e1c4cMerge branch 'records-dp71' into mainTracker
  • 85a6e9f5|||PR records: DP71 checked in ChromeTracker
  • f5be5f18records: gitoria PR-only planTracker
  • 46a37036records: DP71 liveTracker
  • 3bcb7039Status/log: DP71 in progressTracker
  • 5b3a5693Log: SR1b merged via PR 2, DP71 startedTracker
  • 783957c2Merge branch 'sr1-search' into mainTracker
  • 792b9652README: search results come from the routeTracker
  • fd8570b1|||PR search: one server exchange per keystrokeTracker
  • e8f5cbcaLog: SR1 result, SR1bTracker
  • 8ad275a4Log/status: tracker 68, SR1Tracker
  • f5a06a0fLog: gitoria push setup, SR1Tracker
  • d6b109baMission SR1mre
  • 608b7558Log: FF1 merged via PR #1mre
  • 2939d94cMerge branch 'ff1-gate-failfast' into mainTracker