Skip to content

Revert "Cherry-pick List matching perf (#11014) to 157 (#11091)" - #11115

Merged
brooksn merged 1 commit into
cloud/v1.32.0-157from
revert/11091-list-matching-perf-157
Jul 16, 2026
Merged

brooksn merged 1 commit into
cloud/v1.32.0-157from
revert/11091-list-matching-perf-157

Conversation

@brooksn

@brooksn brooksn commented Jul 16, 2026

Copy link
Copy Markdown

What changed?

Reverts #11091 from cloud/v1.32.0-157.

Why?

Required to complete additional release validations.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

@brooksn
brooksn requested review from a team July 16, 2026 20:18
@brooksn
brooksn requested review from a team as code owners July 16, 2026 20:18

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +282 to 284
for nominal.IsZero() || cs.excluded(nominal) {
nominal = cs.rawNextTime(after)
after = nominal

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@brooksn
brooksn merged commit 2bb1020 into cloud/v1.32.0-157 Jul 16, 2026
120 of 123 checks passed
@brooksn
brooksn deleted the revert/11091-list-matching-perf-157 branch July 16, 2026 21:16
brooksn added a commit that referenced this pull request Jul 20, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants