gitoria
All repositories: gitoria
3.8 KB
# Report 010 — re-vendor f9614007 + route marker — worker V6, branch w10-revendor-197 (NOT merged/deployed)## Vendorbin/ (git-ignored) from hybriel native/zig-out (static build 21 Oct 18:48 = f9614007; master has since only moved on in plugins/markdown, which this repo does not vendor):- bin/hybriel 9d957fed77d0bd7f0bfeb3b90beb358b524d24d555f63578d3340ecd63706b65 (was 60fa02f3…)- bin/hlc.o cf4fb7d3e37f7aa59b9124aa1bd1a97fb929688870ee5c7ae1c718621793f65d- bin/libhlrt.a 868266c424b96cb71fb937ef8d97c601164bf5e0b4fc422e589a44fb1944babb- bin/hlrt/ replaced from zig-out/lib/hlrt. plugins/ core crypto data fetch fs http http1 mpackdb proc time web replaced whole from hybriel master (same 11 dirs).## Gates (ports 8740–8750, own cold HL_CACHE_DIR; logs atlas-evidence/V6/)- OLD (main 6bd7fb3, old bin): browser 221 passed / 0 failed (old-gate.log).- NEW (f9614007): 221 / 0 three times (new-gate1/2/3.log; run 3 redone because the first background job was stopped by the time limit); `grep TypeError` in all three: 0 — the #190 MainMenu TypeError did not appear. check-theme 0 problems (47 files).- Final tree (with the new server-HTML check, 4 more checks): **225 passed / 0 failed** (final-gate.log, run after the last code change; the 4 extra are the server-HTML checks).## Route marker (#197) — the stopgap STAYS (the route cannot tell here)theme/shell/main-menu.hl re-copied from layouts 0bcc629 (verbatim). gitoria's menu is ONE item, "Repositories", with an ABSOLUTE href (publicUrl + '/': a repo address links back to the main one), and the pages /code, /pulls, /releases … are not below '/'. The shell's route gives {path} only: it never equals the absolute href, so no page can be marked from the route. Proof: with `current = true` removed (experiment) the new gate check "server HTML …" FAILS on all 4 pages (`[]`, nocurrent-gate.log: 221 passed, 4 failed). So `current = true` is kept (comment in components/main.hl says why) — layouts docs/usage.md allows exactly this ("keep where the route does not tell").- New gate check (tests/browser.mjs): plain fetch of /, /code, /pulls, /releases → aria-current="page", class current, in the server's HTML before any script. It passes with current = true; it fails without it (above). It cannot fail on the OLD code (current = true was already server-side there) — the old code is not the point; the point is the marker survives the new shell.- Possible later change (not done): a main-menu that compares the path of an absolute href / or a per-host menu — layouts' file, not changed here (theme is vendored verbatim).## E2E (lisbeth Chrome, one existing about:blank tab, `flock -o` so the servers the script starts do not inherit the lock fd; tunnel started outside; tests/e2e-real.mjs unchanged)- old (wt-old = main) and new, each 390 + 1280, signed in and out: **0 console errors; 25 measurements, 0 taps<44 / overflow; MENU MARKER 11 checks, 0 failed** on both (e2e-old.log, e2e-new.log): the marker is on every page and survives a real click on the item (to home), header at 1280, phone sidebar at 390, one current link, accent bar (box-shadow). No flicker in the shot sequence (marker present on first paint after each navigation).- Shots: atlas-evidence/V6/{old,new}-{390,1280}-*.png (27 pairs; byte differences only from timestamps/ids) and {old,new}-menu-390-code-sidebar.png, {old,new}-menu-1280-home-after-click.png. Looked at new-menu-390-code-sidebar (sidebar open on /code: "Repositories" with the left accent bar, highlighted) and new-menu-1280-home-after-click (header: Repositories with the bottom accent bar after the click; page content intact).- "The marker moves" cannot be shown: one menu item.## CleanupTunnel killed, servers stopped, ports 8740–8759 checked empty, data store and worktree wt-old removed.## Deploy-ready: yes (code + vendor; not deployed). Merge the branch; bin/ must be vendored on the target as in earlier re-vendors (git-ignored).
Branches
- f1-broken-json
- f2-api-bugs
- gp-gate-ports
- heap-revert
- hl25-records
- ident-chooser-selector
- mainmain branch
- p51-public-pr-reads
- records-1112
- s25-no-session-on-login-error
- v59
- w52-person-approval
- w52b-approval-followup
- w52c-header-phone
- w53-pulls-speed-pr
- w54-repo-rename-pr
- w55-rename-org
- w56-owner-members
- w62-pr-close
- w63-force-push
- w64-org-slash
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