chore(archunit-rules): refresh stale PR-PLATFORM-5 stub comment (#325) #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/archunit-rules-pom-comment-325"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Comment-only documentation fix to
archunit-rules/pom.xml(follow-up #325).The pom's top-of-file
<!-- -->header comment carried a pre-#315 v1.0-scaffold placeholder:That text is false. The real member-level
@Versionrule and its self-test shipped in #315 (main4a76fff). Because the comment is published verbatim into the deployedarchunit-rules-1.1.0-SNAPSHOT.pom, the autonomous PR reviewer — whose sandbox cannot inspect the resolved jar — kept reading the stale text and re-raising a MAJOR "still a stub" finding on every consumer PR (#319 → #325). Refreshing the comment removes that recurring false signal.What changed
Replaced the stale comment with text describing the current state:
EntityVersionParity.entitiesMustCarryVersion()enforces ADR-0001 §1.4 — every JPA@Entitymust carry a@Versionfield/accessor for optimistic-lock detection.ArchCondition<JavaClass>overgetAllFields()/getAllMethods()(since@Versionis a field/method-target annotation never present on the class itself), with exclusions@Immutable/..audit../..replica..andallowEmptyShould(true).@Version+ the 3 exclusions; negative fixture: an unversioned@Entitymust violate). Consumers wire it via@AnalyzeClasses+@ArchTest(#319).No
<dependency>,<version>, or build-config edits — only the<!-- -->block.Verification
mvn -B -pl archunit-rules -am validate→ BUILD SUCCESS (pom parses)mvn -B -pl archunit-rules test→Tests run: 2, Failures: 0, Errors: 0; 0[WARNING](rule 62)Note
Re-publishing the SNAPSHOT to the Forgejo registry happens AFTER merge (the coordinating session handles it). This PR does not deploy.
Out-of-scope observation (NOT changed here)
archunit-rules/src/main/java/com/aim2be/platform/archunit/EntityVersionParity.javalines 37-39 carry the SAME stale "v1.0 scaffold: the rule body lands in PR-PLATFORM-5" claim in the class Javadoc. That source-level Javadoc does not ship in the deployed pom, so it does not drive the reviewer false-positive — left untouched to keep #325 strictly comment-in-pom-only. Worth a separate follow-up if a full sweep is desired.hib-pr-reviewer review — PR #13 (affinity-intelligence-rework/im2be-platform-libs)
Round 1 — head
ba09c38b8796, basemain, triggeropenedTL;DR: NO_NEW_FINDINGS — No new findings this round.
Summary
[quorum-converged] A=0 = B=0. This PR updates a comment block in
archunit-rules/pom.xml, replacing a stale stub reference to PR-PLATFORM-5 with an accurate summary of the implemented rule, its ADR reference, implementation details, and consumer wiring. The change is purely documentary — no production code, build config, or dependency declarations are modified.CI status (head
ba09c38b8796)Overall: ⏳ pending
2 checks: 2 pending
Findings
No new findings this round.
Quorum converged on empty findings (A + B both returned 0).
Verdict
NO_NEW_FINDINGS
hib-pr-reviewer • round 1 • 0 findings • 2026-05-29T14:01:53.227Z → 2026-05-29T14:02:01.482Z • posted-as: pr-reviewer-bot • [bookkeeping fallback]