-
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
Add warning for unknown pipeline options #29474
Add warning for unknown pipeline options #29474
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #29474 +/- ##
==========================================
- Coverage 38.28% 37.81% -0.47%
==========================================
Files 694 690 -4
Lines 102255 101189 -1066
==========================================
- Hits 39147 38266 -881
+ Misses 61518 61333 -185
Partials 1590 1590
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I remember currently we have similar warning, but just not quite accurate (many false positive). For example, this load test:
the full pipeline option also output in another INFO log:
|
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.
Thanks, I see here and "Discarding unparseable args" logs are in different code paths.
yeah but if the retain_unknown_option is set to true (in case of dataflow runner) then the warning for unknown flag is not shown |
Assigning reviewers. If you would like to opt out of this review, comment R: @damccorm for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
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.
LGTM
Reminder, please take a look at this pr: @damccorm |
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.
LGTM
Adds a warning log for unknown pipeline option.
Part of #28402
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 or the workflows README to see a list of phrases to trigger workflows.