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

Azure / karpenter-provider-azure / 23127799296

16 Mar 2026 01:56AM UTC coverage: 93.837% (-0.02%) from 93.854%
23127799296

Pull #1530

github

comtalyst
feat: detect Machine API quota errors earlier via sync polling window

After PUT Machine returns 201, poll Machine status for up to 15s
(configurable via MACHINE_SYNC_WAIT_TIMEOUT). If quota/capacity error
surfaces during this window, handle it synchronously — core retries
on same NodeClaim instead of delete+recreate cycle.

Exit conditions:
- ProvisioningState=Failed → handle error immediately
- ProvisioningState=Succeeded → return early (no wasted wait)
- Timeout while Creating → hand off to background LRO as today
- MACHINE_SYNC_WAIT_TIMEOUT=0 → skip entirely (backward compat)

New env vars: MACHINE_SYNC_WAIT_TIMEOUT (default 15s),
MACHINE_SYNC_POLL_INTERVAL (default 3s).

8 new sync wait tests + 7 new duration utility tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #1530: feat: detect Machine API provisioning errors earlier via sync polling

120 of 143 new or added lines in 6 files covered. (83.92%)

134 existing lines in 3 files now uncovered.

58879 of 62746 relevant lines covered (93.84%)

0.95 hits per line

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

78.83
/pkg/providers/instance/aksmachineinstance.go


Source Not Available

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

© 2026 Coveralls, Inc