Skip to content

Fix region counting missleading#308

Merged
cb-github-robot merged 2 commits into
cloud-barista:mainfrom
seokho-son:main
Jun 14, 2026
Merged

Fix region counting missleading#308
cb-github-robot merged 2 commits into
cloud-barista:mainfrom
seokho-son:main

Conversation

@seokho-son

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Seokho Son <shsongist@gmail.com>
Copilot AI review requested due to automatic review settings June 12, 2026 09:20
@seokho-son seokho-son requested a review from yunkon-kim as a code owner June 12, 2026 09:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes misleading region counting by distinguishing regions with the same name across different cloud providers, preventing AWS ap-northeast-2 and Alibaba ap-northeast-2 from being treated as the same region.

Changes:

  • Rebuild regionBreakdown in reviewInfraConfiguration() using a provider+region composite label per NodeGroup.
  • Count unique regions in the dashboard using a provider+region composite key for Nodes and K8s clusters.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
index.js Reworks region distribution calculation for infra review results to use provider+region labels.
dashboard.js Updates dashboard unique region counting to use a provider+region composite key.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread index.js
Signed-off-by: Seokho Son <shsongist@gmail.com>
@seokho-son

Copy link
Copy Markdown
Member Author

/approve

@cb-github-robot cb-github-robot merged commit a683809 into cloud-barista:main Jun 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants