Skip to content

Revert "Cherry-pick List matching perf (#11014) to 158 (#11088)" - #11116

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

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

Conversation

@brooksn

@brooksn brooksn commented Jul 16, 2026

Copy link
Copy Markdown

What changed?

Reverts #11088 from cloud/v1.32.0-158.

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:19
@brooksn
brooksn requested review from a team as code owners July 16, 2026 20:19

@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: 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) {

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

@thearcticwatch thearcticwatch 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.

LGTM

@brooksn
brooksn merged commit fb72db8 into cloud/v1.32.0-158 Jul 16, 2026
50 checks passed
@brooksn
brooksn deleted the revert/11088-list-matching-perf-158 branch July 16, 2026 21:16
brooksn added a commit that referenced this pull request Jul 17, 2026
…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]>
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.

6 participants