You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Java render-helper-conformance has no xpkg-collision (ADR-0041) coverage #220
Discovered while reviewing #389255c57 (fix(csharp): payload-generator resolves bare @payloadRef in a named package) and auditing cross-port conformance coverage of fixtures/template-output-render-conformance/.
Every other port that runs this shared corpus exercises the xpkg-collision/ sub-corpus (ADR-0041 cross-package short-name @objectRef resolution — DigestDoc over two colliding Note VOs in different packages):
Java's GeneratedRenderHelperConformanceTest.java (server/java/codegen-spring/src/test/java/com/metaobjects/generator/spring/) has zero references to xpkg, Digest, or DigestDoc. Its coverage stops at document/email/XSS/nested-OrderEmail/drift — the FQN-exact nested @objectRef resolution gate (ADR-0041) is not exercised at all for the Java/Spring port.
Ask
Add the xpkg-collision/ case to Java's render-helper-conformance suite, following the pattern the other 4 ports already use (load meta.alpha.json + meta.beta.json + meta.app.json, generate+compile the DigestDoc render helper, assert FQN-exact resolution binds each ref to its own package). This closes a real cross-port parity gap, independent of the payloadRef bug in #389255c57.
`GeneratedRenderHelperConformanceTest.xpkgCollisionRenderHelperMatchesCorpusOracle` (`f840bafc`) loads the three-package `xpkg-collision/` fixture, generates the payload + `DigestDoc` render helper, compiles the output, and invokes `render(payload, provider)` asserting `"Alpha=AA Beta=BB"` — matching the oracle the other four ports pin. Feasible only after the ADR-0044 fix (#219): the two colliding `Note`s emit as distinct `AcmeAlphaNotePayload` / `AcmeBetaNotePayload` records. The Kotlin note in this issue is also addressed — `KotlinRenderHelperConformanceTest` upgraded from "a file exists" to compile+assert two distinct classes (shipped in Maven `7.11.2`).
Activity
docs(decisions): ADR-0044 payload-record naming under cross-package c…
fix(codegen-spring): collision-scoped payload record naming (ADR-0044, …
fix(codegen-kotlin): collision-scoped payload class naming (ADR-0044, #…
chore(release): 0.19.3 (npm/NuGet) · 0.19.3 (PyPI) · 7.11.2 (Maven) — #…
dmealing commentedon Jul 21, 2026
Completion note (auto-closed by f840baf):
`GeneratedRenderHelperConformanceTest.xpkgCollisionRenderHelperMatchesCorpusOracle` (`f840bafc`) loads the three-package `xpkg-collision/` fixture, generates the payload + `DigestDoc` render helper, compiles the output, and invokes `render(payload, provider)` asserting `"Alpha=AA Beta=BB"` — matching the oracle the other four ports pin. Feasible only after the ADR-0044 fix (#219): the two colliding `Note`s emit as distinct `AcmeAlphaNotePayload` / `AcmeBetaNotePayload` records. The Kotlin note in this issue is also addressed — `KotlinRenderHelperConformanceTest` upgraded from "a file exists" to compile+assert two distinct classes (shipped in Maven `7.11.2`).
docs(roadmap): record the #210 ruling and its two blocking preludes