gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitfb9e7554fb9e7554gitoria#45: browser gate: a /pulls title links to the PR pagemrefb9e7554/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

  • fb9e7554gitoria#45: browser gate: a /pulls title links to the PR pagemre
  • f7198131gitoria#45: tests/pr-page.mjs gatemre
  • 483141d0gitoria#45: Settings shows the Apps heading only to the ownermre
  • e2eff8f6gitoria#45: the PR page /pulls/N with reviews, threads, verdicts, conversation, comment, reply, resolve and Review againmre
  • 7a602839gitoria#45: raiseEvent can send to one app only; people's comments, replies and resolving in reviews.hlmre
  • 0a46bf7dgitoria#47: apps API contract v1.3 (status read route, statuses + required on the pull)mre
  • 3373f7c3gitoria#38: push API contract v1.2.1, reviews, worker briefs and logmre
  • 34143d2cgitoria#46: closing brace of appComments lost in the mergemre
  • 54927c9cgitoria#46: PR statuses and required checks before merge (merge w46-status)mre
  • 187e1871gitoria#46: badges without decorative bordersmre
  • 6b022798gitoria#46: tests/status.mjs in GATESmre
  • c6162f00gitoria#46: status badges on /pulls, Required before merge in Settingsmre
  • e5a0b64egitoria#46: PUT statuses/<sha>, required contexts block the merge on the servermre
  • 26a140e3gitoria#44: reviews, inline threads, replies, conversation for apps (merge w44-reviews)mre
  • 888dbf87gitoria#44: unknown API paths answer the contract's JSON 404 and sit above the page routesmre
  • ea587d90gitoria#44: reviews with inline threads, replies, resolve and the PR conversation for apps (lib/reviews.hl, tests/reviews.mjs)mre
  • 49533a50gitoria#43: signed events to connected apps (merge w43-events)mre
  • 1a1e87d5gitoria#43: the sender never writes the apps row; Settings shows the newest deliverymre
  • cd442066gitoria#43: app-auth unit test reads the apps table from its new filemre
  • 5dccbe38gitoria#43: in-flight rows are left alone by the other process; gate in deploy.sh; READMEmre