gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit00517faf00517fafgitoria: shell 404 page for unknown paths (catch-all route, status 404, JSON 404 under /api), 390 gate checksMG00517faf/reports/003-revendor-0f396652.md

3.3 KB

  1. # gitoria mission 003 — re-vendor Hybriel to the shared static build 0f396652 — gates green, NOT deployed, NOT merged (branch wv)
  2. - Vendor: /media/STORAGE/claude-scratch/vendor-0f396652 (bin/ + plugins/ copied whole). bin/hybriel sha256 60fa02f341ffa799b41a3dbd26d76057169f786e20dae0f98bb2ca3c46c39080
  3. (was 21059cc7… = 06617221). bin/ is git-ignored (deployed by rsync); the commit holds the changed plugins (31 files, incl. fs/proc/fetch sources, web/*, Timer.hl).
  4. - Changes: plugins/ (commit 1); docker-compose.yml: `HL_CACHE_DIR=/root/.hybriel/cache` in the named volume `hybriel-cache` + `tmpfs: /tmp:exec,mode=1777` (as tickets; `init: true` was
  5. already there) — `docker compose config` validates; NOT run in a container (static binary, tickets did the same). Dockerfile and deploy.sh unchanged.
  6. tests/: the "server did not come up" waits (identkit, browser, push, ssh) 80×250 ms → 480×250 ms (see Gates).
  7. - Gates = deploy.sh GATES (browser) + push.mjs + ssh.mjs, each with its own HL_CACHE_DIR; OLD = `git archive 18ab71f` + old bin in its own tree:
  8. | gate | OLD (18ab71f, 06617221) | NEW (0f396652) |
  9. | node tests/browser.mjs | 200 passed, 0 failed | 200 passed, 0 failed |
  10. | node tests/push.mjs | 46 passed, 0 failed | 46 passed, 0 failed |
  11. | node tests/ssh.mjs | 44 passed, 0 failed | 44 passed, 0 failed |
  12. tests/short-id-switch.mjs not run (historical, fixed ports outside the range, as in 002).
  13. - Cold start: the app on 0f396652 compiles for ~18 s on a cold HL_CACHE_DIR (warm: 1 s). The gates waited only 20 s, so the first NEW browser run (two gate sets ran at the
  14. same time, loaded machine) died with "gitoria did not come up"; not a Hybriel fault — waits raised to 120 s, the rerun is 200/0. (push 46/0 and ssh 44/0 passed on NEW
  15. before the change, with the old 20 s wait, on a warm cache.) Also: port 8731 in my slot was held by another worker's process (off342), so NEW used 8730/8732–8739.
  16. - Real data: copy of gitoria.worldapi.org-20261019-0539.tgz (storage + .sessions; .env not extracted), tests/realdata-baseline.mjs, OLD tree and NEW tree on fresh copies, same port 8720,
  17. 810 responses each (302 pages ×2, 17 api urls ×2, + 80 writes: faces, HTTPS clone/push, SSH clone/push through the real sshd container). Compared with tests/realdata-compare.py
  18. plus one extra mask (scratch cmp-u.py): the seed's `routes` list is sorted and the new entry `{"kind":"function","pattern":"/__hl/up"}` (new hl:web route) dropped — Hybriel now lists
  19. its own framework routes BEFORE the app's (order only; all routes still answered identically). Result: 791 non-module files (every page, api, git
  20. advertisement, refusal and all 80 writes): 204 byte-identical, 587 identical after masking, 0 different. 19 of 20 browser-module files (`/components/*.hl` and hl-runtime/client JS)
  21. differ as COMPILER OUTPUT (renumbered helper imports, new `hlSites` table, `argCopy`, `node.v.tag` access): not app answers; their behaviour is what browser.mjs (200/0) checks.
  22. No API answer differs. Copies deleted, no sshd container left.
  23. - Screenshots: the gates wrote 22 PNGs to .scratch/ (not committed); I have no image viewer in this session and did not look at them — the checks in browser.mjs measure the pages.
  24. - Hybriel gaps: none hit. Only note: cold compile 18 s (see above), and `/__hl/up` is a new route. Nothing left running (ss: only 8731, another worker's, not mine).

Branches

Latest commits

  • 00517fafgitoria: shell 404 page for unknown paths (catch-all route, status 404, JSON 404 under /api), 390 gate checksMG
  • d9e977f0reports/MG-mobile.md, LOGMG
  • 2f2725actests/browser.mjs: commit-row check (one row, centred date)MG
  • 4df1ea01tests/browser.mjs: MG phone checks (list first, no dead strip, one branch heading, tab grid, commit rows, PR title row, ticket columns, wrapping commands)MG
  • c52424e9gitoria mobile: repo list before the forms, 3x2 tab grid, no duplicate branch heading, ordered commit rows, aligned ticket rows, pull title on its own row, wrapping clone commands, no dead strip under formsMG
  • 3a95252dG3: cache parsed README blocks by sha256 of the text (bounded LRU), reportmre
  • 570138cddeploy: security gate (tests/security.mjs)mre
  • da6b20fcgitoria SG: security audit fixes (uploadMax 0, Secure cookie on https, session rotation at login, nosniff on function routes, no identity in page data) + tests/security.mjs gate + reportmre
  • f98c981fgitoria B1: report wordingmre
  • c6364cedgitoria B1: compact Markdown blocks (one kind flag per block/span, empty and false fields omitted); same rendered HTML, page values -67%mre
  • cd99d2feWIP gitoria#22: always render the repo level's slot (missing-repo boot hang), pages render nothing without a repo; hydration diagnosis in reports/G2-hydrate.mdmre
  • e5404b9breport: commit idsmre
  • 63cfa21ereports/G2-repotabs.mdmre
  • 9b0516fdgitoria#22: mark the tab underline functional (check-theme), chain E2E: serve/measure split, bring the lisbeth tab to frontmre
  • 19bc1df8gitoria#22: all repo pages under ONE layout level (components/repo.hl, hl:web D-CHAIN): a tab click replaces only the page in the slot; head and tab nav stay the same DOM nodesmre
  • 40658417tests/browser.mjs: wait for the page to be live (hydrated) before clicking Merge — a click on the server-rendered button before the client mounted was lost (flaky 'Clashing change' under load)mre
  • 48a6154bre-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • e972e8d7tests: short-id-switch (GITORIA_SWITCH_IDENT_PORT/_PORT) and ssh tunnel (GITORIA_GATE_TUNNEL_PORT) ports from env, defaults unchangedmre
  • f06f5349re-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • c7d3cc87docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre