gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchf2-api-bugs26117255|||PR apps API: review comments on files with spaces in their namemref2-api-bugs/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

  • 26117255|||PR apps API: review comments on files with spaces in their namemre
  • b8796cecMerge branch 'f1-broken-json' into mainGitoria
  • 2f2959c5|||PR apps API: broken JSON body gives 400 invalid_json, not 500mre
  • f7c6ca07Merge branch 'ident-chooser-selector' into mainGitoria
  • 691abb8e|||PR tests: find ident identity choice without the removed .choose classmre
  • 16a3530fMerge branch 'heap-revert' into mainGitoria
  • 220a80e0|||PR Remove temporary /__heap route and heap helper; logmre
  • 13f0c342Merge branch 'hl25-records' into mainGitoria
  • a002ecb7|||PR records: HL25 report, heap helper, logmre
  • 2492a55cTemporary keyed /__heap route for the live memory snapshotmre
  • fefaedd2log: tracker PR-only, HL25 startedmre
  • 21aa57calog: parkmre
  • e9f950a8reports: G25c soakmre
  • a7783686log: deploy 9f41ffcmre
  • 9f41ffc1log: W30b mergedmre
  • bef635c1Merge branch 'w30b'mre
  • 15b996a5Org list: keyed rows by @id, newest first, concat instead of hand loopmre
  • c4f6d9e3reports: G25c growth huntmre
  • b88e39f1log: privacy cleanup donemre
  • bfd7826ddocs: neutral example organisation namemre