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

   ## Summary
   
   Fixes two errors in the wording #290 introduced.
   
   ```diff
    SolrNativeHints   // class Javadoc
   -  NamedList admin shape returned by the mbeans path
   +  NamedList admin shape returned by /admin/metrics
   
    AGENTS.md, dev-docs/graalvm-native-image.md, SolrConfig.buildSolrClient
   -  neither JSON responses nor XMLRequestWriter is a native-image requirement
   +  the JSON parser is not a native-image requirement;
   +  JavaBinRequestWriter has not been run in a native image
   ```
   
   - **mbeans:** `CollectionService` reads cache and handler stats from 
`/admin/metrics` (`ADMIN_METRICS_PATH`). Nothing in `src/main` calls 
`/admin/mbeans`.
   - **Request writer:** #290's evidence was `nativeTest -Pnative` passing with 
`JavaBinResponseParser` swapped in. That covers the response side only. 
`JavaBinRequestWriter` and `JavaBinUpdateRequestCodec` contain no reflection 
either, but neither has been run in a native image, so the docs no longer say 
`XMLRequestWriter` is unneeded.
   
   No code changes; only comments and docs.
   
   ## Evidence
   
   - `git grep -n -i mbeans -- src/main` on `main` finds only comments; the 
metrics request is `GenericSolrRequest(GET, "/admin/metrics", …)` in 
`CollectionService`.
   - `./gradlew build`: 504 tests, 0 failures, 0 skipped. `main` does not 
compile its tests until #302 merges (#271 × #288), so the build ran with #302's 
one-file test fix applied locally; this PR does not include it.
   
   ## Merge Danger
   
   **Door:** two-way
   
   **Blast Radius:** docs
   
   🤖 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]

Reply via email to