Skip to content

Disable mci failure status from upfront#2099

Merged
cb-github-robot merged 1 commit intocloud-barista:mainfrom
seokho-son:main
Aug 18, 2025
Merged

Disable mci failure status from upfront#2099
cb-github-robot merged 1 commit intocloud-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 August 18, 2025 09:56
@seokho-son seokho-son requested a review from yunkon-kim as a code owner August 18, 2025 09:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 disables the MCI (Multi-Cloud Infrastructure) failure status reporting from the frontend by commenting out failure status logic and updating a function call to use an internal variant.

  • Comments out the MCI failure status representation logic in the Go backend
  • Updates Python function call to use internal validation variant
  • Maintains existing status reporting for other states while removing failure status display

Reviewed Changes

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

File Description
src/interface/mcp/tb-mcp.py Changes function call to use internal namespace validation variant
src/core/infra/manageInfo.go Comments out MCI failure status logic to disable frontend failure reporting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

mciStatus.Status = statusFlagStr[0] + proportionStr
}
}
// // for representing Failed status in front.
Copy link

Copilot AI Aug 18, 2025

Choose a reason for hiding this comment

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

Double comment prefix '//' is unnecessary. Use single '//' for commented code.

Suggested change
// // for representing Failed status in front.
// for representing Failed status in front.

Copilot uses AI. Check for mistakes.
}
// // for representing Failed status in front.

// proportionStr = ":" + strconv.Itoa(statusFlag[0]) + " (R:" + strconv.Itoa(runningStatus) + "/" + strconv.Itoa(numVm) + ")"
Copy link

Copilot AI Aug 18, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider removing commented code blocks entirely rather than leaving them in the codebase. If this logic needs to be preserved for future reference, consider using version control history or documenting the reasoning in a proper comment.

Copilot uses AI. Check for mistakes.
@seokho-son
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 Aug 18, 2025
@cb-github-robot cb-github-robot merged commit 78cbade into cloud-barista:main Aug 18, 2025
4 of 5 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.

3 participants