Skip to content

perf(controllers): scope Cruise Control operation retrieval - #399

Merged
amuraru merged 1 commit into
modernize/lifecyclefrom
perf/issue-393-efficiency
Nov 21, 2026
Merged

amuraru merged 1 commit into
modernize/lifecyclefrom
perf/issue-393-efficiency

Conversation

@amuraru

@amuraru amuraru commented Nov 17, 2026

Copy link
Copy Markdown

Description

Scope authoritative operation LISTs without weakening freshness, fallback or ordering. Returned objects fall from 11/111/1011 to 11/11/11, with one extra cached GET; no production latency claim. Fixes #393; depends on #397.

GOPROXY=off GOSUMDB=off go test ./controllers ./pkg/k8sutil -count=1 -timeout=5m and combined make -C .worktrees/improvements-integration check ENVTEST_K8S_VERSION=1.35.0 passed. Focused 1.35/1.37 envtest passed. Full E2E suite not run.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

Use the cached cluster label only as a hint for an authoritative direct LIST. Fall back to the namespace LIST for missing or stale hints without adding direct GETs before conflict.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@amuraru
amuraru merged commit db822f3 into modernize/lifecycle Nov 21, 2026
10 checks passed
@amuraru
amuraru deleted the perf/issue-393-efficiency branch November 21, 2026 14:14
amuraru added a commit that referenced this pull request Nov 21, 2026
perf(controllers): scope Cruise Control operation retrieval (#393)

Use the cached cluster label only as a hint for an authoritative direct LIST. Fall back to the namespace LIST for missing or stale hints without adding direct GETs before conflict.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant