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
- 34143d2cgitoria#46: closing brace of appComments lost in the mergemre
- 54927c9cgitoria#46: PR statuses and required checks before merge (merge w46-status)mre
- 187e1871gitoria#46: badges without decorative bordersmre
- 6b022798gitoria#46: tests/status.mjs in GATESmre
- c6162f00gitoria#46: status badges on /pulls, Required before merge in Settingsmre
- e5a0b64egitoria#46: PUT statuses/<sha>, required contexts block the merge on the servermre
- 26a140e3gitoria#44: reviews, inline threads, replies, conversation for apps (merge w44-reviews)mre
- 888dbf87gitoria#44: unknown API paths answer the contract's JSON 404 and sit above the page routesmre
- ea587d90gitoria#44: reviews with inline threads, replies, resolve and the PR conversation for apps (lib/reviews.hl, tests/reviews.mjs)mre
- 49533a50gitoria#43: signed events to connected apps (merge w43-events)mre
- 1a1e87d5gitoria#43: the sender never writes the apps row; Settings shows the newest deliverymre
- cd442066gitoria#43: app-auth unit test reads the apps table from its new filemre
- 5dccbe38gitoria#43: in-flight rows are left alone by the other process; gate in deploy.sh; READMEmre
- 8c8805f3merge main (gitoria#42), delivery log and redelivery routes, sweep fixmre
- 5a996ea8gitoria#42: short-lived app tokens, read-only git fetch with them (merge w42-app-token)mre
- afdb0cbfgitoria#43: rename the moved helper (name clash in the browser build)mre
- 15e01e94gitoria#43: tests/events.mjs and its probemre
- 77829b73gitoria#43: signed events to connected apps (deliveries table, sender timer, pull_request events, ping)mre
- b5d696fegitoria#42: app tokens (gat_, one hour), appOfRequest, app token as the git read passwordmre
- 1997e77dgitoria#40: stable PR numbers, refs/pull/N/head, ssh pushes reach the app (merge w40-pr-number)mre