tracker
All repositories: gitoria
2.8 KB
# BS1: the 4 x 000 near every deploy swap — find which boot-scan step blocks the event loopFinding (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).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.## Read firstWORKER-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>`.Fixed rules: no hand-written JavaScript; Hybriel gap = STOP with repro.## Steps1. 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`.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.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.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.## LimitsScratch 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
- 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
- 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