Skip to content

v0.18.6 - stop stranding players on a silent Google handback

Pre-release
Pre-release

Choose a tag to compare

@sleepymor sleepymor released this 22 Oct 12:54
· 26 commits to master since this release

Google sign-in for the WebGL build, fourth round. The previous release got the button rendering inside
itch.io's iframe and moved the exchange out of FedCM, and the click-through of 2026-10-22 produced the
first genuinely informative console: the chooser opened, its postMessage handshake arrived, and then
nothing — no credential, no error_callback, no popup_closed.

The cause
Neither GIS gate fired, which is itself the diagnosis. error_callback staying silent means GIS never
considered the attempt failed; the popup watcher staying silent means the chooser never closed. Both
point at one state: the window is still open, holding a page the console cannot see, and the handback
never arrives. Every existing exit in the bridge was gated behind a named failure, so a failure with
no name left the player with a card that could not do anything until C# burned its three-minute
deadline — and no button on screen to escape with.

What changed

  • A strand warning armed the moment the card exists, not when the button paints: at 90s of GIS silence
    the failure line and the "Sign in in a new tab" exit appear. Non-terminal by design — a credential
    that arrives late is still the one we want, so this only ever adds an option.
  • probeFedCM can no longer be silent. Every path speaks: no permissions API, no promise, a rejection
    with its message, or the permission state. The previous version swallowed the rejection, and that
    swallowed line was the one piece of evidence the round needed.
  • OverlinkGoogleSignInCancel is exported so C# can tear the overlay and hooks down when its deadline
    wins, instead of leaving a dead card on screen for the rest of the session.
  • C# calls Abandon() plus the cancel export on WebGL timeout, so a late token is not delivered into
    an abandoned task.

Coverage
Tools/WebGL/gsi-bridge-test.mjs 108 -> 128 assertions, including strand-warning timing at 89s and
91s, cancel teardown, and the probe's rejection path. Harness green before tagging.

Known, not fixed (design decisions)

  • CR-04: automatic reshuffle vs. the specified deck-out condition.
  • CR-05: Volley resolves against Core Actives only.
  • CA-01: Interdiction Net advertises an unimplemented mechanic.

Verification note
A green CI run proves the artifacts were built and uploaded. It does not prove Google sign-in completes
in a browser on itch.io. This release does not make the in-frame handback work — it makes the failure
visible and gives the player a working route out. The new-tab exit lands in a first-party tab, which is
the same shape as the desktop path that is confirmed working, and is the expected route to success
until Google's iframe behaviour changes.