-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
expression: move random_bytes from deferred to unfoldable functions #53795
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @kennytm. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #53795 +/- ##
================================================
- Coverage 73.3645% 72.8941% -0.4705%
================================================
Files 1624 1675 +51
Lines 448069 526378 +78309
================================================
+ Hits 328724 383699 +54975
- Misses 99207 120871 +21664
- Partials 20138 21808 +1670
Flags with carried forward coverage won't be shown. Click here to find out more.
|
fix #37412 Signed-off-by: kennytm <kennytm@gmail.com>
🤔 The failure is legit. The
Because this PR removed the const-folding, #23172 is not triggered and thus cannot mark There are two paths to go next:
|
/ok-to-test |
@kennytm: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
@kennytm: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
What problem does this PR solve?
Issue Number: close #37412
Problem Summary:
RANDOM_BYTES
was marked as deferred by #16367. However, this is insufficient to prevent const-folding across rows.What changed and how does it work?
Mark
RANDOM_BYTES
to unfoldable rather than deferred, in the same league asRAND
andUUID
.(Thanks to suggestion from @unconsolable)
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.