gitoria

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmain0f6d1592Merge branch 'f18b-shell-session' into mainIdentmain/reports/015-invites-welcome-flake.md

1.1 KB

  1. # Report 015 — invites gate "welcome form" timeout
  2. **Cause: test bug (race), not an app bug.** After "Send code" the invite flow navigates to the server-rendered
  3. /signin/<req>/code page. The gate waited only for `#code` (present in the SSR HTML), then typed and clicked `#verify`
  4. before the page was hydrated. The click became a native form GET: URL `/signin/<id>/code?code=421537`, empty field,
  5. no verify → no welcome form. Evidence (failing run): atlas-evidence/I1/r3.png (code page, empty field, "Sign in"
  6. button), r3-dom.html, r3-console.txt (no console output; URL with ?code=). Flaky: 2 of 4 runs failed on a loaded machine
  7. (load ~6–8), 2 passed. browser.mjs avoids it with `connected()` before entering the code.
  8. **Fix:** tests/invites.mjs waits for hydration (`__hl.socket.readyState === 1`) before typing the code.
  9. **Live affected: no** (the welcome flow itself is fine; browser.mjs covers it: 157/0). Side note, not changed: a human
  10. can't type 6 digits before hydration, but a pre-hydration submit of the code form leaks the code in the URL query; low risk.
  11. Results: invites 44/0 ×3, browser 157/0, apps 107/0.

Branches

Latest commits

  • 0f6d1592Merge branch 'f18b-shell-session' into mainIdent
  • 19868218|||PR ident#39 shell reads its session member instead of a cross-file emitmre
  • 5d1b3fedMerge branch 'v61-day61' into mainIdent
  • 83faeb15|||PR ident: vendor Hybriel day61mre
  • b2572b34Merge branch 'v59-day59' into mainIdent
  • 67cf016d|||PR ident: vendor Hybriel day59mre
  • 600c043dMerge branch 'v58-day58' into mainIdent
  • 365f8c80|||PR ident: vendor Hybriel day58mre
  • 585126e5Merge branch 'f16-setf' into mainIdent
  • 953bf03a|||PR ident setF mirror dropped (hybriel#370)mre
  • a1419d9cMerge branch 'f15-navigate' into mainIdent
  • 3b3e451f|||PR ident#36 navigate to the app instead of location.assignmre
  • e36f4516Merge branch 'f14-online' into mainIdent
  • 2c5eac91|||PR ident#38 online state without probe timermre
  • bf1980f2Merge branch 'v56-day56' into mainIdent
  • 62ae0adf|||PR ident: vendor Hybriel day56mre
  • 0d18abc4Merge branch 'f13-avatar' into mainIdent
  • 2a99730a|||PR ident#37 avatar in hlmre
  • fa4ed25bMerge branch 'f11-upsert' into mainIdent
  • 8f3d9bc9|||PR ident#42 keyed upsert and removemre