Enhance provisioning and enable rest debug log#2124
Merged
cb-github-robot merged 2 commits intocloud-barista:mainfrom Aug 28, 2025
Merged
Enhance provisioning and enable rest debug log#2124cb-github-robot merged 2 commits intocloud-barista:mainfrom
cb-github-robot merged 2 commits intocloud-barista:mainfrom
Conversation
Signed-off-by: Seokho Son <shsongist@gmail.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances provisioning logic and enables detailed debug logging for REST API internal calls. The changes focus on improving MCI (Multi-Cloud Infrastructure) provisioning status management and adding comprehensive debug logging for HTTP requests.
- Improves MCI provisioning by adding proper status updates and cleanup logic
- Enables detailed debug logging for internal HTTP requests with timing and payload information
- Refines Azure architecture detection logic for ARM64 vs x86-64 instances
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/interface/rest/server/middlewares/responseBodyDump.go | Adds validation check for empty response JSON lines |
| src/core/resource/spec.go | Improves Azure architecture detection logic for ARM64 instances |
| src/core/infra/provisioning.go | Adds MCI status updates and cleanup logic for failed dynamic provisioning |
| src/core/infra/manageInfo.go | Comments out redundant MCI status updates |
| src/core/infra/control.go | Adds MCI status updates and improves error handling |
| src/core/common/client/client.go | Adds comprehensive debug logging for HTTP requests |
| docker-compose.yaml | Removes commented healthcheck configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Member
Author
|
/approve |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
enabled internal call debugging log.
you will see verbose debug log.