Repository navigation
Revert "Cherry-pick List matching perf (#11014) to 157 (#11091)" - #11115
Conversation
This reverts commit a4e64e1. 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: 19abea5673
ℹ️ 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".
| for nominal.IsZero() || cs.excluded(nominal) { | ||
| nominal = cs.rawNextTime(after) | ||
| after = nominal |
There was a problem hiding this comment.
Restore a bound on excluded-time scans
When a spec produces frequent candidates that are all excluded, e.g. a calendar matching every second with an identical exclude calendar and no EndTime, this loop now advances one candidate at a time until maxCalendarYear. ListScheduleMatchingTimes and future-time computation call GetNextTime synchronously, so a single over-excluded schedule can burn billions of iterations and hang the frontend/worker path instead of returning the bounded invalid-spec/empty result this commit removed.
Useful? React with 👍 / 👎.
…1127) ## What changed? Undo the revert from #11115 ## 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 #11091 from
cloud/v1.32.0-157.Why?
Required to complete additional release validations.
How did you test it?