Skip to content

docs: refresh contributor flow + add PR / issue templates + CODE_OF_CONDUCT#16

Merged
DemchaAV merged 1 commit intodevelopfrom
docs/contributor-flow-v1.6.1
May 9, 2026
Merged

docs: refresh contributor flow + add PR / issue templates + CODE_OF_CONDUCT#16
DemchaAV merged 1 commit intodevelopfrom
docs/contributor-flow-v1.6.1

Conversation

@DemchaAV
Copy link
Copy Markdown
Owner

@DemchaAV DemchaAV commented May 9, 2026

What this is

Brings the contributor-facing docs in line with the post-v1.6.1 reality and adds the standard OSS hygiene files that were missing.

CONTRIBUTING.md updates

  • Java 17 baseline section — explicit list of Java 21+ APIs and language features to avoid (List.getFirst/getLast, Thread.threadId(), switch with type / deconstruction patterns, case null, default ->, List.reversed()) so contributors don't get surprised by Linux CI on JDK 17.
  • Branch-naming hint also accepts issue-prefixed names (42/fix/...) — what @jottinger naturally used in Updates module dependencies #11/8/migrate to java 17 #12.
  • Required CI checks list refreshed: now reflects the JDK 17/21/25 matrix on Build and run tests, plus the new Examples Generation Smoke Test and the PR-only Performance Smoke Check.
  • Release flow rewritten to match cut-release.ps1 truth: bumps in all three POMs (root, examples, benchmarks), README install snippets intentionally pinned to the previously published tag until JitPack BUILD SUCCESS (the v1.6.0 lesson), tag from develop, post-release commit flips snippets after the publish window closes.
  • Dead test references removed: BuiltInTemplateRenderTest, CvTemplateV1LayoutSnapshotTest (both deleted with Templates v2 in v1.6.0), LivePreviewProvider (file no longer present). Replaced with the v2 PresetVisualParityTest / PresetLayoutSnapshotTest pair.

New files

  • .github/pull_request_template.md — checklist a contributor sees on every "New PR" page: targets develop, branch naming, Java 17 compat, CHANGELOG entry hint, README guard reminder, examples gallery row count rule.
  • .github/ISSUE_TEMPLATE/bug_report.md — repro template with canonical-API skeleton + environment block.
  • .github/ISSUE_TEMPLATE/feature_request.md — use case + proposed API + ADR-worthy gate.
  • CODE_OF_CONDUCT.md — Contributor Covenant 2.1, maintainer email points at the published gmail in pom.xml.

Verification

Architecture + Documentation guard suite (incl. DocumentationCoverageTest.contributingGuideShouldRequireCleanVerifyGate which scans CONTRIBUTING.md) passes locally:

[INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0
[INFO] BUILD SUCCESS

Docs-only change. No source touched.

Closes nothing; sets up the soil for future PRs to land cleanly.

CONTRIBUTING.md edits (targeted, preserve existing structure):
- Add Java 17 baseline section near top — explicit list of Java
  21+ APIs / language features to avoid (List.getFirst/getLast,
  Thread.threadId, switch type/deconstruction patterns,
  case null+default, List.reversed) so contributors don't get
  surprised by Linux CI on JDK 17.
- Update branch-naming hint to also accept issue-prefixed names
  like 42/fix/short-description.
- Refresh "Required CI checks" list to reflect post-v1.6 reality:
  JDK 17/21/25 matrix on Build and run tests, plus the new
  Examples Generation Smoke Test and the PR-only Performance
  Smoke Check.
- Rewrite the Release flow subsection so it matches what
  cut-release.ps1 actually does today: bumps in *all three*
  POMs (root + examples + benchmarks), README install snippets
  intentionally pinned to the previously published tag until
  JitPack BUILD SUCCESS confirms the new build, tag from
  develop (not main), post-release commit flips snippets after
  the publish window closes.
- Replace dead test references (BuiltInTemplateRenderTest,
  CvTemplateV1LayoutSnapshotTest — both deleted with Templates
  v2 in v1.6.0) with the v2 PresetVisualParityTest /
  PresetLayoutSnapshotTest pair.
- Drop reference to LivePreviewProvider (file no longer in tree).

New files (OSS-standard, missing until now):
- .github/pull_request_template.md — checklist a contributor sees
  on every "New PR" page: targets develop, branch convention,
  Java 17 compat, CHANGELOG entry hint, README guard reminder,
  examples gallery row count.
- .github/ISSUE_TEMPLATE/bug_report.md — repro template with
  canonical API skeleton + environment block.
- .github/ISSUE_TEMPLATE/feature_request.md — use case +
  proposed API + ADR-worthy gate.
- CODE_OF_CONDUCT.md — Contributor Covenant 2.1 verbatim with
  the maintainer email pointed at the published gmail in pom.xml.

Local verification:
- ./mvnw -B -ntp test -Dtest='CanonicalSurfaceGuardTest,DocumentationCoverageTest,DocumentationExamplesTest' → 25/0/0/0
@DemchaAV DemchaAV merged commit d6c2783 into develop May 9, 2026
7 checks passed
@DemchaAV DemchaAV deleted the docs/contributor-flow-v1.6.1 branch May 9, 2026 09:57
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