Repository navigation
Converge Entity digest v2 and guarded historical baseline migration - #2872
benhook1013 wants to merge 44 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 |
|
Pre-review complete — exact published head Three independent Luna xhigh whole-boundary passes covered Entity digest v2, the Game Design v1→v2 migration and publish gate, SQL transaction/readback, Helm Job, migrator certificate/issuance/admission, contracts and tests. The first found 1/1 useful Job wiring issue, fixed in Focused tests, ShellCheck, the standalone certificate contract, links/Markdown, diff hygiene and combined Entity/Game Design full checks passed with only an unchanged parent-owned V26 formatter task excluded. The unexcluded formatter and global architecture-document contract remain red on unchanged parent-owned V26 and player-experience files; exact-head submit-gradle CI passed. Live retained-v1 inventory, PostgreSQL audit/baseline readback, migrator certificate/mTLS/bootstrap, publication-window and retirement proof remain open. This is independent preparation, not CodeRabbit taper, merge-readiness or live migration evidence. |
|
Incoming #2873 parent-reconciliation proof: the architecture document-contract suite on the composed |
|
Routed from Document #2876 exact-head CI run 36466018327: Game Logic and Game Session jobs fail before tests on deterministic Spotless layout. |
|
Additional inherited failures from Document #2876 exact-head CI run 36466018327: Game Design |
|
The Python Script Validation failure in the #2876 exact-head run was owned by ancestor #2853. Document published its focused Ruff/closure correction at #2853 head |
|
General handoff from Document: the exact two unpublished #2872-owned Spotless corrections are preserved as the only edits in --- a/services/game-logic-service/src/test/java/unit/net/firedevops/firemud/gamelogic/service/impl/GameLogicGrpcServiceTest.java
+++ b/services/game-logic-service/src/test/java/unit/net/firedevops/firemud/gamelogic/service/impl/GameLogicGrpcServiceTest.java
@@
- runAsGameDesign(
- () -> response.set(invokeDigest(service, fullDigestRequest("1", "7"))));
+ runAsGameDesign(() -> response.set(invokeDigest(service, fullDigestRequest("1", "7"))));
--- a/services/game-session-service/src/main/java/net/firedevops/firemud/gamesession/client/GameDesignClient.java
+++ b/services/game-session-service/src/main/java/net/firedevops/firemud/gamesession/client/GameDesignClient.java
@@
- .setMessage("base_version_id must be positive for script-patch publication lookup")
+ .setMessage(
+ "base_version_id must be positive for script-patch publication lookup")Source failure: #2876 exact-head CI run 36466018327. This is an ownership handoff, not a merge or green-CI claim. |
|
Formatter handoff applied at e89143b. The two-file diff matches the private scoped patch byte-for-byte: GameLogicGrpcServiceTest invocation wrapping and GameDesignClient error-message wrapping only. Focused GameLogicGrpcServiceTest, both affected Spotless Java checks, and diff hygiene passed. No runtime semantics changed; live/DB proof remains separate. |
|
Pre-review complete — head Two fresh independent Luna-xhigh whole-51-path passes cover Entity/Game Design digest/publish/migration/identity/Job/egress/database/rollout contracts and surrounding callers: 0 raw / 0 useful, then 1 raw / 1 accepted P2 / 0 routed. Records Accepted correction resolves the canonical manifest's contradictory primary-key ordering for v2 semantic-only definition projections. Strengthened equivalence proof reverses ID order and renumbers row IDs/optimistic counters; semantic-change negatives remain. Producer hashes/schema and migration SQL/guards are unchanged. Entity format/full checks/docs pass: 198 non-skipped / 4 skipped / zero failures,68 tasks14 executed54 up-to-date. Own inherited WSS destination fix also passes18 offline tests, full workflow contract, actionlint/ShellCheck/hygiene. Earlier composed evidence and reuse qualifications remain in the body. All51 paths and Document's preserved formatter corrections survive. General adjudicated/inspected both scoped edits and corrected fixture ID ordering; the second reviewer was reused only as a bounded implementation helper, not another independent pass. Full coverage found one contract/proof correction without a producer/security-path change; another unchanged scan is not expected to help at this checkpoint. Private ledger: No CodeRabbit taper or merge-readiness credit. Own later parent propagation remains pending. Retained-row/no-data census, exact PostgreSQL privileges/migration/concurrency/readback, live certificate issuance/admission/retirement, rollout and fresh-image/player proof remain unavailable. Mutable Draft stays blocked; readers-first rollout is a fail-closed publication window, not seamless availability; v1/v2 are never compared as one schema. Synthetic |
Pre-review complete — heade76db3b299ca04385dae59f70f60c6b6de278b94Normally reconciled with exact own published #2853/b41b4b4868621741eb2d5c4326142c1decaf730c. All51 unique paths, Document formatter corrections and exact corrected stable patchb440da61f492f02c909cac1de0267158d918c62d survive. Protected Job/certificate identity, expected-old guards, retained provenance, reader-first blackout and Draft blocking remain intact; no SQL/history/data rewrite. Four commissioned fresh serial whole-boundary Luna-xhigh passes covered every51 changed path/hunk and Entity/GameDesign/digest/schema/migration/audit/SQL/lock/readback/identity/cert/Job/egress/CI/test/docs context. Counts0/0→1/1Major→1/1Minor→1/1Major, total3raw/3accepted/0routed/0rejected, finalized/history read back. All three corrections are published: semantic definition ordering/proof; script-only retained inventory blocking; and 82cd45a42 rejecting noncanonical required persisted definition keys before v2 digest attestation. The final fix prevents normalized hashes from hiding exact-runtime-lookup semantic differences while preserving valid v2 hashes/schema and item/group equivalence. Canonical applied-commit hypothesis was withdrawn after supported producer/equality trace, not a finding or real applied-revision claim. Proof: fullEntity/GameDesign/Java/docs241tasks30executed211up,531XML505non-skipped26skipped0fail; Entity tasks execute, GD reused. Final composed selectedGS/static plus fullEntity/GameDesign/Account/Logging/Gateway/TCP/Java/docs355tasks122executed12cached221up passes3m55s,3838XML3551non-skipped287skipped0fail. GS/Account/Logging/Gateway/TCP suites execute; Entity/GD prior passing outputs reused.38 inherited WSS tests with pinned1.9.2 freshly pass1.660s; parent workflow/static proof remains unchanged. Hygiene, ancestry and patch preservation pass. Source resolutions/history/body/LOC refreshed for the exact head. Stop at the explicit four-pass boundary rather than claiming dry/taper: the last pass was useful. Direct bounded fixes were inspected/proved; an unrequested fifth model round is not part of this handoff. No CodeRabbit taper or merge-readiness credit, no provider review requested. Remaining gates: retained/no-data census, noncanonical retained-row owner disposition, real PostgreSQL grants/locking/concurrency/exact audit readback, reader-first deployment, actual migrator certificate/issuance/admission/retirement/egress, served identities/consumer convergence, true applied-revision ledger, fresh images/live player proof and exact-head CI. Draft remains blocked, publication quiescence is not an authoring freeze, synthetic version: is not durable commit convergence. Full GS integration SpotBugs and inherited World EI2 remain separate nongreen gates. No live proof inferred from skipped/mock/cache/compile evidence. Delegation: four fresh whole reviewers, bounded identity/test/manifest/inventory helpers and final direct three-file producer helper. General adjudicated, inspected every diff, integrated/proved/published. Private ledger:/home/ben/src/FireMUD-project-direction/tmp/review-ledgers/pr-2872.md. Document/Gameplay branches and queue untouched; descendants can reconcile this published head when their owners choose. |
Pre-review complete — heada0571a18ac1939dd2501288b9415aa3764081692Normally incorporates own published #2853 Four commissioned fresh whole51 passes plus necessary surrounding context are complete:0/0→1/1Major→1/1Minor→1/1Major; total3raw3accepted0routed0rejected. All fixes published and records/source resolutions/history verified. Stop at the explicit four-pass budget; final pass remains productive, not dry/taper. No fifth round or provider review. Latest focused parent-union proof: full Account check/Java formatting PASS59s64tasks15executed2cached47up-to-date; fresh478XML433non-skipped45Docker-integration-skips0fail/errors. Fresh pinned websocket-client1.9.2 WSS suite38tests PASS1.654s. Hygiene and exact unchanged child patch verified. Prior Entity/Game Design/migration/manifest/full-composition checks retain their recorded-head attribution and were not freshly rerun here. Live retained-row/no-data census, PostgreSQL privileges/concurrency/exact database readback, migrator certificate/bootstrap/Job/retirement, real rollout, served certificates and LOGIN→PLAY→LOOK remain unproved. Synthetic version: applied-commit gap remains separate; no schema comparison shortcut or mutable Draft migration. Full inherited GS integration SpotBugs/WorldEI2 and required CI remain separate gates. No CodeRabbit taper or merge-readiness credit. Ledger:/home/ben/src/FireMUD-project-direction/tmp/review-ledgers/pr-2872.md. Delegation: four fresh independent Luna-xhigh reviewers and scoped fix helpers earlier; same inherited-boundary Luna-xhigh helper ran this closed proof. General inspected every incoming hunk, unchanged unique patch and exact Hosted-safe publication. Gameplay/Document branches untouched; Document may align descendants on this published head when its work permits. |
Pre-review complete —
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
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 (
No review threads. The branch stays because #2873 is based on it. |
Current General parent-forward checkpoint
Published
513ead19624af3fa371af7172c760bace964e8d9on exact own #2853e8aa01601b4ab0807690447c8b58f1175f63c350, 51 unique paths. Every path and the entire stable unique patchb440da61f492f02c909cac1de0267158d918c62dremain identical to the prior published boundary. Entity/Game Design digest, formatter, migration, certificate, mutable-Draft/script-only refusal, retained provenance and readers-first fences survive. This is the programme's necessary own-parent forwarding, not another discovery scan; Document's original worktree is untouched.A bounded Luna High proof helper ran the complete combined Account/Game Session/Entity/Game Design checks, Entity/Game Design boot JARs, enabled checks and docs: PASS,205 tasks (186 executed,15 cached,4 up-to-date). The four service XML inspectors report3,346 cases,0 failures/errors and268 skips; caching is not represented as all-fresh execution. Helm baseline-migration and standalone gRPC certificate contracts plus diff hygiene pass. General inspected the unchanged unique patch and exact parent before Hosted-safe publication.
The four earlier assigned whole51 passes remain 3 raw /3 accepted /0 routed, all resolved; this forwarding adds no review/taper credit. PostgreSQL migration cases, including dedicated historical-baseline cases, skip without Docker. Retained census/exact database readback/concurrency, live migrator certificate/bootstrap/Job, served-certificate/rotation, fresh-image boot, real gameplay and synthetic applied-commit convergence remain unproved. Packaging is not runtime proof; neither metadata nor inherited proof activates a denied capability. Required exact-head CI/provider review and ancestor alignment are separate gates. No CodeRabbit, merge or auto-merge.
Earlier parentc919 checkpoint
Published
a0571a18ac1939dd2501288b9415aa3764081692, 51 unique paths, incorporates exact own published #2853c9196ea1d57660d43e748df232f0b55b448f48c5. All51 paths and Document's formatter corrections survive; conflict-free own-parent integration carries only the two inherited Account classification files and preserves exact corrected child stable patchb440da61f492f02c909cac1de0267158d918c62d. Migration inventory reports an anomalous retained full-version v1 baseline whose Version is script-only asBLOCKED_SCRIPT_ONLY; preflight/migrate rejectVERSION_SCOPE_MISMATCHbefore digest/audit mutation. Required persisted definition slot/layout keys now fail closed unless already nonblank canonical trim-uppercase, preventing a normalized digest from hiding exact-runtime-lookup semantic differences. Valid v2 hashes/schema, optional item/group equivalence, expected-old guards and retained provenance remain unchanged. No retained rows or migration history are rewritten. Parent public/private protocol and hosted proof corrections are inherited, not moved into this scope. Gameplay/Document branches untouched.Four required fresh whole51 scans are complete/finalized/read back: 0/0/0 →1/1/0 Major →1/1/0 Minor →1/1/0 Major, total3raw/3accepted/0routed/0rejected. Manifest ordering/proof, script-only inventory classification and required-key digest collision corrections are all published; source resolutions/history verified. Final correction82cd45a4267ef9491927311cea0f925a5878378d has null/blank/padded/lowercase definition-key negatives while retaining canonical row-order/ID/version/group/item/JSON/schema/scoped-read equivalence and semantic-change proof. Stop at the commissioned four-pass boundary, not a dry/taper claim; direct fixes inspected/proved without an unrequested fifth round. Canonical applied-commit hypothesis was withdrawn after supported producer/equality tracing, not counted as a finding or durable-revision proof.
Latest own-parentc919 integration: unchanged51-path/stableb440da patch and formatter/migration fences verified. Full affected Account check/Java formatting PASS59s64tasks15executed2cached47up-to-date; fresh478XML433non-skipped45Docker-integration-skips0fail/errors. Fresh pinned1.9.2 WSS proof38tests PASS1.654s. Root inspected the complete incoming diff and verified Hosted-safe exact-head publication. Entity/Game Design and migration contracts were unchanged; their earlier full/composed results below remain attributable to their recorded heads, not newly rerun database proof. No new model pass credited.
Earlier full candidate proof ate76d
Latest full Entity/Game Design checks, Java/docs/hygiene pass1m18s241tasks30executed211up:531XML505non-skipped26skipped0fail; Entity tasks execute, GameDesign outputs reused. Final composed selected GameSession/static plus fullEntity/GameDesign/Account/Logging/Gateway/TCP and Java/docs pass3m55s355tasks122executed12cached221up:3838XML3551non-skipped287skipped0fail. GS/Account/Logging/Gateway/TCP suites execute; Entity/GameDesign reuse their prior passing outputs. All database-dependent cases skip. Fresh inherited38WSS tests with pinned1.9.2 pass1.660s; inherited workflow/static proof is unchanged and attributable to parentb41b, not newly executed here. No retained census, real PostgreSQL privilege/concurrency/readback, Redis, live certificate/Job/rollout/served identity, fresh images or deployed gameplay proof claimed. Full GS integration SpotBugs/inherited World EI2/exact-head required CI remain separate gates.
Earlier head-specific broad-sweep evidence
The following earlier checkpoints retain their original scope and proof attribution; they do not replace the final four-pass checkpoint above.
Latest normal parent propagation proof: full Entity/Game Design checks, canonical Java formatting, links and Markdown pass 239tasks/183executed/20cached/36up-to-date;527XML/501non-skipped/26skipped/0failures or errors. Both service unit/integration test tasks executed; all26 database-dependent integrations skipped. Complete Helm baseline-migration, hosted-v2 activation and hosted-controller-manifest contracts plus ShellCheck pass. Unique diff hygiene passes. The inherited parent's V7 audit SQL blank-line warning is retained with its reviewed/checksummed bytes, not silently changed for formatting. This propagation is not a new independent review. The remaining fresh whole51 scan4 is required before updated pre-review completion; no provider/taper or merge-readiness claim.
Two NEW fresh independent whole-51-path Luna-xhigh passes are complete for the broad sweep: 0 raw / 0 useful / 0 routed, then 1 raw / 1 accepted P2 / 0 routed, finalized and read back as
general-wide-2872-s1-a4a009andgeneral-wide-2872-s2-9cb3a9-retry1. Both cover the complete unique patch and surrounding Entity/Game Design/digest/migration/security/database/Job/certificate/CI context. Scan2 resolved the manifest's generic primary-key-order contradiction: v2 definition projections explicitly use normalized semantic keys, excluding database IDs and optimistic counters. The strengthened fixture reverses row/ID ordering and renumbers IDs/counters while asserting equal digests; existing semantic-change negatives remain. This is contract/proof correction, not a new hash algorithm or schema change. Expected-source-object immutability remains a trusted-operator precondition. Prior review counts below are historical evidence, not CodeRabbit taper or merge readiness.Current reconciliation proof: ShellCheck and four complete Helm migration/issuance/controller-manifest/standalone-certificate contracts pass. Entity/Game Design/Common Platform/Core/Common Security full checks, Java checks, links and Markdown pass: 124 tasks / 76 executed / 45 cached / 3 up-to-date. XML 702 cases / 676 non-skipped / 26 skipped / zero failures/errors; all six service unit/integration test tasks used cache, so this is not fresh database execution. Retained/no-data census, PostgreSQL privilege/migration/concurrency/readback, live identity issuance/admission/retirement and actual rollout remain unproved. Mutable Draft remains BLOCKED_DRAFT; quiescence is not an authoring freeze and v1/v2 never compare as one schema. Synthetic version: commit evidence remains a separate limit.
After our accepted count correction propagated, composed Game Session/Entity/Game Design full checks, Java checks, links/Markdown and hygiene passed: 171 tasks / 74 executed / 4 cached / 93 up-to-date; XML 2608 cases / 2401 non-skipped / 207 skipped / zero failures/errors. Game Session unit/cross-service/integration tasks ran; Entity/Game Design reused up-to-date results. Skipped integration, reuse and compilation do not establish PostgreSQL/live proof. No new model round is credited for this seven-inherited-file merge.
Final manifest/test correction passed Entity Java formatting/full checks, links and Markdown: 68 tasks / 14 executed / 54 up-to-date; 202 cases / 198 non-skipped / 4 skipped / zero failures or errors. Propagating the parent's trusted WSS destination fix then passed all18 offline WSS tests, the complete hosted-identity workflow contract, actionlint, ShellCheck and hygiene. No PostgreSQL or live certificate/player proof is supplied by these checks. Later own-parent movement is a separate alignment gate. No CodeRabbit, merge or auto-merge requested.
Historical bounded checkpoint (before this broad sweep)
Scope and topology
Candidate
9c75c62bbb5aecf4e377023922ffe785dc04853cnormally incorporates once-pinned published #28531ef97e0433da7437afe1279cd730d18742c558d8and preserves old childd54ef962cd4ded3bb6479e8bf3c91f3d97103b9c. The Entity digest-v2 producer, Game Design v2-only publish gate and guarded historical v1→v2 migration formerly in #2875 remain together. Document's #2873/#2876 and Gameplay's front are untouched.The unique scope is 51 paths, down from 54 only because the V26 formatter test,
GameLogicGrpcServiceTestandGameDesignClientare now identical to the stronger parent. All 32 child-only and 368 parent-only changed paths are byte-identical. Six conflicts were explicitly integrated; all shared automatic merges inspected. The two preserved Document formatter corrections are already present and were not reapplied. Later #2853 movement, including its paused-controller evidence correction, remains a separate alignment gate: this sweep does not repeatedly chase parents.Preserved implementation boundary
BLOCKED_DRAFT; publication quiescence is not an authoring freeze. Later Draft migration requires an enforced owner freeze and exact rebaseline proof.Current local proof
Combined canonical Common Platform/Core, Common Security, Entity and Game Design full checks, formatting, links and Markdown passed on merge
6ac448ec5b53281f1b41f266ad8426709acb4a8b: 676 unit cases, no skips/failures/errors; all 26 integration cases skipped, including nine baseline-migration cases. 121 tasks executed, six cached, one up-to-date. Links 10,095/zero errors; 546 Markdown files/zero issues. Nonfatal configuration-cache and jOOQ warnings remain. Root inspected and committed the sole mechanical Java test formatting change as final9d2ded9e; no semantic changes followed proof.Eight assigned shell/Helm/identity/standalone/actionlint checks passed: syntax and ShellCheck for five affected scripts, Helm migration Job/policy contract, trust-bootstrap issuance, controller manifests, preview standalone transport certificates, standalone gRPC certificates, and CI actionlint. Expected synthetic fixture diagnostics are not live evidence. Ancestry, unique-patch preservation and diff hygiene pass.
The first fresh single-serial whole-51-path Luna-xhigh pass on
9d2ded9efound 1 raw/1 accepted/0 routed P2: the runbook requires authorized operator retirement of the temporary migrator Secret, but its hosted admission validation denied that exact DELETE. Correction26506be68permits onlysystem:masters, DELETE, empty subresource, canonical runtimedev/pr-Nnamespace and exact migrator Secret. It does not authorize ordinary writes, other names or retained identity namespaces. Certificate deletion already has an authorized composed policy path; that permission was not changed. Both affected contracts, syntax, ShellCheck and hygiene pass, including positive scope cases, excluded authority/operation/namespace/name/subresource cases and missing-guard mutations. This is static expression/fixture coverage, not live CEL admission execution.The second fresh single-serial whole-51-path Luna-xhigh pass on
26506be68found 1 raw/1 accepted/0 routed P3: the Helm contract inspected only the first peer/port and skipped rules without destinations, leaving widened egress undetected. The actual rendered policy is narrow; this is regression-proof drift, not an observed runtime exposure. Correction9c75c62bbvalidates the complete rendered policy spec and rejects mutations for extra peers/ports, unconstrained rules/selectors, wrong DNS scope/protocol, IP blocks, port ranges and missing Egress isolation. Syntax, ShellCheck, the complete Helm migration contract and diff hygiene pass; no production policy or service bytes changed.Both complete independent passes are finalized and read back in the shared controller: 1/1/0 P2 followed by 1/1/0 P3, two useful obligations fixed/proved. The recent signal declined from a concrete lifecycle defect to a test-only guard gap; full corrected production coverage found no further actionable defect. Further unchanged discovery is not justified for this bounded initial pair. This is not a dry-pass or taper claim; the final direct proof correction was inspected and validated by General, not independently reviewed again. These checks demonstrate compiled sources, executed units and local fixture behavior—not PostgreSQL or live hosted execution. Historical independent reviews/CI remain attributable to their original heads. No CodeRabbit review or taper credit is claimed.
Separate rollout and proof gates
Readers-first rollout remains a controlled fail-closed publication window: block affected v1 publication; deploy the Game Design reader/reconciler; deploy Entity v2; verify dedicated certificate/mTLS and restricted database roles; recompute/re-record eligible non-Draft scopes; independently read back baseline and audit; reopen only proved scopes; retire Job and identity. This is not seamless dual-reader availability or permission for cross-schema publishing.
No retained-row/no-data census, PostgreSQL competing-writer/privilege/readback execution, live certificate issuance/admission/retirement, served identity, deployed-consumer convergence, authoring freeze, fresh image boot or hosted player proof is claimed. Entity's synthetic
version:<id>applied-commit token is not actual applied-revision convergence and remains separate work. Exact-head required CI and later parent/Document reconciliation remain separate intake gates. This is independent preparation, not merge readiness.Delegation: separate Luna-high inventory/proof lanes, two disjoint Luna-xhigh identity-policy/publication-test union helpers, two fresh independent whole-boundary Luna-xhigh reviewers, and bounded Luna-xhigh retirement/Luna-high egress-proof fix helpers. General inspected every returned diff against authority and both heads, caught and corrected a Mockito matcher interaction, integrated, validated and owns publication. Private evidence:
/home/ben/src/FireMUD-project-direction/tmp/review-ledgers/pr-2872.md.FireMUD LOC impact
Compared
e8aa01601b4a→513ead19624a(PR merge-base → head).PR scope: 51 changed files · 6,129 added textual lines / 165 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.