gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmaina4a33081Merge branch 'w63-force-push' into mainGitoriamain/missions/G25c-growth-hunt.md

2.6 KB

  1. # G25c — find what makes live gitoria memory grow (gitoria#25)
  2. Task line (ticket title): "README loads slowly again: the earlier hl:web fix was never deployed".
  3. Ticket: https://tickets.worldapi.org/gitoria.worldapi.org/25 (read it and reports/G25-mem-sample-2026-11-07.md, reports/H25-REPORT.md, reports/V52-REPORT.md first).
  4. ## Facts (Gitoria, measured)
  5. - Live runs Hybriel set-day52 (bin/ in this root, not in git). Live RSS of the app process: 181 MB (14:53) → 259 MB (18:13) on 2026-11-08, ~24 MB/h; page times flat (~0.25 s). On 2026-11-07 (day48) RSS reached 1.58 GB in 12 h and pages slowed to 0.5–4 s.
  6. - H25's claim "hl:proc run() leaks" was WRONG: its repro used a rejected run() form, so it measured an error path (fixed in day52, hybriel m615). run(['git',…]) is flat. So the cause of live growth is OPEN.
  7. - Captured inputs (use these; do not explore byrodin): /media/STORAGE/claude-scratch/gitoria/g25c/access-gitoria.log (nginx access lines for gitoria hosts, last ~400k lines of the shared log), mem.log (RSS samples every 10 min, columns: time pid rss(kB) commit-page status/time readme status/time). The live container logs show only session sweeps; no errors in 4 h.
  8. ## Work (git worktree `../gitoria-G25c`, branch g25c from main; copy main's bin/ into it; never edit LOG.md/STATUS.md; ports 8720-8739 only, `ss -ltn` first, port 8700 is taken: use GITORIA_GATE_* variables as reports/V52-REPORT.md describes)
  9. 1. From the access log: the request mix per hour in the 14:53–18:13 window (path classes, status codes, user agents, bots, ssh/git smart-HTTP, API, websocket/SSE, 4xx/5xx). Which classes are frequent enough to explain ~24 MB/h?
  10. 2. Replay each frequent class against a local day52 instance with a copy of real-like data (as V50/V52 did) several thousand times and measure RSS per class (warm-up first, then slope in bytes/request). Include error paths: 404s, bad slugs, unauthenticated API calls, HEAD requests, long-lived connections that the client drops, bot paths.
  11. 3. Name the class(es) that grow, with numbers. If the growth is in the framework: a minimal .hl repro in .scratch/ and stop there (no workaround). If it is in gitoria's .hl: a fix only if small and clearly right, with a test; otherwise describe it.
  12. 4. Commit only a fix/test (subject without "#N"). Do NOT merge, push or deploy.
  13. Read /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md fully first. For .hl work also /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md and docs/CODE-ORDER.md.
  14. ## Report
  15. reports/G25c-REPORT.md (≤30 lines): request mix, per-class bytes/request table, the culprit (or "none found locally" with what was ruled out), repro path, fix or next step. Then stop. Budget ~60 requests.

Branches

Latest commits

  • a4a33081Merge branch 'w63-force-push' into mainGitoria
  • 52576cb0force push: defer on a failed scan, one-to-one pairs, docs (#56)mre
  • 5a7b3e68|||PR a force push keeps the same pull request (#56)mre
  • cc1be2d6Merge branch 'w62-pr-close' into mainGitoria
  • 6e03be0apull state: keep the resync marker until the sync ran (#56)mre
  • 93bdd26cpull state: wait for a claimed row, resync when it stays busy (#56)mre
  • e53d284bpull state: stop on a failed branch scan, claim the row on writes (#56)mre
  • d8608224close and reopen: keep a manual close against sync (#56)mre
  • ffb60746|||PR close and reopen pull requests (#56)mre
  • fe209ffeMerge branch 'w56-owner-members' into mainGitoria
  • fa0754c8|||PR repository owner transfer and members API (#55)mre
  • 8862e537Merge branch 'w55-rename-org' into mainGitoria
  • 014d2b7fOne immutable readers snapshot per move for the left-organization event (#53)mre
  • 1859d506Decide who hears a repo left its organization by its readers before the move (#53)mre
  • 499f25f2Review fixes for the Settings organization move (#53)mre
  • ed3b922b|||PR move a repository into an organization in Settings (#53)mre
  • 74ec2af8Merge branch 'w54-repo-rename-pr' into mainGitoria
  • 9f7ce8d8Preserve rename compatibility and live page titlesmre
  • c3d95b6e|||PR separate names and addresses, rename repositories in Settings (#53)mre
  • ce08920dMerge branch 'w52c-header-phone' into mainGitoria