gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit07ab845b07ab845bvendor: Hybriel set-day50 (run() leak fix #335)mre07ab845b/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

  • 07ab845bvendor: Hybriel set-day50 (run() leak fix #335)mre
  • 71b2fa4blog: hybriel#335mre
  • bd94cc7elog: #25 cause found (run() leak)mre
  • 565cb508log: H25 round 1mre
  • 90a0af84log: H25 startedmre
  • 87bd53b8mission H25mre
  • 71a746cflog: day48 livemre
  • bf568e14log: V48 mergedmre
  • 09955dedMerge v48: Hybriel set-day48, theme layouts ce4a0bamre
  • f2a2b0cevendor: Hybriel set-day48, theme layouts ce4a0bamre
  • 5d0834e7log: Apollo model rulemre
  • fe8e5bd5log: #25 sample, V48 missionmre
  • 8580c5d9log: theme fix from Atlasmre
  • 46823d93log: Apollo budget correctionmre
  • f6d32341log: Apollo on budget and #25 nextmre
  • d7184f53log: batch live, #25 evidencemre
  • 5e25e816log: W61 mergedmre
  • aafe330dTidy: drop evidence JSON (kept in scratch), collapse blank linesmre
  • aca1fda1Merge W61: theme from layouts 17e0f03, Views refer to Style rules (gitoria#37 #27)mre
  • 03cb650blog: W61 theme decisionmre