gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit46a3703646a37036records: DP71 liveTracker46a37036/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

  • 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
  • c934361a|||PR tests: gates fail fast when the app exits during startmre
  • 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