• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Azure / karpenter-provider-azure / 22691968188

04 Mar 2026 10:15PM UTC coverage: 94.173% (+0.002%) from 94.171%
22691968188

Pull #1473

github

comtalyst
feat: integrate LIST-based machine cache and increase poll interval

Wire the machineListCache into DefaultAKSMachineProvider to reduce
GET Machine API calls at scale. Key changes:

- Get() checks LIST cache before hitting API, converting O(N) individual
  GETs (from drift checks, reconciliation) into O(1) cached lookups
- List() populates the cache so subsequent Get() calls are served locally
- Create/Update/Delete invalidate affected cache entries to prevent stale data
- Increase GET poll interval from 5s to 15s (reduces 200 GET/s to ~67 GET/s
  at 1000 nodes; Telescope data shows GET 429s last 17-29s each)
- Add InvalidateMachineCache() for test scenarios where conditions change
  between List() and Get() calls
- Update cloudprovider integration tests to account for cache behavior:
  GET call count assertions use BeNumerically("<=", 1) and error injection
  tests invalidate cache before setting mock errors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #1473: perf: wire LIST cache into AKS machine Get/List and increase poll interval to 15s

41 of 0 new or added lines in 0 files covered. (NaN%)

81 existing lines in 1 file now uncovered.

59276 of 62944 relevant lines covered (94.17%)

0.96 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.81
/pkg/providers/instance/aksmachineinstance.go


Build SHA Not Found

The commit SHA "edf59ea3e23dd38c240a0701e21556cca5d6856d" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc