Skip to content

Fresh signed connectors stall awaiting initial relay policy in staging #363

Description

@callumalpass

Summary

The guarded beta.92 staging gate establishes an authenticated websocket relay for both exact signed beta.92 and beta.90 clients, receives relay_welcome, and then remains at awaiting initial policy until the bounded acceptance timeout. No relay CRUD assertion is credited. Exact cleanup succeeds and staging rolls back to beta.91.

Evidence

  • Reproduced against candidate beta.92 commit 617eece41d5eff7d580cfdae70120868df49d953 and the restored beta.91 staging service.
  • Candidate deployment passed immutable live identity, migration safety, entitlement reconciliation, health/readiness, OAuth/application registration, R2, and synthetic checks before the signed-client gate.
  • Candidate and previous websocket requests remained open for approximately 79s and 83s respectively, ending only when acceptance cleanup shut down the exact leased daemon.
  • Client logs contain connected to cloud relay; awaiting initial policy; no policy becomes usable and state never becomes connected.
  • Connector, grant, fixture, daemon, browser session, and profile cleanup passed; guarded rollback restored beta.91 commit ea5a1f075a47cbb427cc64a77a85233902efdd5d.

Ruled out

  • locked OS keyring
  • ambient partial cloud configuration
  • installed-daemon loopback port collision
  • Unix socket SUN_LEN overflow
  • daemon cleanup/logout port reuse
  • CLI status response-shape mismatch
  • stale candidate service identity

PR #362 bounded the advisory NATS replacement flush because it could block policy startup, but genuine qualification still reproduced after the fix. The next diagnosis should instrument or bound the remaining pre-policy path (session.policy.start() / buildPolicySnapshot() and exact generation checks) without logging connector IDs, grants, record bodies, or credentials, and add a PostgreSQL/NATS regression matching a fresh connector with no pre-existing grant.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions