Repository navigation
Account: admission source, Account-wide pending fences and durable confirmation - #3077
benhook1013 wants to merge 16 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
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 |
Security Summary✅ Security checks passed or were intentionally skipped
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Static Analysis Summary✅ Static analysis checks passed
CodeQL breakdown
|
Validation Summary❌ One or more validation checks failed
Coverage reports and failure logs are available in the workflow artifacts. |
|
Retiring this donor into the consolidation stack. Its whole original scope (
This PR never had a physical WAL-unavailable case; the Player access tracker records that gap for the canonical original-ACK path. No review threads and no open PR uses this branch. |
Scope and stack
Account admission prerequisite for Gameplay, stacked on #3047 at
7985e8a6f6354587f5c01649ede3d0cecde9fde2. Published checkpoint:109a118f7754fe68e77aab0f09c27c751b733d98, 91 unique files. Broader Unit 1B remains parked. Gameplay owns binding/index transitions, installation and cleanup. This unregistered owner foundation is non-admitting; detailed status belongs in Player Access and Session.Preserved and corrected boundaries
40001proof. Java invokes SQL before locked carrier readback.playerrole assignment, permitting the canonical fresh empty global-role source birth. Pending-denial and replay assertions are unchanged.Proof and known failures
The current exact
109a118f7754fe68e77aab0f09c27c751b733d98Account CI job failed after 1,355 executions: 1,170 unit and 185 integration cases; three unit and four Redis cases skipped. All seven first-JOIN PostgreSQL cases passed, proving the corrected numeric owner-row fixture. All 21 lease PostgreSQL cases executed: 15 passed and six failed. Five SQL failures establishphase=createwith captured insertion fences exactly 72 bytes above unchanged initial/final flush; the sixth Java-owner failure remains redactedUNAVAILABLE, so its phase is unknown. No ordering defect or offending WAL record provenance is established. Hosted checkout succeeded, but its merge SHA/parents/tree were unavailable at the Account-job handoff; the local exact head tree is0577aea36c4e2a38f2662016c2ede4075b354b24. These are executed proof failures, not skipped tests or successful temporal confirmation. The original physical COMMIT-before-expiry guard remains unchanged and positive admission stays denied.Corrected local R60 passes full Account checks, generation, formatting, Checkstyle, SpotBugs, JaCoCo, integration compilation, boot packaging, links and Markdown in 2m32s. It executes 1,170 unit and eight non-database integration cases with zero failures/errors; three unit cases and 173 database-dependent integration cases skip. All 21 lease definitions compile/discover but skip locally. Final tracker documentation R61 passes in 12s; diff hygiene passes. These results are not physical COMMIT proof.
The exact preceding
1baaaaa355fe54e7bcd4bbd6ee6d954de776acf1Account CI job executes 1,170 unit and 185 integration cases, with three unit/four Redis skips and five integration failures. All 21 lease cases execute: 17 pass and four fail; all seven first-JOIN cases execute: six pass and one fails. Checkoutee8db660b9d13c5c3609317ec43ef5d72e901b6dbinds exact base/head. Three lease failures identify creation-guard WAL coverage timeout; the Java-owner case exposes generic UNAVAILABLE, not a proved phase. This checkpoint adds internal SQL snapshot/XID/insert/initial-and-final-flush/time/phase diagnostics without changing proof predicates, polling, expiry or Java failure redaction. The attempted Java cause retention failed R59's safety assertion and was removed. The remaining JOIN fixture error used nonexistent membership account_uuid; snapshots now use the actual numeric account_id plus canonical tenant_uuid, preserving separately read Account UUID and no-mutation assertions. Fresh exact-head physical proof is pending.The preceding exact
2b19e46fa4adb4c3c0c8434f4867cca6d9f86b81manual CI 37712881776 failed Account: 1,355 cases executed, seven skipped, seven failed. All 21 lease PostgreSQL cases executed with five failures on WAL coverage/pre-lock LSN; all seven JOIN PostgreSQL cases executed with two missing-source fixture failures. Five World-client mTLS, 16 Draft-fence PostgreSQL, seven restriction-birth PostgreSQL, 16 security-operation PostgreSQL and seven source-evidence PostgreSQL cases passed. Run/job SHA identify the exact head; checkout logs were unavailable while aggregate CI remained pending at observer handoff. These are failed runtime proof, not skipped tests. The current snapshot-first and JOIN corrections require fresh physical execution.The idle predecessor observed a 72-byte pre-capture advance, but raw JUnit cannot identify that record. PostgreSQL source confirms heap reads can emit pruning WAL; do not claim a proven EXCEPTION/subtransaction cause. Unrelated uncovered WAL still conservatively denies. Asynchronous uncovered-WAL, standby/disabled-fsync and remote-failover durability are unclaimed.
Earlier
28a1ef9a53be8c8423f34738d05fe3509a61dc57CI 37709000871 executed 1,339 Account cases with seven skips/five failures: 18 lease cases executed, five rejected Testcontainers' defaultfsync=off. Only the durability suite now opts into fsync/synchronous commit from startup; unsuitable external databases are rejected without configuration changes. Automatic 42a2083 CI omitted Account and supplies no execution credit. Historical 17e8f609 CI executed 1,320 cases without failures but predates V90/V91. Controller history retains proof and bounded helpers; none earns provider review/taper credit.Remaining gates
Successful exact-head PostgreSQL confirmation remains required; the current JOIN fixture is now physically proved. Complete restriction authorization/transition producers, accepting acquire/finalize/reconcile, continuously held current authority, lifecycle source finalization, token retirement/orphan delivery and real Game Session installation/cleanup remain open. Operator-reference issuance/redemption and security-lock recovery are absent; correlation, password reset or a moderation row cannot replace them. The authenticated complete issuer snapshot producer is being prepared in a coherent unregistered child, with explicit reconciliation-operation binding; consumer/database proof remains separate.
Distinct World holds/region assignments remain in #3084 at
09d6c163df96ef64afa6ae2585e68e4ec5ae7bd6. Forward V52 corrects the strict complete-map guard without changing historical migrations. The preceding exact World run proved all nine hold cases and 53 of 54 graph cases; the remaining negative fixture failed its setup assertion before testing SQL. The test-only correction now uses the actual one-region fixture and a nonempty substituted map. Local checks pass; exact-head World physical proof is pending in run 37720089984. World initial component checkpoints still need genuine authenticated Game Session epoch/readback.All Gameplay handoffs remain OPEN. Runtime, keys and mounts remain denied. No database/remote resources were provisioned; no provider review, queue change, merge readiness or activation is requested.