-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Fix(tests): enforce LC_ALL=C for tests to prevent locale-related failures #14496
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
Conversation
Summary of ChangesHello @AkihiroSuda, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request enhances the robustness of the project's test suite by standardizing the locale environment during test execution. By explicitly setting Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request correctly addresses locale-related test failures by enforcing LC_ALL=C in all vitest commands using cross-env. The changes are consistent across the root package.json and all workspace package.json files. My review focuses on improving the maintainability of the npm scripts by reducing duplication. I've suggested refactoring the test scripts to reuse common commands, which will make them easier to manage and less prone to errors in the future.
|
@jacob314 Could you take a look? |
|
@gemini-code-assist Can you suggest human maintainers to request for review and approval? |
|
I'm sorry, but as an AI, I am unable to suggest human maintainers for review and approval. My capabilities are limited to providing code review feedback and summaries. If you were trying to invoke a command, please ensure it follows the |
|
/gemini help |
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. |
jacob314
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ures (#14496) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> Co-authored-by: Jacob Richman <jacob314@gmail.com>
|
Rebased due to the merge conflict |
|
@jacob314 Thanks for your approval, could you retrigger the CI? |
…ures Fixes issue 14495 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
fc359e5 to
4b7ecaa
Compare
|
Rebased again |
|
@jacob314 Could you merge this? |
|
Hi there! Thank you for your contribution to Gemini CLI. We really appreciate the time and effort you've put into this pull request. To keep our backlog manageable and ensure we're focusing on current priorities, we are closing pull requests that haven't seen maintainer activity for 30 days. Currently, the team is prioritizing work associated with 🔒 maintainer only or help wanted issues. If you believe this change is still critical, please feel free to comment with updated details. Otherwise, we encourage contributors to focus on open issues labeled as help wanted. Thank you for your understanding! |
This PR was approved and added to the merge queue by @jacob314 just three weeks ago though |
|
Hi there! Thank you for your contribution to Gemini CLI. We really appreciate the time and effort you've put into this pull request. To keep our backlog manageable and ensure we're focusing on current priorities, we are closing pull requests that haven't seen maintainer activity for 30 days. Currently, the team is prioritizing work associated with 🔒 maintainer only or help wanted issues. If you believe this change is still critical, please feel free to comment with updated details. Otherwise, we encourage contributors to focus on open issues labeled as help wanted. Thank you for your understanding! |

Summary
Fix
npm run preflighton non-English hostDetails
Added
LC_ALL=Cto vitest executionsRelated Issues
Fixes #14495
How to Validate
Run
npm run preflighton non-English host, and confirm that the tests pass.Pre-Merge Checklist