Deprecate boolean constructor of FetchSourceContext - #21235
Conversation
Signed-off-by: Mikhail Urmich <m.urmich@jobware.de>
Signed-off-by: Mikhail Urmich <m.urmich@jobware.de> Signed-off-by: Mikhail Urmich <urmich.m@gmail.com>
Signed-off-by: Mikhail Urmich <urmich.m@gmail.com>
PR Reviewer Guide 🔍(Review updated until commit f1ea800)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to f1ea800
Previous suggestionsSuggestions up to commit fa77808
|
|
The related Pull Requests:
This is the final Pull Request related to this series. Only refactoring. No logic changes. cc: @andrross |
Yes, it would require a lot of refactoring to reduce the usage of this constructor. This is outside of the scope of this PR
True, there are a few places where the random branches have suspicious probabilities, as well as duplicated cases in the This PR focuses on refactoring and deprecation only. |
|
❌ Gradle check result for fa77808: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Persistent review updated to latest commit f1ea800 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21235 +/- ##
============================================
+ Coverage 73.27% 73.29% +0.01%
+ Complexity 73347 73344 -3
============================================
Files 5910 5910
Lines 334421 334421
Branches 48207 48207
============================================
+ Hits 245054 245103 +49
+ Misses 69762 69699 -63
- Partials 19605 19619 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ct#21235) Signed-off-by: Mikhail Urmich <m.urmich@jobware.de> Signed-off-by: Mikhail Urmich <urmich.m@gmail.com> Signed-off-by: Abhishek Som <abhissom@amazon.com>
…ct#21235) Signed-off-by: Mikhail Urmich <m.urmich@jobware.de> Signed-off-by: Mikhail Urmich <urmich.m@gmail.com>
Description
Deprecate the boolean constructor of
FetchSourceContextin favour ofFetchSourceContext.FETCH_SOURCEandFetchSourceContext.DO_NOT_FETCH_SOURCERelated Issues
Resolves #20743
Relates to #20612
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.