-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport 2.x] Prevents Locale Code build failures #2967 #2991
Merged
Conversation
This file contains 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
* Prevents future UT build issues addresses #2967 Depending on the GitHub CI workflow executes it will invoke ./gradlew build which will run tests on random parameters everytime, there are local-code's that will break a build one of them being az-Cyrl. The solution here was preventing (explicitly writing the local to be set to en-US) Github actions building on these random parameters that will interupt a build and lose time. Manual testing was done to prove that using this flag breaks a build, you can check the issue #2967 or you can run ./gradlew build -Dtests.local=az-Cyrl to see it breaks Signed-off-by: Brian Flores <[email protected]> * Updates current codebase with Local.Root to string operations The previous commit made a hard change on the build while ignoring the root problem, which was making sure that our codebase currently supports string operations regardless of the locale code. In this new commit String operations like toUpperCase have a extra argument of Locale.Root making the codebase agnostic to the rules of other langugages such as Spanish or Turkish. Manual testing was done like raised in the GitHub issue #2967 also ./gradlew build -Dtests.Local=az-Cyrl passes Signed-off-by: Brian Flores <[email protected]> --------- Signed-off-by: Brian Flores <[email protected]> (cherry picked from commit cd83590)
opensearch-trigger-bot
bot
requested review from
b4sjoo,
dhrubo-os,
jngz-es,
model-collapse,
rbhavna,
ylwu-amzn,
zane-neo,
Zhangxunmt,
austintlee,
HenryL27 and
sam-herman
as code owners
September 26, 2024 16:42
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 26, 2024 16:42
Failure
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 26, 2024 16:42
Error
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 26, 2024 16:42
Error
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 26, 2024 16:42
Failure
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 26, 2024 16:43
Error
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 26, 2024 16:43
Error
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 26, 2024 18:44
Error
opensearch-trigger-bot
bot
temporarily deployed
to
ml-commons-cicd-env
September 26, 2024 18:45
Inactive
CI failed due to flaky test
|
dhrubo-os
approved these changes
Sep 28, 2024
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 28, 2024 00:46
Failure
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 30, 2024 16:42
Error
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 30, 2024 16:42
Error
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 30, 2024 16:43
Error
opensearch-trigger-bot
bot
had a problem deploying
to
ml-commons-cicd-env
September 30, 2024 16:43
Failure
mingshl
approved these changes
Oct 1, 2024
ylwu-amzn
approved these changes
Oct 1, 2024
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.
Backport cd83590 from #2980