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/G2-hydrate.md

1.7 KB

  1. # G2 follow-up — "phone 390: no such repository" never hydrates (deploy refused)
  2. STATUS: root cause narrowed, fix NOT yet proven (WIP, quota stop).
  3. ## Found (instrumented copy of the gate, tests/dbg-browser.mjs, 12 runs on e5404b9: 3 failures = 25 %; failure only at this check)
  4. At the failure the page is `readyState complete`, SSR DOM there (#missing), but `window.__hl` is UNDEFINED: the inline module `window.__hl = await hlNew(...)` never finished.
  5. Network (CDP) at that moment: every request answered 200 and finished (hl-runtime, client, main.hl, 5 theme files, repo.hl — the same set a good load fetches); no pending request, no `error`/`unhandledrejection`, nothing on the console. So hl:web's boot awaits something that never resolves, with no error. Not reproducible alone: 30+40 loads of the same URL at 390 px / iPhone UA / touch / signed in / 10x CPU throttle all fine — it needs the gate's busy Chrome.
  6. Only the missing-repo page is affected (chain with a level whose slot is NOT rendered, page = null); 13 other phone pages, the same chain with a page, never failed.
  7. ## Fix in progress (.hl only)
  8. repo.hl now ALWAYS renders `slot`; the pages render nothing without a repo (`if (hasRepo)`, also code/branch/commit). The browser then boots a normal page on a missing repo. First 3 gate runs with this: the hydration check was green 3/3 (baseline 25 % red); the only red was my own gate check counting `repo-page > *` (an empty page wrapper made kids 2) — gate check changed to count children with text; NOT re-run.
  9. ## Open
  10. 1. Re-run: the check 10x + full gates (browser, push, ssh, theme) after 20:52.
  11. 2. If still flaky: minimal repro for Arachne = main.hl shell, level.hl (parent main, `slot` in `if (flag)` false), page (parent level), load in a busy Chrome.

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