-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
(#25314) Have boot loaders log to logging service where possible. #26035
Conversation
Since this is changing the boot loaders, the test set is rather large. |
Codecov Report
@@ Coverage Diff @@
## master #26035 +/- ##
==========================================
+ Coverage 71.34% 71.43% +0.09%
==========================================
Files 779 782 +3
Lines 102767 102847 +80
==========================================
+ Hits 73319 73471 +152
+ Misses 27976 27900 -76
- Partials 1472 1476 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 12 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Assigning reviewers. If you would like to opt out of this review, comment R: @pabloem for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Are we okay to delete the provision package in pkg/beam with this change? |
I'm of the opinion it shouldn't be there, as it promotes arbitrary use of implementation details, and makes an already difficult to learn system, harder. I would concede to leave in vestigial functions that call the new location for the functions. But it seems unlikely that there are more than the 0 public users of the package who would benefit from the migration. |
Hmmm, there are some uses internal to Dataflow. I'll add things back so those can be more gracefully migrated. Edit: OK, I swore I had deleted the package in the migration, but apparently that change didn't stick. Going to do the call forward thing for now. Also, I missed the typescript container. No SDK left behind! |
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.
With the refactoring of the provision package within pkg/beam + deprecation warnings, I'm pretty content with this change. Thank you!
R: @robertwb for typescript and general experience with the bootloaders commentary. |
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control |
@robertwb has confirmed offline that the typescript tests can be ignored for now (they don't push their own build/dev containers WRT testing PRs.) Ah, the trials of an experimental SDK. |
The go test action failure was dominikh/go-tools#1034 which appears to be fixed in more recent staticheck versions (currently on 2022.1). I'll move us to a more recent version. This seems to have resolved it too. Actions also now use Go 1.20+ |
Looks like github API quota was hit, and that killed a few of the jenkins jobs. |
Run GoPortable PreCommit |
Run Java PreCommit |
Run Java_Examples_Dataflow PreCommit |
Run Portable_Python PreCommit |
Run PythonDocker PreCommit |
Run Python_Dataframes PreCommit |
Run Python_PVR_Flink PreCommit |
Run Python_Transforms PreCommit |
Run Spotless PreCommit |
Failures and pending are the CodeCov (can't help it right now, due to the boot loaders being untested), and the non-blocking typescript tests. Merging! |
Nice. Thank you! |
Have the boot loaders log to the logging service once we have an endpoint. This allows their severity to be recorded properly for better surfacing in runners, such as for fatal errors.
Sets the default log level to Debug for boot loader logging instead of Info, since boot loader configuration is unlikely to be of interest to most Beam users. Previously fatal logs use.
Also moves the "provision" code to a package path to indicate it's for Beam's container bootloader use, and not for Beam Go SDK users. It was never intended for end users, so this reduction in surface clarifies the intention among Go SDK packages.
Fixes #25314 and #24470 which were both around the incorrect surfacing of these errors as "info", and how they hampered debugging.
This also serves as a stopgap for issues in #25582 until that's resolved.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123
), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.