gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchrecords-dp75ba4d1a7d2|||PR records: later steps checked, branch auditTrackerrecords-dp75b/missions/CL1-crash-loop.md

2.9 KB

  1. # CL1 — live crash loop (tracker.worldapi.org)
  2. Task (Apollo's GO, 2026-10-31): find the cause of the live restart loop and the smallest fix that needs NO code deploy.
  3. Tracker's reading (unconfirmed): it is TR7 (Hybriel runtime killed by SIGPIPE when a TLS peer resets during fetch); confirm or refute on live.
  4. ## Read first
  5. - /media/STORAGE/projects/WorldAPI/worldapi-conductor-discontinued/WORKER-RULES.md (fully)
  6. - /media/STORAGE/projects/WorldAPI/worldapi-conductor-discontinued/missions/TR7-tracker-exits.md and that folder's LOG.md lines 640–860 (grep TR7, standby)
  7. - tracker repo: deploy.sh (standby hand-over), branch tr7-exit (the repro), README sections on jobs/env vars only
  8. ## Facts so far
  9. - byrodin: `ssh -o BatchMode=yes byrodin "docker ..."` works without sudo. Live dir /CONTAINERS/projects/tracker.worldapi.org (docker-compose.yml). Container tracker.worldapi.org (45008): 394 restarts at 15:3x CET, docker exit 0 (dockerd exitCode 141 in TR7), each boot ~165 s with 503 meanwhile. Standby tracker.worldapi.org-standby (45018, profile "standby", jobs off) exited 143 since 2026-10-25.
  10. - Hybriel master 6d2ca454 fixes SIGPIPE, but it reaches the tracker only by re-vendor (blocked, not your job).
  11. ## Do (read-only on byrodin)
  12. 1. Restart rate now (two samples of RestartCount some minutes apart), `docker logs --since` around the last exits, `docker events` / dockerd journal if readable: exit code and what ran just before (which outgoing fetch: TMDB/TVmaze sync, photo backfill, art backfill?).
  13. 2. Locally, in your scratch: does the runtime inherit SIG_IGN for SIGPIPE? Test with the tr7-exit repro started under a wrapper that ignores SIGPIPE (e.g. `sh -c "trap '' PIPE; exec <runtime> ..."`), compared with the plain start (expect 141). Also check whether the vendored runtime resets the SIGPIPE disposition itself.
  14. 3. Options, each with evidence and exact change: (a) compose `command`/entrypoint wrapper that ignores SIGPIPE; (b) env var or compose setting that turns off the triggering job; (c) start the standby again — check first how nginx routes to 45018 (backup upstream?) and whether two processes on the same storage are safe outside deploy.sh's short overlap.
  15. 4. Change NOTHING on byrodin: no compose edit, no restart, no standby start, no nginx edit. I decide after your report.
  16. ## Rules
  17. - Scratch only: /media/STORAGE/claude-scratch/tracker/CL1/ (worktree via `git worktree add`, logs, builds). Nothing in /tmp, /home/mre or projects/.
  18. - Ports: check `ss -ltnp` first; use 8701–8719, Tracker's slot (8700 is caramboleyo's jukebox).
  19. - No live table files, no .env copies. Read-only commands on byrodin.
  20. - Stop everything you started (processes, servers, curl loops) and list them in the report; remove your worktree with `git worktree remove`.
  21. - Budget: Sonnet, about 40 API requests. If it gets longer, stop and report what you have.
  22. ## Report
  23. reports/CL1-crash-loop.md in the tracker repo (≤60 lines: cause with evidence, options ranked with exact commands/diffs, what you started/stopped), plus a short final message.

Branches

Latest commits

  • a4d1a7d2|||PR records: later steps checked, branch auditTracker
  • e070e16fMerge branch 'records-dp75' into mainTracker
  • 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
  • bfc4ea4dMerge branch 'ap62' into mainTracker
  • 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker
  • b9c7c3c8Merge branch 'records-dp74' into mainTracker
  • 85cfb4ae|||PR records: AP61 day61, DP74 liveTracker
  • b1496147Merge branch 'ap61' into mainTracker
  • 2047955bMerge branch 'u12-gateports' into mainTracker
  • c8da40f3|||PR AP61: re-vendor Hybriel set day61 (source a05af47c, bin a11042e5)Tracker
  • 4e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker
  • 0b86324aMerge branch 'records-dp73' into mainTracker
  • 9ce5f59b|||PR records: DP73 live 613ae0e; deploy.sh keeps 2 backupsTracker
  • 613ae0ecMerge branch 'bs3' into mainTracker
  • 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
  • 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
  • 310613f1Merge branch 'records-dp72' into mainTracker
  • 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
  • c41587d2Merge branch 'bs2' into mainTracker
  • 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker