Skip to content

Conversation

ldematte
Copy link
Contributor

Follows #100673 and will be updated with that before merging

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v8.12.0 labels Oct 12, 2023
@ldematte ldematte added :Core/Infra/Core Core issues without another label >refactoring and removed needs:triage Requires assignment of a team area label labels Oct 12, 2023
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Oct 12, 2023
@ldematte ldematte changed the title Moving NodeInfo version internal to String Moving NodeInfo internal version storage to String Oct 12, 2023
@ldematte
Copy link
Contributor Author

This change breaks many tests that rely on NodeInfo version string to be parseable to a Version (via the _nodes API). I will put this one on hold and sort out all the test dependencies in one or more separate PRs before resuming.

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.

Looks fine, but one comment on swallowing exceptions.

@ldematte ldematte force-pushed the nodeinfo-version-string-external branch from 99031ff to c096ce9 Compare October 13, 2023 08:29
@ldematte ldematte requested a review from rjernst October 13, 2023 09:43
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

@ldematte ldematte added test-update-serverless test-release Trigger CI checks against release build labels Oct 24, 2023
@ldematte
Copy link
Contributor Author

@elasticmachine rerun elasticsearch-ci/part-2

@ldematte ldematte removed the test-release Trigger CI checks against release build label Oct 25, 2023
@ldematte
Copy link
Contributor Author

@elasticmachine rerun elasticsearch-ci/check-serverless-submodule

@ldematte ldematte merged commit 2410a08 into elastic:main Nov 24, 2023
@ldematte ldematte deleted the nodeinfo-version-string-external branch November 24, 2023 09:04
timgrein pushed a commit to timgrein/elasticsearch that referenced this pull request Nov 30, 2023
NodeInfo version as string. Moving from Version to Build.version(), which means also non-semantic versions. Particular care was needed for ESRestTestCase Version parsing, to make it work in a serverless environment, removing Version whenever possible and adding proper fallbacks when needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label >refactoring Team:Core/Infra Meta label for core/infra team test-update-serverless v8.12.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants