Skip to content

Bootstrap: use logger.hpp and THROW() - #952

Merged
Binyang Li (Binyang2014) merged 1 commit into
microsoft:binyli/bootstrapfrom
chhwang:bootstrap-logger-throw-pr951
Nov 6, 2026
Merged

Binyang Li (Binyang2014) merged 1 commit into
microsoft:binyli/bootstrapfrom
chhwang:bootstrap-logger-throw-pr951

Conversation

@chhwang

Copy link
Copy Markdown
Contributor

Follow-up to #951, based on binyli/bootstrap.

This minimal change migrates bootstrap.cc from debug.h to logger.hpp, maps legacy TRACE diagnostics to DEBUG(NET, ...), and routes Error throws through THROW(NET, ...). Bootstrap flow and ErrorCode values are preserved; THROW adds logger metadata to thrown error messages.

Validation completed: clang-format, diff whitespace, logger-macro syntax, and patch applicability checks. Full build and bootstrap tests were not run because no nvcc, hipcc, or CUDA runtime headers are available; GPU execution was not authorized.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@Binyang2014
Binyang Li (Binyang2014) merged commit 59cfa81 into microsoft:binyli/bootstrap Nov 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants