Skip to content

Conversation

jdconrad
Copy link
Contributor

This adds the ability to filter comments from transport version internal state files during parsing in gradle tasks.

@jdconrad jdconrad requested a review from a team as a code owner September 15, 2025 16:40
@jdconrad jdconrad added :Core/Infra/Transport API Transport client API >refactoring Team:Core/Infra Meta label for core/infra team auto-backport Automatically create backport pull requests when merged v9.2.0 v8.19.5 v9.1.5 v8.18.8 v9.0.8 labels Sep 15, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one nit

}
}
}
if (idsLine != null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if idsLine is null doesn't that mean we have an empty file (which should be an error)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was preserving how this already was, but happy to change it. WDYT?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think it should be an error. Having an empty file isn't ever valid.

Copy link
Contributor Author

@jdconrad jdconrad Sep 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want comments available, so I will follow up and add better error coverage to both these methods in a follow up. There's a few more things to look for in the parsing that we do in ES, but not gradle still.

@jdconrad jdconrad merged commit 27fc8c0 into elastic:main Sep 16, 2025
35 checks passed
jdconrad added a commit to jdconrad/elasticsearch that referenced this pull request Sep 16, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
jdconrad added a commit to jdconrad/elasticsearch that referenced this pull request Sep 16, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
jdconrad added a commit to jdconrad/elasticsearch that referenced this pull request Sep 16, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
jdconrad added a commit to jdconrad/elasticsearch that referenced this pull request Sep 16, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.19
9.1
8.18
9.0

elasticsearchmachine pushed a commit that referenced this pull request Sep 16, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
elasticsearchmachine pushed a commit that referenced this pull request Sep 16, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
elasticsearchmachine pushed a commit that referenced this pull request Sep 16, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
elasticsearchmachine pushed a commit that referenced this pull request Sep 16, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Sep 17, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
gmjehovich pushed a commit to gmjehovich/elasticsearch that referenced this pull request Sep 18, 2025
This adds the ability to filter comments from transport 
version internal state files during parsing in gradle tasks.
phananh1010 added a commit to phananh1010/elasticsearch that referenced this pull request Sep 23, 2025
BASE=d662314b371d340e211d70e3b61cbe8b0bd42330
HEAD=21d04e11bb80b116384ce2bbf4943d1bed47ccc5
Branch=main
phananh1010 added a commit to phananh1010/elasticsearch that referenced this pull request Oct 2, 2025
BASE=d662314b371d340e211d70e3b61cbe8b0bd42330
HEAD=21d04e11bb80b116384ce2bbf4943d1bed47ccc5
Branch=main
phananh1010 added a commit to phananh1010/elasticsearch that referenced this pull request Oct 6, 2025
BASE=d662314b371d340e211d70e3b61cbe8b0bd42330
HEAD=21d04e11bb80b116384ce2bbf4943d1bed47ccc5
Branch=main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged :Core/Infra/Transport API Transport client API >refactoring Team:Core/Infra Meta label for core/infra team v8.18.8 v8.19.5 v9.0.8 v9.1.5 v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants