Skip to content

Unit 1B: canonical Account UUID moderation/report receivers and guarded Logging cutover - #2976

Closed
benhook1013 wants to merge 9 commits into
codex/social-account-uuid-cutoverfrom
codex/logging-account-uuid-receiver
Closed

benhook1013 wants to merge 9 commits into
codex/social-account-uuid-cutoverfrom
codex/logging-account-uuid-receiver

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Boundary and approved stack

Complete 25-path Logging UUID receiver/storage and executed-proof child of #2975 Social/Account/callers front after #2932. Exact front parent: e7602392688174dec01c0b1961642d14fdc1ff10; child head: a975fb45c1aedfe62a3806274912e7f58333b3b6.

Approved topology: #2929 → #2969 → #2932 carriers → Social UUID front → this Logging receiver → #2933 descendants. Document owns reconciliation of its descendants. This is the approved coherent extraction from the preserved complete candidate e97c8b69d9a8188a648d60d41ab4b436455e26e3, not a new feature programme.

Complete receiver boundary

  • Moderation/report Account selectors, DTOs, entities, queries and receiving guards converge on canonical non-nil Account UUIDs. Tenant IDs, private rows and ordinary generic log metadata remain distinct.
  • New LoggingV6 locks both affected tables and only permits conversion when the complete set is empty. Any retained data refuses atomically unchanged; no casts from numeric identity, UUID derivation, deletion or guessed mappings. Previous migrations remain byte-identical.
  • Removes fabricated demo moderation/report Account subjects while preserving ordinary startup log seeding.
  • Retains all receiver authorization, unavailable-operation, malformed-identity, storage migration and retained-data/concurrent-write tests, plus both canonical Logging owner docs.
  • Moderation/report operations remain unavailable. Installing this UUID receiver does not implement or activate the separate owner mutation/reference/audit contract. Social front alone also makes no receiver-capability claim.

Preservation and proof

23/23 extracted paths bytewise match the preserved full candidate. Together with the front's84 disjoint paths, they preserve every one of the original107 unique paths; the initial split changes only the existing tracker wording. The subsequent merge adds only the separately owned three Account fixture corrections; both unique binary patches remain identical. The front independently passed its seven-component/four-JAR/docs gate with unchanged Logging receiver code.

run-locked-gradle.sh :logging-admin-service:generateJooq :logging-admin-service:check :logging-admin-service:bootJar :social-groups-service:check :social-groups-service:bootJar linkCheck lintMarkdown -PfullCheck passed: 109 tasks;75 executed,32 from cache,2 up-to-date. XML reports377 cases,339 passed,38 skipped,0 failures/errors. All five LoggingV6 PostgreSQL migration cases skipped; generation uses the H2 model and is not PostgreSQL execution. PackagedV6 exactly matches source (SHA-256 e5c7abfa1edafdecdcdf43f8d5300d7a5d6f58f4a18501542832d37d80a2f512). Links, Markdown, Flyway sanity (12 sets/147 migrations) and diff hygiene pass.

Limits and handoff

Local Docker/PostgreSQL are unavailable; skipped migration/retained-data/concurrent-writer cases do not establish runtime cutover. Fresh-image, live authentication, deployment and real delivery remain unproved. Account-owned authoritative retained-data recovery is unfinished. Exact-parent composition and all required CI/provider reviews remain separate merge-readiness gates.

#2969's test-only inherited Account fixture repair5f816e28 is included in Document’s actual published8b8266884 parent and both General stages; no parent is guessed. No CodeRabbit, merge or auto-merge requested.

Published receiver route closeout

The actual owning Logging boundary also resolves existing #2972 route 85f82af5… at 628044b50322388028e72978dd9766783867e139: EvaluateModerationPolicy accepts the canonical UUID through its authenticated allowlisted Game Session/Social receiving path instead of parsing a positive numeric Account selector. Exact positive and negative receiver proof passed within219 Logging unit cases. This fixes parsing/receiving only; it does not activate moderation/report mutations, prove PostgreSQL storage or claim successful live gameplay admission. Native route disposition preserves the source counts.

Corrected-parent final checkpoint

After Document published #2932 8b826688497214f5fd27d0d355e8646de008e6a2, both General stages merged that exact parent. The complete23-file Logging binary patch is unchanged across the merge. Final child d6b24e5e3b64a30405b0a5258a85de81615dca4f passes Account/Logging/Social full checks, three boot JARs and docs:141tasks (27executed/11cache/103up-to-date), XML1009passed/216skipped/0failures/errors. PackagedV6 source equality and diff hygiene pass. All five V6 PostgreSQL cases remain skipped; this is not runtime cutover proof.

No new discovery/provider review or taper credit. Exact-head required Validation/database proof, fresh-image/live activation and Document's descendant reconciliation remain separate gates.

Previous corrected runner candidate

Previous child 330259f7d7e1d16f91476e37bcba755e62a2287e is based exactly on Social b0885a1612a13d6b344e20ea6955e05e8794d202, which contains Document #2932 a1d6b956cd76b66fbb327d62a1348c5538be5fab and Account correction a276d93. All23unique Logging paths and their complete binary patch survive the parent propagation unchanged.

