Skip to content

PR15/15: build gates — enforcer convergence, Boot 3.5.16, wrapper, formatter 4.35, secrets CI, Dependabot#274

Open
Gcolon021 wants to merge 48 commits into
psar/14-hpdsfrom
psar/15-build-gates
Open

PR15/15: build gates — enforcer convergence, Boot 3.5.16, wrapper, formatter 4.35, secrets CI, Dependabot#274
Gcolon021 wants to merge 48 commits into
psar/14-hpdsfrom
psar/15-build-gates

Conversation

@Gcolon021

Copy link
Copy Markdown
Contributor

Follow-up governance PR closing out the consolidation stack — one commit per concern:

  1. Enforcer gates: dependencyConvergence + duplicate-responsibility bans (transitive: commons-httpclient, org.json; direct: junit:junit, okhttp). Passes reactor-wide with zero new pins. HC4 ban stays deferred (FO-1, HPDS etl).
  2. Spring Boot 3.5.9 → 3.5.16 (root + platform lockstep) — aligns the reactor with the version the carved services were developed against.
  3. Maven wrapper (3.9.9).
  4. Workflows run ./mvnw; the catch-all workflow gains dependency caching.
  5. Spotless Eclipse formatter 4.26 → 4.35 + reactor normalization — resolves the documented PR PR13/15: pic-sure-auth-microapp (psama) — adopt parent + BOM (Java 25) #272 exception (4.26 crashed on psama's Java 21 guarded patterns): psama fully normalized (85 files), 5 files of drift elsewhere. spotless:check is now green on every module. Two synthetic test JWTs in RASPassPortServiceTest.java gained // gitleaks:allow trailing comments (repo false-positive convention) when the reformat re-touched their lines.
  6. Secrets gate persisted: checksum-pinned gitleaks PR scan workflow, optional pre-push hook mirroring the pre-commit convention, .gitleaksignore scaffold.
  7. Consolidated root dependabot.yml (maven reactor + github-actions). Old-layout Dependabot PRs Bump org.apache.commons:commons-lang3 from 3.7 to 3.18.0 #231/Bump org.apache.logging.log4j:log4j-core from 2.18.0 to 2.25.4 #247/Bump com.fasterxml.jackson.core:jackson-databind from 2.18.6 to 2.22.0 #251 to be closed after the stack merges.

Verified: full-reactor ./mvnw -T1C clean verify green at tip; reactor-wide spotless:check green; gitleaks clean over the whole range; only the style commit touches service trees, Java files only.

Gcolon021 added 30 commits July 10, 2026 15:10
…60aecdde1f6e6f088fb6'

git-subtree-dir: libs/pic-sure-logging-client
git-subtree-mainline: cbe65b4
git-subtree-split: a26baf4
…f6d9ca0ac54e9'

git-subtree-dir: libs/pic-sure-commons
git-subtree-mainline: 89d53c9
git-subtree-split: 8fc524f
Add QueryTranslator support for translating legacy v1 query shapes to
the v3 query model, plus UntranslatableQueryException for queries that
cannot be represented in v3.
…faces

Scaffold the hpds-query-service Spring Boot application: v3 query
controller/service, variable search controller/service, and the
supporting HPDS/operations HTTP clients, gateway auth wiring, and
config/error/health plumbing.
Add the count/cross-count aggregate controllers, backend client, and
obfuscation/visualization-formatting services that sit on top of the
HPDS aggregate query endpoints.
…pi-model replaces resource-api

Carved from pic_sure_api_mono_repo @ carve-source. Adds the module to the
reactor, the httpclient5 BOM pin, and a reactor-aware path-filtered CI workflow.
Gcolon021 added 14 commits July 11, 2026 10:21
…, Java 25, RestClient+HC5; api-model replaces jitpack deps; runtime-only Dockerfiles

Carved from pic_sure_api_mono_repo @ carve-source. Adds both modules to the
reactor and a reactor-aware path-filtered CI workflow.
…C5, drop org.json/HC4; fix never-runnable weights tests

Carved from pic_sure_api_mono_repo @ carve-source. Adds the three modules to
the reactor and a reactor-aware path-filtered CI workflow.
… pin against Spring-BOM Jetty 12)

Carved from pic_sure_api_mono_repo @ carve-source. Adds the module to the
reactor, the logstash-logback-encoder BOM pin, and a reactor-aware
path-filtered CI workflow.
…it4 + mismatched Jackson pins

Carved from pic_sure_api_mono_repo @ carve-source. Adds the module to the
reactor, the okio convergence pin, and a reactor-aware path-filtered CI
workflow.
…red per spec)

Carved from pic_sure_api_mono_repo @ carve-source. Adds the aggregator module
to the reactor and a reactor-aware path-filtered CI workflow. HPDS-scoped
dependency pins live in the service's own poms.
Ported from the consolidation line: bans commons-httpclient and org.json
transitively, junit:junit and okhttp as direct declarations, and turns on
dependencyConvergence reactor-wide. Passes with zero new version pins.
Aligns the reactor with the version the carved services were developed and
tested against. Convergence gates stay green.
Pins the build tool for contributors and CI; .gitignore already whitelists
the wrapper jar.
All seven workflows now use the pinned wrapper; the full-reactor catch-all
gets the same setup-java maven cache the per-service workflows already had.
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: fe3993c5-2d53-4750-85e4-a9b6fc9ca536

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch psar/15-build-gates

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.

@Gcolon021
Gcolon021 force-pushed the psar/14-hpds branch 2 times, most recently from f31c1d2 to bafd282 Compare July 14, 2026 18:12
@gitguardian

gitguardian Bot commented Jul 14, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
34518621 Triggered Generic High Entropy Secret 8d013b0 services/pic-sure-hpds-query-service/src/test/java/edu/harvard/hms/dbmi/avillach/query/hpds/HpdsBackendSelectorTest.java View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices. AWS Best Practice
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@Gcolon021 Gcolon021 added the enhancement New feature or request label Jul 14, 2026
4.26 cannot parse Java 21 guarded-pattern switches (crashed on psama's
AccessRuleService - the documented PR #272 exception). 4.35 parses the whole
reactor, so incremental spotless:apply works on every module. The reactor-wide
normalization has been dropped per project preference (format incrementally,
only files a developer is already changing - no mass reformat).

RASPassPortServiceTest.java is kept formatted solely to preserve the two
'// gitleaks:allow' annotations on its synthetic JWTs, which keep the
secrets-scan gate green; .gitleaksignore is only a scaffold.
…e scaffold

Persists the carve's manual secrets gate: every PR is scanned in CI with a
checksum-pinned gitleaks 8.30.1, and an optional pre-push hook mirrors the
existing pre-commit convention (NO_VERIFY escape hatch, .gitleaksignore for
documented false positives).
Replaces the old-layout scanning; Dependabot PRs #231/#247/#251 target the
pre-monorepo layout and will be closed once the stack merges.
…t stdin

Final-review hardening: gitleaks inside the while-read loop shared the
hook's stdin; a stdin-consuming invocation would swallow the remaining
ref lines. Redirecting from /dev/null makes the loop robust regardless
of gitleaks' behavior.
@Gcolon021
Gcolon021 force-pushed the psar/15-build-gates branch from 6d7092f to 9db9d34 Compare July 16, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant