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

   ## Summary
   
   Four gaps that an agent, or a new contributor, currently has to guess at. 
Each is one new file or one new section. None changes code or the build.
   
   ```text
   .github/dependabot.yml                    new  weekly Gradle bumps + 
security alerts
   .github/pull_request_template.md          new  the checks a PR here really 
needs
   dev-docs/DEPLOYMENT.md                    +    "Rolling back" section
   .agents/skills/add-mcp-tool/SKILL.md      new  the checklist for adding a 
tool
   .claude/skills/add-mcp-tool               new  symlink to it (same layout as 
#298)
   ```
   
   - **Dependabot.** Every `chore(deps)` bump in history was made by hand, and 
nothing watches the dependencies for advisories. This adds one `gradle` entry 
for the root build and `gradle/libs.versions.toml`: weekly, minor and patch 
bumps grouped into one PR, majors one per PR, at most five open. Two things are 
left out on purpose, and the file says why:
     - **GitHub Actions:** ASF Infra only runs actions on its allow-list, so a 
bump to an unlisted version would fail at startup.
     - **`cyclonedx-core-java`:** it must stay on the version the 
`org.cyclonedx.bom` plugin uses (`buildSrc/build.gradle.kts`), so it is ignored.
   - **PR template.** `CONTRIBUTING.md` asks only for "a clear description". 
The template lists the checks this repo's PRs actually need:
     - `./gradlew build`
     - a test that fails without the change
     - the `CHANGELOG.md` `[Unreleased]` line
     - for tool changes: the README tables, `THREAT_MODEL.md`, the client-doc 
tool counts and `SolrNativeHints`
     - `AGENTS.md` for new packages or env vars
     - `dockerIntegrationTest` for image changes
   - **Rolling back.** `dev-docs/DEPLOYMENT.md` covered only going forward. The 
new section covers four things:
     - Pin an exact version, because `latest`, `<major>` and `<major>.<minor>` 
move on every release.
     - Roll back with compose or `kubectl`.
     - Configuration reverts with the environment.
     - Documents, collections, aliases and schema additions the server made 
stay in Solr after a rollback, and need Solr's own APIs to remove.
   - **`add-mcp-tool` skill.** Adding a tool touches about a dozen places. The 
list was taken from #288 (`list-fields`) and #214 (aliases):
     - hints and `@PreAuthorize`
     - `SolrNativeHints` and its test
     - `McpToolRegistrationTest` and `McpClientIntegrationTestBase`
     - the README, `THREAT_MODEL.md`, `docs/clients/`, `CHANGELOG.md` and 
`AGENTS.md`
   
     It is a plain `SKILL.md` that any agent, or a person, can read.
   
   This complements the open #315–#319, which fix `AGENTS.md`, 
`ARCHITECTURE.md`, PR CI and secret scanning, and touches none of their files.
   
   **Left for the PMC, not in this PR:** `.asf.yaml` still has 
`protected_branches: main: {}`. Requiring a review and the `ci.yml` checks 
before merge is a project policy change, so it belongs on the dev list rather 
than in a drive-by PR.
   
   ## Evidence
   
   - `./gradlew build`: BUILD SUCCESSFUL, 518 tests, 0 failures, 0 skipped. RAT 
passes on the two new YAML/Markdown files: `dependabot.yml` carries the ASF 
header, and `*.md` is excluded by the RAT config.
   - `dependabot.yml` parses, and its `groups` (`patterns` + `update-types`), 
`ignore` (`dependency-name`) and `commit-message.prefix` keys match the 
Dependabot options reference. GitHub validates the file itself once it lands on 
`main`.
   - Every path, class and test the skill and template name exists on `main`: 
`SolrNativeHintsTest`, `listToolsReturnsExpectedTools`, 
`@DisabledInNativeImage` on `AliasServiceTest`, and `native.yml`'s 
`**/*NativeHints*.java` path filter. So does the tool-count line in 
`docs/clients/chatgpt.md`.
   - The rollback commands use the Deployment and container name `solr-mcp` 
from the Kubernetes example in the same file. The tags are the ones 
`release-publish.yml` pushes (`${RELEASE_VERSION}`, `latest`, major, minor).
   
   ## Merge Danger
   
   **Door:** two-way
   
   Each file can be deleted or reverted on its own.
   
   **Blast Radius:** PR-checks
   
   Dependabot will open up to five dependency PRs a week, which go through 
`ci.yml` like any other PR and need a committer to merge. Nothing else changes 
behaviour.
   
   🤖 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] chore: add Dependabot, a ... adityamparikh (via GitHub) via issues

Reply via email to