-
Notifications
You must be signed in to change notification settings - Fork 55
feat: Add json setting to allow unicodes to show in log instead of ascii ch… #193
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
To allow unicodes to show in log instead of ascii character (for example, show chinese word '哈' in log instead of '\u8bed')
Thanks for the contribution. I agree with the root problem (Unicode characters should be kept in the final logs), but I'm not sure if this is the best way to go about it:
If you're interested in making those changes to this PR, that would be great. Otherwise, I can open a new issue and make sure it's addressed in a future release (this seems like it would be high priority on my priorities, so likely next release. But I'll have to do some more testing to make sure) |
Sure I'd like to make those changes to this PR. Do you have any suggestions where or which files should I started it? Thank you very much |
The first step would be to add a new test to the new environment test submodule to see which GCP platforms are impacted. I did that part myself here (you can take over the submodule, branch, or copy/paste the code) It looks like only GKE is having issues there, which makes it simple (possibly cloud run too, but I think that's flakiness in the new tests - I'm looking into it). You can probably keep the After you have those fixes in and the environment test is passing, you should add similar checks to the unit and system tests. Our test system is in the process of being upgraded, so it may be a bit confusing/flaky. Feel free to reach out or re-assign the work back to me if you get stuck with the tests! |
Hey, any updates? If you're finding it hard to navigate the tests, I'm happy to take this over to get it in the next release. Let me know |
Sorry for the late response, busy at working recently. :( I'm not sure if there is some circumstances need to set I have little experience of using submodule and not sure how to take over environment test submodule. I've modified Can you give me this weekend to figure out how to finish it? If it's releasing soon, you can take it over, no worries. : ) Thank you for the help and reviews. |
Ok, to make things simple you can ignore the environment test submodule, I can handle adding a test there after you're done. For the unit tests, you should be able to run them through nox, which will simplify dependency issues. Information can be found in the repo's CONTRIBUTING.md file. Let me know if you have other questions! |
Thanks! And how to make the required checks pass?
Thank you |
It looks like the CI tests are now passing. Are you still having issues? |
Nope, CI's just not triggered that time, thank you ! :) |
…aracter (for example, show chinese word '哈' in log instead of '\u8bed')
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<192> 🦕