gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit03b5bb0803b5bb08W39 report to reports/, drop scratch repro, mission + logmre03b5bb08/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

  • 03b5bb08W39 report to reports/, drop scratch repro, mission + logmre
  • 154d333fMerge w39-create-api: POST /api/repos with a user token (#39)mre
  • 149dd512Rewrite W39 reportmre
  • e5385075Expect 401 for POST /api/repos without a tokenmre
  • 1a76055cDocument repository creation APImre
  • 4d779b3bAdd create-api gatemre
  • 88563122Add POST /api/repos for user tokensmre
  • b00860e3Create repositories with member checks in createRepoInmre
  • 0a38f236Report repository creation API blockermre
  • b5f72187Record malformed JSON blocker for repository creationmre
  • a2ae8302logmre
  • 6947cd58logmre
  • 2175e48clogmre
  • 40eb3ca1gitoria#38: review package, logmre
  • 06a5a50egitoria#38: deploy b8252ca, logmre
  • b8252ca0gitoria#46: W46b report, logmre
  • 50093aafgitoria#46: statuses keyed by app + context (merge w46b-keyed)mre
  • dd0267edgitoria#46: fix a label in the keyed gatemre
  • b1dcb580gitoria#46: statuses keyed by app + context, required = app + context, old rows still readmre
  • 2287363egitoria#47: W47 report, logmre