Repository navigation
Expose persisted Account UUIDs in registration and local exports - #2965
Conversation
…meplay-account-uuid-producer-foundation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (17)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 SummarySummary
Scope and validation
WalkthroughAccount registration and Account-local exports now expose the persisted Account UUID. Registration audit records use the same UUID. The Account service adds a validated lookup from UUID to numeric storage ID. Authentication, profile, and tenant identifiers remain unchanged. ChangesAccount UUID identity
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Merge Risk: ⚪ Minimal · up to The tracker’s test count is accurate for the suites it names. No actionable issue remains from this review; the skipped PostgreSQL-backed tests remain ordinary validation to complete when Docker is available. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The UUID publication change remains confined to registration and Account-local exports. Persisted identity checks and existing authorization boundaries remain in place; authentication and sessions retain numeric identifiers. Compatibility with external API and audit readers remains unconfirmed. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 3 | ❌ 1 | ❓ 1❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation For [ Full details: Docstring CoverageExplanation Docstring coverage is 4.44% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 45 functions across 11 files. (6 skipped: 6 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
…meplay-account-uuid-producer-foundation
|
@coderabbitai full review |
|
…meplay-account-uuid-producer-foundation
|
@coderabbitai full review |
✅ Action performedFull review finished. |
|
Hosted: 0 found / 0 accepted / 0 routed · 45296e9 · 17 files · 10m 13s |
…meplay-account-uuid-producer-foundation
…meplay-account-uuid-producer-foundation
|
Provenance / later reconciliation: this PR adapts #2929's Account registration DTO and local-export UUID slice from preserved source commit New proof here includes exact persisted Account UUID/source-row provenance checks, mapper rejection, local UUID-to-private-row resolution, registration audit UUID output, and focused registration/export fixtures. The source PR still owns additional profile and Game Session management-owner functionality; its stronger validation and executed fixture assertions must survive later deduplication. This transfer does not activate UUID authentication, Entity ownership, or PLAY, and does not claim wholesale patch equivalence. This is extraction coordination, not a controller route. |
…ount-uuid-producer-foundation
Smoke Summary✅ Full-stack smoke completed with Smoke Gate: success
|
Security Summary✅ Security checks passed or were intentionally skipped
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Static Analysis Summary✅ Static analysis checks passed
CodeQL breakdown
|
Validation Summary✅ All validation checks passed
Coverage reports and failure logs are available in the workflow artifacts. |
|
CLI: 1 found / 1 accepted / 0 routed · db306e9 · 17 files · 2m 07s |
Purpose
Expose Account's persisted, nonnil UUID in registration REST/gRPC responses and the Account component of existing local exports. #2963's V29 storage/provenance foundation is merged; this 17-file stage is based on develop without activating UUID authentication or bypassing PLAY.
Boundary
Validation and review
Parent retarget/reconciliation preserved the original 17-file patch. The subsequent direct corrections bound registration readback failures, fix typed jOOQ result reads and use an explicitly non-admitting retained membership fixture; they do not activate another runtime path.
One earlier whole-boundary Luna XHigh preparation pass found zero actionable issues. A bounded Luna High helper implemented the direct RPC/fixture corrections; Gameplay inspected the exact diff and consolidated proof. Newer develop ancestry and controller readiness reporting remain separate from the verified published fix and green required CI. The ancillary submit-gradle check failed; all five authoritative required gates passed.
This does not finish #2898's authenticated UUID propagation, owner-qualified Entity actor-entry or playable-smoke prerequisites. No worker merge or auto-merge is requested.
FireMUD LOC impact
Compared
12af11646188→c65b4421b314(PR merge-base → head).PR scope: 17 changed files · 445 added textual lines / 26 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.