Skip to content

Support preloaded status to reduce redundant GetCspResourceStatus calls#2505

Merged
cb-github-robot merged 1 commit into
cloud-barista:mainfrom
yunkon-kim:260520-19
May 20, 2026
Merged

Support preloaded status to reduce redundant GetCspResourceStatus calls#2505
cb-github-robot merged 1 commit into
cloud-barista:mainfrom
yunkon-kim:260520-19

Conversation

@yunkon-kim
Copy link
Copy Markdown
Member

@yunkon-kim yunkon-kim commented May 20, 2026

  • Add optional preloaded status (list) parameter to ReconcileVNet/ReconcileSubnet
  • Prefetch resource status once and reuse for multiple reconciliations
  • Reduce redundant GetCspResourceStatus calls (fetches all resources per connection)
  • Falls back to internal fetch when preloaded status is nil/empty

@yunkon-kim yunkon-kim requested a review from seokho-son as a code owner May 20, 2026 12:21
- Add optional preloaded status parameter to ReconcileVNet/ReconcileSubnet
- Prefetch resource status once and reuse for multiple reconciliations
- Reduce redundant GetCspResourceStatus calls (fetches all resources per connection)
- Falls back to internal fetch when preloaded status is nil/empty
@yunkon-kim
Copy link
Copy Markdown
Member Author

/approve

@github-actions github-actions Bot added the approved This PR is approved and will be merged soon. label May 20, 2026
@cb-github-robot cb-github-robot merged commit 91efe44 into cloud-barista:main May 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This PR is approved and will be merged soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants