Repository navigation
Converge selected-target credential evidence and exact receipt retries - #2911
benhook1013 wants to merge 11 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
…it-1b-selected-target-context
|
Superseded under the human-approved four-stage Unit 1B consolidation by #2880 at ce26220. Exact source 78c3fe8 is retained in normal merge ancestry; complete source-tree and aggregate hunk/patch comparisons passed. Source proof boundaries, accepted fixes, open obligations and activation limits remain documented in the survivor and owner tracker. Historical review records/comments are retained with no new review credit. No credential/RPC/catalog activation or ring mount is enabled; this is not merge readiness. |
JOIN race proof correction checkpoint — 2026-10-01
Published
78c3fe88614708a4cd224800ac0f1bd6d03b310e, 34 unique files on #28811d4a42ca2. Normal propagation preserves the complete unchanged unique patch identity32de4d66429d196c1b96b708d0857a4d2fea191e. The corrected #2880 test observes the actual intent-insert FK contention before JOIN's later explicit lock, preserving all lifecycle and complete DTO/event assertions. Source exhaustion methods now passed in exact predecessor CI 36776333219; JOIN ran 30 cases with the one owned instrumentation failure, connect issuance 9/9 and bare-LOGIN storage 9/9 passed. Account strict gates skipped after that failure. Game Session strict Script Pin 25/25 and WebSocket 16/16 passed with both required methods once, zero skips. Other inherited aggregate failures remain below.Owner and composed local Account full checks passed; 89 and 98 PostgreSQL cases respectively compiled/discovered but skipped without Docker. Unit tasks were up-to-date, not fresh execution. Exact corrected-tail CI 36778631119 completed aggregate-red but passed both Account strict gates: JOIN 30/30, connect issuance 9/9, bare-LOGIN storage 9/9, generation 2/2, outbox 4/4, all zero skips/failures. The corrected snapshot race and both exhaustion methods each executed once and passed. Game Session strict Script Pin 25/25 and WebSocket 16/16 passed, including both required methods once. All 64 Account and 117 Game Session check tasks executed with build/configuration cache disabled; runtime JAR checks passed. Aggregate failures remain the routed Python/Ruff, dev-demo tooling, Game Design fixture, and Automation formatting defects. Non-draft/queued means scoped reviewability, not merge readiness or runtime activation; all denied paths and ring gates remain in force.
Previous corrected cumulative proof checkpoint — 2026-10-01
Published
e8771d2e2b693bba562c8fee835147a022eae704, 34 unique files on exact #28815937097fd6e088543e9aaa12e58331cc7277ac24. Normal propagation retains corrected source #2876a863854e1and #28809b0504145, all prior heads and their unique patches. Fixes the two source fixture failures below without weakening any production or deferred consistency guard. Adds mandatory exact execution of the complete-snapshot/concurrent-first-JOIN method. Account/Game Session commands now disable configuration cache as well as build cache to avoid the proved protobuf-plugin serialization failure, not suppress validation.Final composed Account full check, links, Markdown, workflow/YAML lint, strict-inspector contracts and tracker validation passed. All 98 local PostgreSQL cases skipped; unit tasks were up-to-date in this final rerun (398 actually executed in the preceding corrected run). Corrected exact-head CI is pending; neither failed predecessor proof nor skipped/cached output is counted as fresh passing proof. Runtime membership RPC, real credential paths and ring mount remain denied/unpublished. Non-draft/queued means reviewable, not Unit 1B complete or merge-ready. No CodeRabbit or Hosted requested.
Previous Account source proof integration (historical)
Published
131e3d60efe2fb947a7b473430a5887cb990c1cc, 34 unique files, normally composed on #2881dd170e75cbf11df0a56c8ea2406f46418d1ef978. Prior #2911 head and updated parent are ancestors; the entire earlier unique patch retained its stable patch ID before this tail's two-file proof-gate/observation addition. #2876 owns source exhaustion tests at7258a6b54; #2880/#2881 preserve their 25/19-file unique deltas with identical stable patch IDs.This head requires executed Account generation/source-version/issuance-fence and outbox-sequence exhaustion rollback proof in addition to the existing JOIN, issuance, exchange, Script Pin and signed-context gates. Composed Account full check, links and Markdown passed: 398 unit cases executed without failure; all 97 local PostgreSQL cases skipped without Docker. Exact-head CI run 36773465024 completed red: the two new source tests executed but failed before their intended proof, on an oversized fixture username and trigger reenabling while deferred trigger events were pending. These are owned #2876 fixture defects under correction, not connection refusal or accepted overflow proof. Both Account strict gates were skipped after the failure. Game Session's 25-case Script Pin and 16-case WebSocket suites and both named methods passed without skips. Gateway/common-security checks also executed and passed. Aggregate inherited failures remain as below; Account also hit the known protobuf configuration-cache issue. Later local fixes are not credited to this run. This remains non-draft/reviewable, not merge-ready or enabled.
Prior boundary checkpoint (historical)
Published checkpoint:
b7766564da68ab44441ae2c6e2a6e3e130e11df7, 34 unique files. The final fixture correction passed local:game-session-service:check -PfullCheckwith the Docker-backed cases skipped. CI now requires the entire 16-case WebSocket handler suite and the exact current-valid signed-context denial case to pass without skips, alongside its existing 25-case Script Pin proof. Workflow lint, YAML lint, the existing strict-JUnit tooling contracts, links, Markdown and diff hygiene passed. The strict local gate correctly rejects the skipped Docker-backed cases; that expected rejection is not executed runtime proof.Exact-head run 36769172597 completed. Account's 47 required PostgreSQL cases passed, with all five named cases executed once; Game Session's 25-case Script Pin suite and complete 16-case WebSocket handler suite passed with no skips or failures. Both required Game Session methods, including the current-valid signed-context denial case, executed once and passed. Aggregate CI remains red on the separately identified inherited failures below. Gateway/common-security test outputs were cached in this final run; their unchanged code executed and passed in prior exact
03fd410ccrun, not freshly here. This is a reviewable scoped checkpoint, not merge readiness, fresh-image proof or activation.Stacked child of #2881, preserving exact parent
b2a2f31b02e7ad48b0d42a9da7cf7b3acec2782ewithout rewriting the existing train. This implements the approved convergence of ADR 0035 and the JWT owner on one complete Account-signed selected-target contract, provides the shared Gateway projection/receiving codec, and denies the obsolete incomplete/HMAC first-party path. It is not Unit 1B completion, runtime activation, CodeRabbit intake, or merge readiness.Account remains the selected-target and authority owner. Gateway preserves that evidence, maps
requestId → connectRequestId,jti → connectTokenJti, andiat → issuedAt, and adds its registered receiver, verification time, request identity, and bounded expiry. Context timestamps are UTC epoch seconds; skew cannot reset issuance or extend the source/context deadline. Discovery's RFC3339 digest representation is unchanged.Implementation and containment
AUTH_UNAVAILABLE, without minting a token or storing a new successful/terminal-unavailable receipt.createorrotate), not invocation-localretry. First-write, exact retry and lost-result recovery retain identical canonical bytes/digest for unchanged source and Secret readback; the strict verifier rejects operation/predecessor mismatch. This corrects local evidence semantics only, not authenticated publication or transport.Proof checkpoint
Focused local suites executed: 144 Account service tests, 27 Gateway handshake tests, 14 shared-codec tests, and three Game Session receiver tests; all zero skipped/failing/error cases. Initial test compilation/fixture defects and two static-analysis issues were corrected before this checkpoint.
The consolidated
:common-security:check,:common-test-support:check,:account-service:check,:spring-cloud-gateway:check, and:game-session-service:checkgate passed, including formatting and applicable Checkstyle, SpotBugs, coverage, tests and test-compilation gates. Common-security and Game Session checks were repeated after the source-matcher and shared Redis fixture correction; the whole-projection matcher was then rechecked with common-security. Links and Markdown passed after the final documentation changes.bash dev-tools/tests/architecture-doc-contracts.shpassed in full at the initial context checkpoint, including allocation, ADR review status, implementation tracking, metrics and all 228 authorization-route regression cases; final tracker changes passed the implementation-tracking validator.Local module evidence: Account executed 398 unit cases; its 95 integration cases skipped. Gateway executed 182 unit and 14 integration cases, with no skips. Game Session executed 1,694 unit, 18 integration, and one cross-service case; 17 unit, 111 integration, and 33 cross-service cases skipped. Common-security executed 111 unit cases and common-test-support 43 cases without skips. Executed cases have no failures/errors. Docker-backed Game Session denial and database cases were compiled/discovered but skipped locally; these counts are not fresh-image, browser, or enabled first-party LOGIN proof.
The receipt correction passed 44 materializer and 23 bootstrap Python cases, scoped Ruff checks/formatting, implementation-tracker validation, links, Markdown and diff hygiene. These are local/fake-API proofs; concurrent authenticated publication, restored-generation authority, actual sole-writer enforcement and live readback are still required.
Manual CI run 36716593919 failed on the initial context checkpoint
18db99fe0b1f16ecee858b82f30f07106787ed4d, before the receipt/index correction. Account and Gateway jobs passed; Account strict proof executed all 47 required PostgreSQL cases and five named cases exactly once. Game Session executed its integration suite with 16 failures: deleting the HMAC fixtures also removed shared Redis value-operations support needed by normal gameplay presence. These are owned fixture failures, not evidence that the gameplay assertions passed; the restored shared fixture must be revalidated on a new exact head. Its strict PostgreSQL proof was skipped after Gradle failure. Other failures match the prior parent run: Python/Ruff defects in hosted WebSocket smoke tooling, dev-demo summary contract syntax, Automation formatting, and the Game Design Entity baseline fixture duplicate at line 339. The first two fixes belong to #2853; the Automation formatting correction belongs to merged #2882 but is absent through this preserved ancestry; the Game Design fixture is routed to #2872. This run is not exact-head proof of later commits.Corrected exact-head CI run 36720940449 on
9800f26ec43d18a3c51c5effbf12fb66c5c4d5c9executed and passed Account, Gateway and Game Session test/integration tasks. Account strict PostgreSQL verification passed all three required suites and five named cases. Game Session strict verification passed the 25-case Script Pin suite and its required assertion exactly once. This clears the 16 earlier shared-fixture failures. The subsequent current-time fixture strengthening also passed affected service/common-security tasks in run 36766661664 at exact03fd410ccb37552a2e1e11fdb948f99cc58005c2. Account's 47 required PostgreSQL cases and Game Session's 25 required Script Pin cases passed. Successful individual WebSocket methods were not enumerated, so the new strict gate closes that evidence gap instead of inferring its specific execution. Both runs remain aggregate-red on the same inherited tooling, Game Design and Automation failures listed above. Local Game Session checks passed after the strengthening, with 1,713 cases executed and 161 skipped; no executed cases failed. The signed-context WebSocket case is among the Docker-backed local skips, not executed proof.Prior exact-parent hosted run 36703863842 executed 29 JOIN, nine V35 connect-issuance, and nine V37 bare-LOGIN storage PostgreSQL cases with zero skips/failures/errors. This is inherited exact-parent storage proof, not proof of real credential issuance or enabled end-to-end LOGIN. Local Docker is unavailable; do not count compilation or skipped Testcontainers cases as runtime proof. Fresh-image/live browser/key-delivery proof is unexecuted.
Required open obligations
Complete Account selected-target issuance and durable authoritative source/readback; independent Gateway signer and published verification keys; canonical UUID-to-retained-carrier mapping; complete authenticated membership producer/consumer and real bare-LOGIN delegation exchange; replay readiness/fence/continuity; protected ring custody, sole-writer delivery, authenticated exact receipt publication/readback, and live readiness all remain required before activation. Membership RPC and credential paths stay denied; no Account ring mount is published.
Unreachable HMAC first-party success fixtures are removed rather than retained as misleading canonical proof. Their unique positive Game Session obligations remain explicitly required: structured WORLD_BROWSE/WHO/fresh-PLAY output, authored aliases, first-party policy redaction, and source/scope/cutover/reconnect binding. Retained generic/internal command tests do not replace those first-party integration cases.
No Hosted or CLI/CodeRabbit review was requested, and implementation helpers are not independent corpus-review cycles or taper evidence.