Build Tasks to Find and Verify TransportVersion Definitions#131782
Merged
rjernst merged 27 commits intoelastic:mainfrom Aug 1, 2025
Merged
Build Tasks to Find and Verify TransportVersion Definitions#131782rjernst merged 27 commits intoelastic:mainfrom
rjernst merged 27 commits intoelastic:mainfrom
Conversation
mark-vieira
reviewed
Jul 25, 2025
...java/org/elasticsearch/gradle/internal/transport/GlobalTransportVersionManagementPlugin.java
Show resolved
Hide resolved
.../main/java/org/elasticsearch/gradle/internal/transport/TransportVersionManagementPlugin.java
Outdated
Show resolved
Hide resolved
.../java/org/elasticsearch/gradle/internal/transport/CollectTransportVersionReferencesTask.java
Show resolved
Hide resolved
.../java/org/elasticsearch/gradle/internal/transport/CollectTransportVersionReferencesTask.java
Show resolved
Hide resolved
.../main/java/org/elasticsearch/gradle/internal/transport/TransportVersionManagementPlugin.java
Outdated
Show resolved
Hide resolved
.../main/java/org/elasticsearch/gradle/internal/transport/TransportVersionManagementPlugin.java
Outdated
Show resolved
Hide resolved
.../java/org/elasticsearch/gradle/internal/transport/CollectTransportVersionReferencesTask.java
Outdated
Show resolved
Hide resolved
...java/org/elasticsearch/gradle/internal/transport/GlobalTransportVersionManagementPlugin.java
Show resolved
Hide resolved
Collaborator
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Collaborator
|
Pinging @elastic/es-delivery (Team:Delivery) |
Contributor
|
@elasticmachine run elasticsearch-ci/bwc-snapshots-part3 |
Collaborator
💔 Backport failed
You can use sqren/backport to manually backport by running |
szybia
added a commit
to szybia/elasticsearch
that referenced
this pull request
Aug 1, 2025
…cking * upstream/main: (166 commits) Reduce inactive sink interval in VectorSimilarityFunctionsIT (elastic#132288) ESQL: Allow agg tests to process many columns (elastic#132358) Update analysis-lowercase-tokenfilter.md (elastic#132359) Add Sparse Vector Index Options Settings to Semantic Text Field (elastic#131058) Collect node thread pool usage for shard balancing (elastic#131480) Add tasks to validate new style transport versions (elastic#131782) Mute org.elasticsearch.search.routing.SearchReplicaSelectionIT testNodeSelection elastic#132354 Mute org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryIT testBadAsyncId elastic#132353 Fixes DenseVectorFieldIndexTypeUpdateIT release tests (elastic#132346) Fix testCloseOrReallocateDuringPartialSnapshot (elastic#132049) (Doc) ILM Force Merge not on HDD and happens on hosting node not current phase tier (elastic#130280) Run GeoIp YAML tests in multi-project cluster and fix bug discovered by tests (elastic#131521) Unmutes elastic#132111, seems a transient, non reproducible issue (elastic#132253) Mute org.elasticsearch.search.suggest.phrase.PhraseSuggesterIT testPhraseSuggestionWithNgramOnlyAnalyzerThrowsException elastic#132347 Add AI21 support to Inference Plugin (elastic#131238) OpenJDK EA builds should use https instead of http (elastic#132297) ESQL: Normalize timeseries aggs slightly (elastic#132284) Avoid internal server error on suggester ngram bad request (elastic#132321) [ES|QL] Rerank operator improvements (elastic#132318) Mute org.elasticsearch.xpack.logsdb.qa.LogsDbVersusReindexedLogsDbChallengeRestIT testTermsQuery elastic#132337 ...
rjernst
added a commit
to rjernst/elasticsearch
that referenced
this pull request
Aug 11, 2025
This commit adds new gradle plugins and tasks to handle validation of file based transport version definitions. Co-authored-by: Ryan Ernst <ryan@iernst.net> Co-authored-by: John Verwolf <JVerwolf@users.noreply.github.com>
rjernst
added a commit
to rjernst/elasticsearch
that referenced
this pull request
Aug 11, 2025
This commit adds new gradle plugins and tasks to handle validation of file based transport version definitions. Co-authored-by: Ryan Ernst <ryan@iernst.net> Co-authored-by: John Verwolf <JVerwolf@users.noreply.github.com>
rjernst
added a commit
to rjernst/elasticsearch
that referenced
this pull request
Aug 11, 2025
This commit adds new gradle plugins and tasks to handle validation of file based transport version definitions. Co-authored-by: Ryan Ernst <ryan@iernst.net> Co-authored-by: John Verwolf <JVerwolf@users.noreply.github.com>
rjernst
added a commit
to rjernst/elasticsearch
that referenced
this pull request
Aug 11, 2025
This commit adds new gradle plugins and tasks to handle validation of file based transport version definitions. Co-authored-by: Ryan Ernst <ryan@iernst.net> Co-authored-by: John Verwolf <JVerwolf@users.noreply.github.com>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Aug 11, 2025
elasticsearchmachine
pushed a commit
that referenced
this pull request
Aug 11, 2025
* Add tasks to validate new style transport versions (#131782) This commit adds new gradle plugins and tasks to handle validation of file based transport version definitions. Co-authored-by: Ryan Ernst <ryan@iernst.net> Co-authored-by: John Verwolf <JVerwolf@users.noreply.github.com> * skip if no named constants yet * [CI] Auto commit changes from spotless * don't actually set it if it doesn't exist --------- Co-authored-by: John Verwolf <JVerwolf@users.noreply.github.com> Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Aug 11, 2025
* Add tasks to validate new style transport versions (#131782) This commit adds new gradle plugins and tasks to handle validation of file based transport version definitions. Co-authored-by: Ryan Ernst <ryan@iernst.net> Co-authored-by: John Verwolf <JVerwolf@users.noreply.github.com> * skip if no named constants yet * [CI] Auto commit changes from spotless * temporarily add leniency for definitions dir * [CI] Auto commit changes from spotless --------- Co-authored-by: John Verwolf <JVerwolf@users.noreply.github.com> Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Aug 11, 2025
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.
This PR introduces a set of build tasks to find and verify TransportVersion definitions using the new model.
This includes:
TransportVersion.fromName("some_name");, and record all theStringliteral arguments in a build file.getResourcescall.A subsequent PR will introduce a task to generate the data files.
Jiras:
ES-12335
ES-12336
ES-12398
ES-12338