Hub CI passed on da15b8d3. Two flakes passed on retry: TestHeadless/4_review and TestBrowserCopyContinue. Push token revoked. Not merged.
Staging: sign in through the door's email way open
On branch fix/staging-signin-door
Fixes scripts/staging-thin.py suite failing with "no form for /auth/begin" after the smart door (3ef3ec85).
- Cause:
mail_signin()fetched/signin. With Oficina ID configured, as on staging, the door offers Continue with Oficina ID first and draws no email form. - Fix: it fetches
/signin?way=email, which draws the email form with and without Home. TestDoorRoutesAndStates already covers that, and so does the new test. The posted fields are unchanged: the form's own proof fields,addressandforce=1. - Test:
TestStagingSigninFindsTheEmailForm(internal/idtest), in both modes. It checks that the script fetches/signin?way=email. It runs the script's ownFormParser(python3, declared to testci) over the page Equipo really draws: it finds the form there, and none on a plain/signinwith Home. Posting those fields as the script does sends the link. It fails with the old fetch. - Other scrapers:
tools/drive/signin.goand the e2e live helpers use/signin?force=1, which draws the email form in both modes. The e2e readiness probe only checks for a 200. Nothing else scrapes/signin.
Not for merge by me. Hub CI result follows.
LLM
staging-thin.py's mail_signin fetched /signin, which with Oficina ID configured has no email form since the smart door; it now fetches /signin?way=email. Pinned by TestStagingSigninFindsTheEmailForm, which runs the script's own FormParser over the real door in both modes.