adityamparikh opened a new pull request, #318:
URL: https://github.com/apache/solr-mcp/pull/318

   > Stacked on #315 (this branch includes its commit). This PR's own change: 
https://github.com/apache/solr-mcp/pull/318/commits/f1b7a780aa51fbb27b1eaf87cc861c1e9e879977
   
   ## Summary
   
   Two checks that exist in the build never ran before merge.
   
   ```diff
    ci.yml
      build:
   -    ./gradlew classes testClasses spotlessCheck
   +    ./gradlew classes testClasses spotlessCheck rat
      unit-tests / integration-tests / solr-compatibility    (unchanged)
   +  docker-image:                                          # needs: build
   +    ./gradlew dockerIntegrationTest                      # → jibDockerBuild 
first
   +    upload build/test-results/dockerIntegrationTest/
   ```
   
   - **`rat`** (license-header audit) is part of `check`. Until now a missing 
header first failed after merge, in `build-and-publish.yml`'s `./gradlew build`.
   - **`dockerIntegrationTest` without `-Pnative`** builds the Jib JVM image 
and runs `DockerImageStdioIntegrationTest`, 
`DockerImageMcpClientStdioIntegrationTest` and `DockerImageHttpIntegrationTest` 
against it. `native.yml` runs these tests only for the two Paketo native 
images, so the image published as `solr-mcp:<v>`/`latest` was never tested in 
CI.
   
   The CI-coverage paragraph in `AGENTS.md` is updated to match. #315 had 
changed it to say no workflow tests the Jib image.
   
   ## Evidence
   
   The new commands, run locally in a clean worktree:
   
   - `./gradlew classes testClasses spotlessCheck rat`: BUILD SUCCESSFUL in 8s.
   - `./gradlew dockerIntegrationTest`: `jibDockerBuild` built 
`solr-mcp:1.0.0-SNAPSHOT`, then 58 tests across the three classes above ran 
with 0 failures, 0 errors and 0 skipped. BUILD SUCCESSFUL in 38s, with the base 
image cached.
   - `./gradlew build`: BUILD SUCCESSFUL, 518 tests, 0 failures, 0 skipped.
   
   ## Merge Danger
   
   **Door:** two-way
   
   **Blast Radius:** PR-checks
   
   Every PR gets one more job, needing Docker on `ubuntu-latest` (30-minute 
timeout), and the `build` job adds `rat`. A PR that adds a file without a 
license header now fails before merge instead of after.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • [PR] ci: run rat and the Jib i... adityamparikh (via GitHub) via issues

Reply via email to