Repository navigation
Unit 1B: canonical Account UUID propagation through shared JWT callers - #2969
benhook1013 wants to merge 6 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 |
|
Receiving-owner disposition: source #2923 route 293f50146195d3bffe17e0d94097b847addffb16ef8b9e3928c1406b9340f537 is accepted/fixed at783dd1ea6bcd3b76cae474a032f0a551066a00ee. Source link: #2923 (comment) . Complete60-file JWT/caller/fixture boundary passes122fresh Common cases and final ten-module checks/JARs/docs; controller retarget/resolution/history and configured #2929→#2969→#2932 order are read back. These implementation/proof continuations are not independent review rounds or provider taper. Document has the exact #2932 parent handoff; Social UUID child, skipped database/fresh-image/live and exact-head CI proof remain separate. |
|
#2932 exact composed head The bounded origin check routes two concrete inherited fixture issues to this owning Account parent. Its owner should adjudicate and record their fix or retarget; Document has not changed #2969.
All three paths are byte-identical to published #2969 |
|
Follow-up to the inherited fixture route: composed #2932 exact 8b82668 CI37184732457 executes Account integration182/15fail/0skip after your5f816 corrections (previous58fail). HTML report evidence, not rawXML: JOIN40/2fail (failedJoinReplaysStoredOutcomeAndRejectsChangedPolicyDigest expected AuthenticationException but none; append-only negative expected jOOQ DataAccessException but actual Spring DataIntegrityViolationException with real trigger denial), reconciliation12/8fail (sample fixture UPDATE violates account_audit_outbox_retry_state_check), UUIDstorage migration6/5fail (sample missing issuance/envelope relations, plus PostgreSQL postmaster-exit logs requiring cause adjudication). These are not declared flakes or repaired. Please adjudicate the remaining owning fixture/proof boundary; exact artifact details continue under the sole watcher. Source patch remains byte-identical; Document has not changed parent code. |
|
Remaining exact-carrier CI findings, routed to General in controller inbox |
Validation Summary❌ One or more validation checks failed
Coverage reports and failure logs are available in the workflow artifacts. |
Boundary and approved stack
Exact candidate
dd0b182d436d18e483ef9d85b403e893fe84dc8e, 63 unique files, stacked on #2929ce057022f48137b861025a47795640a90a4a82de.Approved order: #2929 profile/management-owner front → this complete JWT-propagation child → #2932 gameplay carriers → General Social UUID child. Document owns #2932 reconciliation; its branch is untouched. This is the complete shared-auth repair routed from #2923, not a second broad review programme or a gameplay-carrier rewrite.
Change
subandaccountIdcarry the exact canonical non-nil Account UUID unchanged through claim validation, session identity helpers and gRPC forwarding. Reject numeric, nil, uppercase/noncanonical, whitespace-normalized, array and other non-string values, and reject subject/claim mismatch.accountId. An internal flag cannot discard a present malformed account identity. Callback completion/cancel/error cleanup remains proved; malformed internal identity denies before dispatch and clears prior context.Proof
Final consolidated ten-module full checks, Account/Game Session/Social boot JARs, links and Markdown pass: 357 tasks, 17 executed / 340 up-to-date. Enabled Java formatting and static analysis passed in the corrected component/consolidated gates; diff hygiene is clean.
Common Security's immediately preceding corrected full check freshly ran 122 cases, zero failures/errors/skips (34 tasks, 10 executed / 24 up-to-date). These include exact UUID forwarding, malformed and contradictory claims, true account-free internal workload positives, malformed-internal negatives and callback cleanup.
The final consolidated gate reused the preceding service executions; it is not all-fresh evidence. XML aggregates (cases / skipped / failures+errors): Account840/178/0, Game Session2463/207/0, Social117/16/0, Automation1279/88/0, Logging233/14/0, Gateway210/0/0, Entity210/4/0, Game Design410/51/0, World167/11/0. Account negative fixtures distinguish malformed/numeric authentication (401) from a different valid UUID's denied authority (403), with zero dispatch. Logging integration compilation no longer depends on a unit-source-set helper.
Inherited Account fixture correction
The exact #2932 composed CI 37181984029 exposed inherited Account fixture defects. 5f816e28b corrects two namespace fixtures to canonical UUIDs and supplies the migration fixture's actual
serviceSchemaplus a valid-length username. Only three test paths changed; production guards, published migrations, retained-row/ciphertext and concurrent-writer assertions remain unchanged.run-locked-gradle.sh :account-service:spotlessApply :account-service:check :account-service:bootJar -PfullCheckpassed (67 tasks, 13 executed / 54 up-to-date). All 178 PostgreSQL integration cases compiled but skipped locally without Docker; this is not corrected database execution or proof that all 58 inherited CI failures are resolved. Document owns propagation into #2932. Ordinary exact-head CI and database recovery proof remain separate.Executed Account runner follow-through
Exact CI37184729393 on
5f816e28b5fe135e0116bb9ca3d81476f79b129fexecuted182Account integration cases with15failures and0skips (down from58). a276d937f corrects the three failing fixture suites: isolated JDBC schema search path; clearing next_attempt_at for COMMITTED audit evidence; typed changed-policy denial; and Spring-translated append-only constraint exceptions. Production code, published SQL, retained-data/ciphertext assertions and no-mutation checks are unchanged.Corrected local Account formatting/check/JAR passed67tasks(13executed/54up-to-date). All178 locally discovered PostgreSQL cases compiled but skipped without Docker;662unit results were reused, with zero failures/errors/skips. Corrected-head database execution remains required. Aggregate CI also failed inherited Python, Gateway documentation, Game Design and TCP work, not claimed fixed here. Document owns propagation into #2932.
Final Account fixture follow-through
CI37186939305 executed 182 Account integration cases with four failures and zero skips; all six Account UUID migration cases passed. dd0b182d4 corrects only two inherited test files: a genuine owner LEFT precedes reactivation and advances receipt/authority sequences; referenced scope deletion is refused with exact unchanged scope/operation readback; recovered success retains its prior reconciliation diagnostic. Append-only denials and expired-scope PENDING/readback-only behavior remain asserted. Production and published SQL are unchanged.
The corrected Account formatting/check/boot-JAR gate passed (67 tasks, 13 executed / 54 up-to-date): 662 unit results passed/reused, 178 local PostgreSQL cases compiled but skipped without Docker. Corrected PostgreSQL execution is not yet claimed. Document owns #2932 propagation, after which #2976 will run explicit strict suite/case proof on the combined candidate.
Review history and limits
The originating #2923 Major route is
293f50146195d3bffe17e0d94097b847addffb16ef8b9e3928c1406b9340f537; it moves here with published proof, without changing source review counts. #2929's five pre-review rounds and all accepted fixes remain in its front/history. These bounded implementation/proof helpers are not new independent passes and grant no CodeRabbit taper.The distinct Social Major route
4bb1cbdc170088d795dc6a5a38c8e9c269149fd2356271ebbbdc43eb925b2b06remains a General implementation obligation for the coherent Social child after #2932. That child must converge the six account-bearing tables, storage/APIs, exact Account profile response/bulk identities and affected consumers, preserving all published migrations and refusing nonempty affected tables under the complete concurrent-write fence. Existing friend privacy/redaction and removed Gateway routes remain authoritative.Local Docker/PostgreSQL and fresh-image/live identity/consumer activation proof are unavailable. Skipped cases do not prove database behavior. Exact-head CI, provider review and #2932 reconciliation are separate gates; runtime membership/catalog/credential activation remains denied. No CodeRabbit requested, merge, auto-merge or merge-readiness claim.
Executed corrected PostgreSQL proof
Exact CI37189893390 completed on Logging child
a975fb45c1aedfe62a3806274912e7f58333b3b6, containing Sociale7602392688174dec01c0b1961642d14fdc1ff10and owning Account correctiondd0b182d4through the exact carrier parent. The Account, Social and Logging jobs passed. Strict JUnit inspection proved 71 targeted PostgreSQL cases executed, with zero skips, failures or errors:Aggregate Validation still failed on inherited Game Design, TCP Proxy, Python and dev-tool checks; Game Session was cancelled. Documentation and Gateway jobs passed. Document #2933 owns the assigned Game Design/Gateway/TCP corrections and final descendant composition, while Gameplay owns the Python capture repair. These failures are not waived or misrepresented as green required CI. Local skipped/reused evidence above remains historical; this runner supplies the specific executed database proof, not fresh-image, live identity/consumer activation, real recipient delivery or provider-review proof. No CodeRabbit was requested and no review/taper credit is claimed.
FireMUD LOC impact
Compared
ce057022f481→dd0b182d436d(PR merge-base → head).PR scope: 63 changed files · 972 added textual lines / 404 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.