Earlier CI37185192137 executed19Logging integration cases:17passed,2failed,0skipped. Both retained-data refusal cases and the concurrent-writer refusal passed. The two successful migration cases failed only because their expected six history rows omitted the three Saga migrations; UUID and generic-log numeric-type checks already passed. Fixture correction d8fdf0a68 keeps full migration discovery and all retained-data/lock/readback assertions, expecting nine entries. No production or SQL change; the Social fixture correction is also composed here.

Focused Logging formatting/check/JAR passed67tasks(13executed/54up-to-date). Final exact-parent Account/Social/Logging checks and three JARs pass138tasks(7executed/6cache/125up-to-date). XML1009passed/216skipped/0failures/errors; results are reused/skipped, not corrected PostgreSQL execution. One exact combined runner will supply the missing database gate. Aggregate inherited tooling/Game Design/TCP failures, fresh-image/live activation and provider review remain separate gates. Earlier head-specific evidence above remains historical, not new review credit.

Final aligned checkpoint and explicit runner proof

Current child a975fb45c1aedfe62a3806274912e7f58333b3b6 is based on Social e7602392688174dec01c0b1961642d14fdc1ff10, which contains exact Document #2932 3a1ca84ead43fd2498742a1b388c724e3b82497a and the final Account fixture correction dd0b182d4. The original 23 Logging paths remain preserved; two additional CI/contract files make the final unique boundary 25 files. The complete Logging/CI binary patch survived parent propagation unchanged (SHA-256 8583fe33069ffcf11a134365f13113f8de0fc9fa94de5059f6bf26e34622f1a4).

The existing strict JUnit inspector now requires executed Account JOIN, reconciliation and storage-migration proof, plus Social and Logging migration suites after fresh, cache-free CI checks. Missing/duplicate/malformed reports, skips, failures and missing required cases fail closed. Parsed-workflow mutation contracts verify strict mode, module placement, required suites/cases, fresh-cache flags and absence of continue-on-error. No production, published migration or retained-data rule changes are included in this proof wiring.

Final combined Account/Social/Logging checks and three boot JARs pass 138 tasks (14 executed / 124 up-to-date). Existing XML: Account 848 cases / 178 skipped; Social 139 / 19 skipped; Logging 238 / 19 skipped; zero failures/errors. Account integration reports refreshed but skipped; Social/Logging migration reports were reused and skipped. This is not local PostgreSQL execution. The tooling contract, ShellCheck, Actionlint and diff hygiene pass.

Previous CI37186939305 passed Social/Logging jobs, but emitted no successful named-case counts. Account executed 182 integration cases with four remaining fixture errors, now corrected in the owning parent; its six UUID storage migration cases passed. Final exact CI37189893390 completed on this head with the explicit executed proof below; its sole read-only watcher is finished.

Document #2933 owns the inherited Gateway/Game Design/TCP repairs and its descendant composition; Gameplay owns the Python capture repair. Required aggregate CI, provider review, fresh-image/live identity and consumer activation remain separate gates. No merge, auto-merge, CodeRabbit request or new pre-review credit.

Executed corrected PostgreSQL proof

Exact CI37189893390 completed on Logging child a975fb45c1aedfe62a3806274912e7f58333b3b6, containing Social e7602392688174dec01c0b1961642d14fdc1ff10 and owning Account correction dd0b182d4 through 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:

  • Account job111399761822: JOIN40, reconciliation12, storage migration6; all required named cases passed, including real LEFT→reactivation, exact expired-scope recovery, guarded scope-deletion refusal, fresh/empty storage and concurrent-writer refusal.
  • Social job111399761681: migration8, covering fresh/empty success, all six retained-table refusals and concurrent writer; required named cases passed.
  • Logging job111399761658: migration5; fresh schema, empty V5 upgrade, both retained-data refusals and concurrent writer all passed.

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 e76023926881 → a975fb45c1ae (PR merge-base → head).
PR scope: 25 changed files · 684 added textual lines / 131 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 766,162 766,640 +478 +0.1%
 Source 677,067 677,515 +448 +0.1%
  ↳ Code 287,633 287,646 +13 +<0.1%
  ↳ Tests 389,434 389,869 +435 +0.1%
 Markdown 58,808 58,809 +1 +<0.1%
 Design 61,492 61,493 +1 +<0.1%
  ↳ Architecture 45,160 45,161 +1 +<0.1%
  ↳ Project management 5,612 5,612 0 0.0%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 6,529 6,529 0 0.0%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 460 460 0 0.0%
  ↳ Other design 79 79 0 0.0%

Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.

@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository YAML (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: d2fc31c1-6be1-478d-9fb3-c3d98e08a9d6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Validation Summary

❌ One or more validation checks failed

  • ❌ Validation gate: failure
  • ✅ Buf generation: success
  • ✅ Dockerfile lint: success
  • ✅ ShellCheck: success
  • ❌ Python script validation: failure
  • ❌ Dev tool contract checks: failure
  • ⏭️ Dev Tools README contract: skipped
  • ✅ YAML lint: success
  • ✅ Metrics cardinality policy check: success
  • ✅ Flyway migration sanity checks: success
  • ✅ gRPC transport configuration sanity checks: success
  • ✅ GitHub workflow lint: success
  • ✅ Helm chart lint: success
  • ✅ Helm render validation: success
  • ✅ Helm transaction proof: success
  • ✅ Validate Documentation: success
  • ✅ Frontend checks: success
  • ❌ Service build/test matrix: failure

Coverage reports and failure logs are available in the workflow artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant