Skip to content

Enhance provisioning and enable rest debug log#2124

Merged
cb-github-robot merged 2 commits intocloud-barista:mainfrom
seokho-son:main
Aug 28, 2025
Merged

Enhance provisioning and enable rest debug log#2124
cb-github-robot merged 2 commits intocloud-barista:mainfrom
seokho-son:main

Conversation

@seokho-son
Copy link
Copy Markdown
Member

enabled internal call debugging log.
you will see verbose debug log.

Signed-off-by: Seokho Son <shsongist@gmail.com>
Copilot AI review requested due to automatic review settings August 28, 2025 13:54
@seokho-son seokho-son requested a review from yunkon-kim as a code owner August 28, 2025 13:54
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 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>
@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 28, 2025
@cb-github-robot cb-github-robot merged commit d8a0062 into cloud-barista:main Aug 28, 2025
3 of 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.

3 participants