adityamparikh opened a new pull request, #302:
URL: https://github.com/apache/solr-mcp/pull/302
## Summary
`main` does not compile its tests. #271's configset-leak test reads the
schema through SolrJ's `SchemaRepresentation` (`getFields()` returning maps),
but #288, merged just before it, changed `get-schema` to return the
`CollectionSchema` record. Each PR built on its own; together they fail
`compileTestJava`.
```diff
- for (Map<String, Object> field :
schemaService.getSchema(second).getFields()) {
- secondFields.add(String.valueOf(field.get("name")));
+ for (CollectionSchema.Field field :
schemaService.getSchema(second).fields()) {
+ secondFields.add(field.name());
}
```
## Evidence
- **Before:** `./gradlew compileTestJava` on `main` (00a1ff29):
`CollectionServiceIntegrationTest.java:367: error: cannot find symbol ...
method getFields()`
**After:** `./gradlew build` passes: 504 tests, 0 failures, 0 skipped.
## Merge Danger
**Door:** two-way
One test loop.
**Blast Radius:** tests
Every open PR's CI fails until this lands, because each one merges with the
broken `main`.
🤖 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]