Skip to content

Retry duplicate runtime worker claims#566

Merged
EDsCODE merged 1 commit into
mainfrom
fix/retry-duplicate-worker-claims
May 18, 2026
Merged

Retry duplicate runtime worker claims#566
EDsCODE merged 1 commit into
mainfrom
fix/retry-duplicate-worker-claims

Conversation

@EDsCODE
Copy link
Copy Markdown
Contributor

@EDsCODE EDsCODE commented May 18, 2026

Summary

  • treat duplicate reserved/activating runtime worker claims as retryable stale claims
  • avoid returning the same in-flight worker to multiple connection attempts
  • update regression coverage for duplicate activating claims

Context

After #565 deployed, a 30-way public endpoint test still saw 5 stale same-tenant activation failures. The remaining issue was that duplicate same-owner claims were returned idempotently, allowing multiple callers to send distinct activation payloads with the same owner epoch.

Tests

  • go test -tags kubernetes ./controlplane
  • go test ./controlplane

@EDsCODE EDsCODE merged commit 5407fbe into main May 18, 2026
22 checks passed
@EDsCODE EDsCODE deleted the fix/retry-duplicate-worker-claims branch May 18, 2026 18:47
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