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
- 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
- f0e7ff8cdeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
- fe5f707cgitoria 010: report, mission, comment on why current = true staysmre
- 9705ca86gitoria 010: gate: menu marker in the server HTMLmre
- 8cff663agitoria 010: main-menu.hl from layouts 0bcc629 (route marker)mre
- 359c79f7gitoria 010: re-vendor Hybriel master f9614007 (plugins whole, bin/ git-ignored)mre
- 6bd7fb3cgitoria 009: theme re-copied from layouts 76f99f6 (menu marks the current page), current = true on the menu item, e2e marker checks, reportmre
- 44de915cidentkit: refuse a taken ident port, cold-start deadline, abort on dead ident, clear no-code error (as notes)mre
- 2bf5343egitoria 007: theme re-copied from layouts dbe3de7 (44 px taps), redundant tap overrides dropped, crumbs class, real-browser walk test, reportmre
- 18843648deploy.sh: a gate without a 'passed,' line (check-theme) no longer ends the script silently (grep under pipefail) — print check-theme's summary, as layouts doesmre
- e6dff0cbgitoria#23: report 005, STATUS, LOGmre