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
- d2e6d26bMerge branch 'records-park55' into mainTracker
- f567f025|||PR records: park #55, no Claude workers ruleTracker
- c21aff6bMerge branch 'records-hm55c' into mainTracker
- 9ba258d3|||PR records: HM55b resultTracker
- 64f2d300Merge branch 'records-hm55b2' into mainTracker
- ae3b80dc|||PR records: HM55b briefTracker
- 7ef3cb3bMerge branch 'records-st55' into mainTracker
- fec2e080|||PR records: STATUS HM55Tracker
- 8e174918Merge branch 'records-hm55b' into mainTracker
- b1ecee57|||PR records: HM55 stateTracker
- 28eab08cMerge branch 'records-hm55' into mainTracker
- d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
- 3059f86cMerge branch 'records-design-rule' into mainTracker
- 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
- d1390692Merge branch 'records-dp75b' into mainTracker
- 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