Repository navigation
Revert "Cherry-pick List matching perf (#11014) to 158 (#11088)" - #11116
Conversation
This reverts commit 9d847b6. Signed-off-by: Brooks Newberry <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5fea095e93
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if iterations >= warnIterations { | ||
| warned = true | ||
| } | ||
| for nominal.IsZero() || cs.excluded(nominal) { |
There was a problem hiding this comment.
Restore a bound for excluded schedule scans
When a valid spec matches frequently but every candidate is excluded, for example Calendar: * * * plus the same ExcludeCalendar, this loop advances one second at a time until EndTime or year 2100. The commit removes the iteration cap/error path, so user-facing calls such as ListScheduleMatchingTimes/Describe and generator processing can burn CPU or appear hung for billions of iterations instead of failing fast or stopping the schedule.
Useful? React with 👍 / 👎.
…1128) ## What changed? Undo the revert from #11116 ## Why? Changes have been validated. ## How did you test it? - [x] built - [ ] run locally and tested manually - [ ] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s) Signed-off-by: Brooks Newberry <[email protected]>
What changed?
Reverts #11088 from
cloud/v1.32.0-158.Why?
Required to complete additional release validations
How did you test it?