gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2c95ac462c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker2c95ac46/missions/BS1-bootscan-000.md

2.8 KB

  1. # BS1: the 4 x 000 near every deploy swap — find which boot-scan step blocks the event loop
  2. Finding (Tracker, deploys DP67/69/70, HM50, AP52): during each deploy swap, 4 requests from outside get no answer (nginx 499 after 15 s); each ends within 1 s of a boot-scan phase end (standby episodes, main episodes, search index, people). Hypothesis (unproven, HM50 report): the last step of each scan phase blocks the event loop 25-33 s. This is a bug in the live app (visitors get no answer during deploys).
  3. Task: prove or refute the hypothesis with measurements, find the exact step(s), and if the cause is in tracker code, fix it the language's way (e.g. smaller slices / yielding as the existing job-slice pattern does); if the cause is inside Hybriel (runtime/mpackdb), STOP with a minimal repro and timings for Anton, no workaround.
  4. ## Read first
  5. WORKER-RULES /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (fully); /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md; docs/CODE-ORDER.md; README.md sections about boot/warm start and jobs; reports/T17-boot.md, reports/ST1-stalls.md, reports/SL1-slices.md, reports/044-jobs-slices.md; deploy.sh; missions/AP52-day52-rows-routes-style.md and /media/STORAGE/claude-scratch/tracker/AP52/REPORT.md + REPORT-B.md (copy recipe, probe method, where the 000s were). Hybriel source at day52: `git -C /media/STORAGE/projects/hybriel show 77cfca31:<path>`.
  6. Fixed rules: no hand-written JavaScript; Hybriel gap = STOP with repro.
  7. ## Steps
  8. 1. Real-data copy (6.6 GB, recipe as AP52: storage only from /media/STORAGE/deploy-backups/tracker.worldapi.org-20261108-1302.tgz, no posters/profiles/.env/sessions, jobs as in live main boot; delete it at the end). Worktree: `git worktree add -b bs1 /media/STORAGE/claude-scratch/tracker/BS1/wt main`.
  9. 2. Start main on the copy (port 8717; check `ss -ltnp`; never 8700). During boot, probe a cheap page every 0.5 s with a 15 s timeout and log latencies; log the boot-scan phase markers (existing log lines; add temporary timing logs in the worktree only if needed). Find the windows where the probe stalls and which step runs then.
  10. 3. If tracker code: fix, prove on the copy (no probe >2 s during boot, same ready time ±10 %, same pages), run all 11 gates (deploy.sh GATES, LC_ALL=C, under `flock /media/STORAGE/claude-scratch/tracker/gates.lock`, same port; starts wait >=120 s), commit on bs1. Remove temporary logs before committing.
  11. 4. Stop everything (list processes). Report /media/STORAGE/claude-scratch/tracker/BS1/REPORT.md: stall windows with timestamps and the step for each, cause, fix or repro; end with <=8 lines. Do NOT merge or deploy; no tickets, no LOG/STATUS.
  12. ## Limits
  13. Scratch only /media/STORAGE/claude-scratch/tracker/BS1/. No loreana Chrome needed. maxUsd 4; ~60 requests. The two workers run at the same time: gates under the shared flock only.

Branches

Latest commits

  • 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
  • 019d5cedMerge branch 'records-1110' into mainTracker
  • f88ae8b9|||PR records: day56 toggle live, reviewTracker
  • b6b3bb4dMerge branch 'ap56e' into mainTracker
  • 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker