Repository navigation
add the elasticsearch plugin - #127
Merged
Merged
Conversation
Watches the Elasticsearch REST API through the OpenAPI spec generated in elastic/elasticsearch-specification, on the branch of the newest released minor version, pinned to its head commit; an event's version is that minor's .0 release. Uses the deprecations-only rule. The openapi plugin gains RemovalsNeedANewVersion: a removal between two commits of one release branch is a spec fix, since Elasticsearch never removes an API in a patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: brandonphelps1212 <bphelps1212@gmail.com>
|
Claude finished @brandonphelps1212's task in 2m 1s —— View job ✅ Ready to merge. The plugin follows every repo rule, every check I ran passes, and I found no path that could emit a wrong event. Rules
BugsNone found. Things I checked specifically:
Verified
Non-blocking (optional)
Thanks for a careful PR: the explanation of the 31 dropped removals and the live-check numbers made it easy to review. |
15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Adds the
elasticsearchplugin on theopenapiformat plugin. Part of #73 (I11.5 · Watch Elasticsearch), under #14.output/openapi/elasticsearch-openapi.jsonin elastic/elasticsearch-specification, the specification Elastic generates its official clients and API reference from.releases/latest: 8.19 patches ship after 9.5 ones.versionis that minor's first release (9.0.0). It's a real version number, which the clients' versions follow (elasticsearch-py9.5.1), so the patch-it client's existing package gate handles it.vercel,supabase,algolia-*), with the whole operation quoted and path templates matched.RemovalsNeedANewVersion, set only for Elasticsearch. It drops removals between two specs of the same version. A release branch's spec gets fixes after its.0(the 9.2 branch droppedGET /_project/tagsafter 9.2.0), and Elasticsearch never removes an API in a patch, so such a removal is a spec correction._template(8.17),/_application/analytics(9.0), and_flush(9.1)./{index}/_knn_search, and POST/{index}/_unfreeze. Elastic's 9.0.0 breaking changes say "Remove unfreeze REST endpoint".Checklist
docs/plugins.md: new row in the 7-column shape (LayerAPI, statusliveper the current convention).docs/plugins.jsonregenerated (make plugins-json), and the README badge is now 21. I compared the registered plugins with the table.git commit -s, DCO)plugins/openapi/testdata/golden/elasticsearch.json): the replay of 8.19 → 9.0 gives the 3 removals and 5 deprecations.testdata/README.mdlists each file: URL at the pinned commit, date, license, quote. The copies keepopenapi,infoand the paths involved, every line unchanged. The 9.2 copy's"paths": {}is the one exception, and it's disclosed./_autoscalingand/_nodes/{node_id}/shutdownoperations leave the spec without being deprecated; Elastic documents them as "designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported." No event; unfiltered, the pair reports all 8. PlusTestElasticsearchNoRemovalWithinAMinor.providers/elasticsearch.mdwritten fromproviders/_template.md, including Why this sourceenv.Get/kit/: the adapter uses the shared fetch layer underadapter/, like the other openapi adapters.make checkpasses.Notes for the reviewer
/_data_stream/{name}/_options, back in 9.1);RemovalsNeedANewVersionfix above.🤖 Generated with Claude Code