Repository navigation
Canonical PLAY on UUIDs with pre-v1 gate waivers and LOGIN stand-ins - #3461
benhook1013 wants to merge 59 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add PreV1GateWaivers (refuses the prod profile), waive Gateway gameplay readiness behind it, give the Compose Gateway its own SPIFFE leaf, enable the Game Session authenticated gameplay listener and Gateway bridge TLS, record the waiver in the player access tracker, and add a CI guard that fails if production configuration sets the switch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Smoke Summary✅ Full-stack smoke completed with Smoke Gate: success
|
Static Analysis Summary✅ Static analysis checks passed
CodeQL breakdown
|
Security Summary✅ Security checks passed or were intentionally skipped
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Validation Summary✅ All validation checks passed
Coverage reports and failure logs are available in the workflow artifacts. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Game Session PLAY resolves the canonical tenant UUID from Game Design (new ResolveCanonicalTenant read, same-namespace Game Session only) and asks Account for entitlement by that UUID, with no numeric fallback. Account reads the tenant's current demo source; script-seeded preview tenants with no Account source are entitled only under the pre-v1 gate waiver, listed in the player access tracker. Paid hosting stays unavailable here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under the pre-v1 gate waiver, accept plaintext Coordination Redis and supply a process-local qualification lease so Compose can run the authenticated LOGIN. Both are owed before v1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the protected validator inventory binding to the signer fixtures (digest checked against Account's own code) and serve the matching Game Session Deployment, ReplicaSet and Pods from the stand-in API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wire the bootstrap coordinator, prepublication, validator inventory and readiness probe service, which nothing composed before, and run a self-attested readiness driver so the materializer stand-in can promote a signer in Compose. Listed in the tracker as owed before v1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add docker-compose.pre-v1-login.override.yml (stand-in Kubernetes API and materializer containers, Account protected bindings installed root-owned by a pre-v1 entrypoint, LOGIN keyrings, Coordination ACL users, Game Session authenticated gameplay flags and a fixed IP) and generate its fixtures in both smoke entrypoints. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PLAY now resolves the canonical tenant UUID through Game Design and requires Account entitlement for that UUID, so the test stubs the Game Design resolution and returns the entitlement for the canonical tenant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ens admission Held-admission qualification failed because the pre-v1 Gateway readiness waiver opens Gateway by design. Runtime CI now proves public LOGIN in the default baseline mode; held mode stays available for held stacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Handover (Claude, 20 Nov)PR is ready for review at head
|
… gate Game Session starts only after Account publishes its first JWT signer, and signer readiness waits out the 300 s maximum validator JWKS cache age before promotion, so the 240 s default health wait expired before Game Session could start in CI. Also align the smoke-transport contract with the baseline runtime-image smoke mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The runtime-image and full smoke stop steps named only the base and image overrides, so the pre-v1 signer and gRPC mTLS services survived and the guarded teardown refused to release the run-owned project. Name both overrides with config-only placeholders for their bind sources. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Count only plain numeric Flyway versions in the Account migration proof, expect the permanent recovery denial for an expired REVOKED issuer, clear the SpotBugs findings in the Account credential-abuse and control-UI proofs, and give the gateway checkout login test the native socket peer direct login now requires. Each fix was reproduced and passes locally. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…deadline Game Session's public JWKS read built a fresh mTLS channel and gave the whole call a 3 s deadline, so a cold Game Session on a slow runner spent the deadline on connection setup and every post-promotion read timed out. Connection setup now has its own 15 s bound; a transient connection failure still reaches the RPC so TLS failures keep their invalid classification. The failing status code is logged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…change Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the JWKS read fixed, Game Session became ready before Account promoted its first signer, so the Telnet smoke's authenticated LOGIN met an UNAVAILABLE signer until promotion (signer readiness waits out the 300 s validator cache age). The materializer stand-in now marks promotion, its healthcheck reports it, and Game Session depends on that health. The stand-in bounds each Account call at 30 s, and Account gets 1 GiB: a CI run lost it without an error on its first post-promotion LOGIN under the 512m default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Game Session now starts last, after signer promotion, so another container could already hold its fixed 172.30.0.20 and Docker refused to start it. Dynamic addresses now come only from 172.30.0.128/25. Local fresh-bootstrap smoke with CI defaults passes (WebSocket LOGIN/PLAY/LOOK, Telnet LOGIN and fail-closed PLAY). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… lease The region-transfer custody proof minted its controlled account lease (capped at 15 s by the product) and then spent about 5 s locally, three times that on a loaded CI runner, generating the controlled sources' loopback PKI, so Redis TIME passed the lease expiry before finalize and the owner reported an unavailable readback. The PKI is now prepared and cached before the lease is minted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nside the Redis fence The 65-item cohort fences each 32-item page within one 5 s advance budget. When that budget ends inside the Redis fence the owner reports an untyped unavailable readback instead of BudgetUnavailable; FENCE is idempotent, so the bounded retry loop now resumes the same transfer for that message too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review scope changed. #3461 now carries the shared, certificate-authenticated fixture WebSocket ingress and the guarded reset between the two fixture probes. #3474 owns the Compose workload certificate checks. #3481 enables and exercises the shared admission path. Earlier review counts cover the previous scope. |
Requested by Ben · project thread
Canonical gameplay admission prerequisites
This PR is based on the admitted-logout foundation. It owns the canonical UUID and scoped pre-v1 LOGIN foundations for #3474 and #3481.
canonical-play-transitionlabel unset. Normal Smoke Gate qualification applies.Validation
7ba4810c05over777d2dd5a5. The substantive Validation run recorded 49 successful jobs. Validation · Smoke GateFireMUD LOC impact
Compared
777d2dd5a5ab→7ba4810c05b8(PR merge-base → head).PR scope: 90 changed files · 3,246 added textual lines / 220 deleted textual lines.
Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.