Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Sep 24, 2025

When resolving transport version conflicts we must lookup the definition that is being added by the current branch. We do this by detecting the resource file that has been added. When no files are added, we should not do anything. This commit moves the logic that detects branches closer to where it is needed so that we don't possibly run it with an empty transport version name.

When resolving transport version conflicts we must lookup the definition
that is being added by the current branch. We do this by detecting the
resource file that has been added. When no files are added, we should
not do anything. This commit moves the logic that detects branches
closer to where it is needed so that we don't possibly run it with an
empty transport version name.
@rjernst rjernst requested a review from a team as a code owner September 24, 2025 18:41
@rjernst rjernst added >non-issue :Core/Infra/Core Core issues without another label auto-backport Automatically create backport pull requests when merged v8.19.5 v9.1.5 v8.18.8 v9.0.8 labels Sep 24, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added v9.2.0 Team:Core/Infra Meta label for core/infra team labels Sep 24, 2025
}

if (targetDefinitionName.isEmpty()) {

Copy link
Contributor

Choose a reason for hiding this comment

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

missing a return?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope, this was leftover, I deleted it now

@rjernst rjernst merged commit d1c0e92 into elastic:main Sep 25, 2025
35 checks passed
@rjernst rjernst deleted the transport/resolve_no_name branch September 25, 2025 17:52
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.19 Commit could not be cherrypicked due to conflicts
9.1 Commit could not be cherrypicked due to conflicts
8.18 Commit could not be cherrypicked due to conflicts
9.0 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 135379

rjernst added a commit to rjernst/elasticsearch that referenced this pull request Sep 25, 2025
…35379)

When resolving transport version conflicts we must lookup the definition
that is being added by the current branch. We do this by detecting the
resource file that has been added. When no files are added, we should
not do anything. This commit moves the logic that detects branches
closer to where it is needed so that we don't possibly run it with an
empty transport version name.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Sep 25, 2025
…35379)

When resolving transport version conflicts we must lookup the definition
that is being added by the current branch. We do this by detecting the
resource file that has been added. When no files are added, we should
not do anything. This commit moves the logic that detects branches
closer to where it is needed so that we don't possibly run it with an
empty transport version name.
elasticsearchmachine pushed a commit that referenced this pull request Sep 26, 2025
…135480)

When resolving transport version conflicts we must lookup the definition
that is being added by the current branch. We do this by detecting the
resource file that has been added. When no files are added, we should
not do anything. This commit moves the logic that detects branches
closer to where it is needed so that we don't possibly run it with an
empty transport version name.
elasticsearchmachine pushed a commit that referenced this pull request Sep 26, 2025
…135481)

When resolving transport version conflicts we must lookup the definition
that is being added by the current branch. We do this by detecting the
resource file that has been added. When no files are added, we should
not do anything. This commit moves the logic that detects branches
closer to where it is needed so that we don't possibly run it with an
empty transport version name.
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 backport pending :Core/Infra/Core Core issues without another label >non-issue 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.

4 participants