Skip to content

Resolve logger/colorwriter import cycle in CI - #51572

Closed
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/cgo-fix-workflow-failure-again
Closed

Resolve logger/colorwriter import cycle in CI#51572
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/cgo-fix-workflow-failure-again

Conversation

Copilot AI commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

The CGO workflow’s build, lint, WASM, Alpine, and fuzz jobs failed before execution due to an import cycle between pkg/logger and pkg/colorwriter.

  • Dependency boundary
    • Keep pkg/colorwriter as a low-level dependency of pkg/logger.
    • Remove the reverse pkg/logger dependency from pkg/colorwriter.
// colorwriter must not import pkg/logger:
// logger -> colorwriter -> logger

Copilot AI linked an issue Aug 9, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix workflow failure in CGO fuzz job Resolve logger/colorwriter import cycle in CI Aug 9, 2026
Copilot AI requested a review from pelikhan August 9, 2026 11:58
@pelikhan pelikhan closed this Aug 9, 2026
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.

[CGO][FUZZ] Workflow failure on main - Run #21724

2 participants