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
Reviewer round-5 found 3 blockers on `6e7e911` (RAN-47 cf64b44d) plus the
CI build remained red on a single log4j-api umbrella-CPE attribution.
R5-1 — release-java.yml `git commit -S` non-interactive GPG.
setup-java only wires MAVEN_GPG_PASSPHRASE into Maven's settings.xml;
git itself has no equivalent autoconfig and `git commit -S` invokes
gpg interactively by default, which fails in Actions for passphrase-
protected keys. Configured a non-interactive gpg-agent (gpg.conf with
pinentry-mode loopback, gpg-agent.conf with allow-loopback-pinentry)
and wired git.gpg.program to a thin wrapper that exec's into
`gpg --batch --yes --pinentry-mode loopback --passphrase "$MAVEN_GPG_PASSPHRASE"`.
MAVEN_GPG_PASSPHRASE is already passed on each step that signs.
R5-2 — scripts/setup-git-signed.sh OpenPGP key-id support.
Previous version forced an SSH-style file-existence check on
user.signingkey, rejecting contributors whose global config uses
gpg.format=openpgp with a key id / fingerprint. Added GIT_GPG_FORMAT
resolution (env > global > "ssh" default) and per-format validation:
- ssh: existing path-on-disk check
- openpgp: gpg --list-secret-keys must know the key
- x509: gpgsm --list-secret-keys must know the key
- other: reject with a clear error
Maintainer's defaults are unchanged (still ssh-format).
R5-3 — first-time-setup.md fast-loop scope clarified.
`mvn test` only runs Surefire (unit tests); this repo's integration
tests are wired through Failsafe at `integration-test`/`verify`.
Added a fourth `mvn verify -Dspotbugs.skip ...` form for unit +
integration in the inner loop, plus a clarifying paragraph.
CI fix — log4j-api 2.25.3 → 2.25.4.
CI on `6e7e911` was failing solely on:
log4j-api-2.25.3.jar : CVE-2026-34478, CVE-2026-34480, CVE-2026-34481
These are log4j-core CVEs attributed to log4j-api by the umbrella
cpe:2.3:a:apache:log4j:* CPE match. log4j-core 2.25.4 was already
pinned in dependencyManagement; mirrored the pin to log4j-api so
the umbrella-CPE attribution clears (the API jar contains no
vulnerable code; this is a clean trail-consistency bump, not a
suppression). Comment on the override block updated to reflect.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Paperclip <noreply@paperclip.ing>
Copy file name to clipboardExpand all lines: shared/runbooks/first-time-setup.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,12 +89,14 @@ For a faster inner loop while iterating:
89
89
90
90
```bash
91
91
mvn -B -ntp test \
92
-
-Dspotbugs.skip=true -Ddependency-check.skip=true # unit + integration, no static analysis / CVE plugins
93
-
mvn -B -ntp -Dtest=SomeDetectorTest test# single test class
92
+
-Dspotbugs.skip=true -Ddependency-check.skip=true # unit tests only (Surefire), no static analysis / CVE plugins
93
+
mvn -B -ntp -Dtest=SomeDetectorTest test# single unit test class
94
94
mvn -B -ntp -DskipTests=true package # JAR only, no tests
95
+
mvn -B -ntp verify \
96
+
-Dspotbugs.skip=true -Ddependency-check.skip=true # unit + integration tests (Surefire + Failsafe), no static analysis / CVE plugins
95
97
```
96
98
97
-
The first command **does run tests** — earlier drafts incorrectly passed `-DskipTests` here, which would have skipped them. Use `-Dspotbugs.skip` / `-Ddependency-check.skip` to keep the inner loop fast without dropping test coverage.
99
+
The first command **does run tests** — earlier drafts incorrectly passed `-DskipTests` here, which would have skipped them. Reviewer finding cf64b44d (RAN-47, R5-3): Maven's `test` phase only runs Surefire (unit tests). This repo's integration tests are wired through Failsafe at the `integration-test` / `verify` phases — use the fourth form above when you need both unit + integration in the inner loop. Use `-Dspotbugs.skip` / `-Ddependency-check.skip` to keep things fast without dropping test coverage.
0 commit comments