gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commite3f85afbe3f85afblog: commit mention slipmree3f85afb/reports/V48-REPORT.md

4.7 KB

  1. # V48 — re-vendor gitoria to Hybriel set-day48 + theme from layouts ce4a0ba (gitoria#25 prep)
  2. Branch v48 (worktree ../gitoria-V48), one commit. Nothing merged, pushed or deployed. LOG.md and STATUS.md untouched (the conductor writes those).
  3. ## What the new layout needs
  4. - set-day48 (SOURCE b6a8f429, all 135 SHA256SUMS entries OK) has the same tree as set-day39. The only new files are runtime/heapsnapshot.hl and lib/hlrt/heapsnapshot.hl. The "new layout" (bin/es, bin/hybriel-native, bin/hybriel.inputs.json, top-level runtime/, .so-only plugins/) was already there in day39.
  5. - The app runs `bin/hybriel` (es and hybriel-native are symlinks to it). runtime/ is not needed next to bin/: the binary carries its runtime. Since #326 (PLUGINS_AND_RELEASES §6, SPEC "lib/<sha>/") it uses a neighbouring libhlrt.a/hlc.o/hlrt/ only when their hashes match its own manifest. The set's lib/ matches, and `--build-only` prints no warning.
  6. - The scheme is unchanged from V39. bin/ = the set's bin/hybriel + lib/ contents. Plugins = `git archive b6a8f429 plugins/<p>` with the set's .so on top, all byte-identical. New plugin: heap (hl:heap, no .so). Before the change, gitoria's plugins equalled the V39 vendoring exactly (no local edits).
  7. - Binary sha256 660a9524ce21bf3e3d4d6d7693252392d2e3a362780c382239b718ece2fc6cd0 (static). The .so files need at most GLIBC_2.36 (libmpackdb), which debian 12 has.
  8. ## Deploy / image
  9. - Dockerfile (debian:12-slim + libssl3, ca-certificates, git, openssh-client), docker-compose (`./bin/hybriel project.hl`, bind mount) and deploy.sh (rsync of the whole folder minus storage etc.) already ship bin/ and plugins/. No change is needed.
  10. - Note: deploy.sh syncs without --delete, but no plugin file was removed and the bin/ file names did not change. A stale old file cannot win anyway since #326.
  11. - First start on live: mpackdb rebuilds the indexes of legacy stores once on first open (mission 588), and the build cache is cold (~35 s here).
  12. ## Files changed
  13. - plugins/ (fetch, mpackdb, web changed; heap new), theme/shell/{app-sidebar,content-first,list-first,three-pane}.hl (layouts ce4a0ba), README (V48 entry, theme note), lib/repos-helpers.hl.
  14. - The one .hl change is `tabOfPath = (String path)`. The cause: with day48, components/repo.hl's `tab` (from route.path through the imported helper tabOfPath) was no longer re-derived after a client navigation, so the Readme tab stayed marked. That made the browser gate fail 264/2 ("chain … the marked tab follows", "Code stays marked").
  15. - Bisect: day39 runtime + new theme gave 266/0; day48 runtime + old theme gave 264/2. So it is the runtime, not the theme.
  16. - Minimal repro: .scratch/V48-route-tab (run.mjs + app/). On day39 an untyped helper follows the route. On day48 only the inline form and the typed `(String path)` helper follow. The SPEC purity rules (day41+, missions 575–578) say "Builtin calls require a proven plain receiver: String/Number/Boolean parameters … Untyped … do not qualify". I copied that shape; with it the browser gate went from 264/2 to 266/0.
  17. ## Gates (LC_ALL=C, ports 8720–8737 + 8738 for real data, final tree), all 0 failed
  18. check-theme 86 files 0 problems · create-api 47 · signin-return 3 · browser 266 · security 82 · private 158 · ident-access-gitoria 30 · apps 95 · pull-numbers 48 · pull-ssh 20 · app-token 42 · reviews 98 · events 52 · pr-page 61 · status 61 · limits 53 · status-keyed 13 · member-merge 82 · push 46 · ssh 44.
  19. Real data: a copy of backup 20261106-2143 (19 repos), signed in as az5b2 and signed out. `/`, `/api/repos`, repo page, code, a file, branch/main (commits), a commit, pulls, a PR page (kunibert-proof #1), releases and settings all returned 200 for gitoria and kunibert-proof. This ran before the tabOfPath typing, which affects only the browser re-derivation. The copy is deleted.
  20. ## DOCS
  21. HL-PRIMER/SPEC (purity contracts, §lib/<sha>/), PLUGINS_AND_RELEASES §6, COMPONENTS "route" (#197), fetch/mpackdb READMEs, missions 603/604.
  22. - Gap: COMPONENTS says standing levels "are given the new route in place … and repaint". It does not say that a member derived through an untyped (therefore impure) imported helper silently keeps its old value after a navigation. This was neither a build error nor a warning; only the gate caught it. For Arachne/Anton: other apps with route-derived menu marks through untyped helpers are likely hit the same way.
  23. ## Open risks
  24. - Other untyped helpers feeding browser-side derivations may now stay at their server value after navigations. The gates found only this one in gitoria.
  25. - No lisbeth-Chrome proof was done (the brief said headless gates only).
  26. - Stopped: every gate server/Chrome via the gates' own PID cleanup, and the real-data server (PID 3087627 and its second run) by SIGTERM. Nothing of mine listens on 8720–8739.

Branches

Latest commits

  • e3f85afblog: commit mention slipmre
  • 4d1a4cf4log: #25 numbersmre
  • 1af0a60ddocs: H25 run() correctionmre
  • 8c8ba2f1log: PR flow announcedmre
  • fa00cd35log: Kunibert pings provenmre
  • 3a68cfaclog: components decisionmre
  • 87de8e31log: Kunibert connected to 9 app reposmre
  • c22aff69log: PR-only rollout startedmre
  • 25309981log: STOP and paused workers 2026-11-08mre
  • 5286803alog: worker briefs and reports of 2026-11-08mre
  • 85c86605log: 2026-11-08 Arachne on list shapemre
  • cb634512log: 2026-11-08 keyed lists livemre
  • 07c98d4aLists: keyed rows with @id, remove(id) and one whole-list assignment instead of hand-rebuilt loopsmre
  • 0db0d81elog: 2026-11-08 day52 live, W30 startedmre
  • b05f6d92tests/status: the gate's 3 s app token expired during the restart; it lives 60 s like status-keyedmre
  • 1e8f4f0avendor: Hybriel set-day52 (fault-path leak fix #335, keyed rows #331)mre
  • f5f0fb7blog: 2026-11-08 day50/#29 live, H25 correction, V52 startedmre
  • dc77fb95main: offline note from __hlOnline, tick removed (#29)mre
  • 37a86d93tests/reviews: seeded fake hook's DNS failures are not server errors (flaky gate)mre
  • 07ab845bvendor: Hybriel set-day50 (run() leak fix #335)mre