Skip to content

subspace-process: disable console colors in both 0.15 and 0.16 - #3948

Merged
nazar-pc merged 1 commit into
autonomys:mainfrom
ageorge95:upstream_contribution_fix_windows_console
Oct 28, 2026
Merged

nazar-pc merged 1 commit into
autonomys:mainfrom
ageorge95:upstream_contribution_fix_windows_console

Conversation

@ageorge95

@ageorge95 ageorge95 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Substrate still links against console 0.15.x while the workspace uses console 0.16.x. Each version keeps its own global color state, so disabling colors only in 0.16 left Substrate's console-styled log messages colored. tracing-subscriber then escaped those embedded ANSI codes into literal \x1b[ text.

Depend on console 0.15.11 in subspace-process and disable colors in both versions during init_logger. Extend the regression test to cover the 0.15 path used by Substrate.

Code contributor checklist:

Substrate still links against console 0.15.x while the workspace uses
console 0.16.x. Each version keeps its own global color state, so disabling
colors only in 0.16 left Substrate's console-styled log messages colored.
tracing-subscriber then escaped those embedded ANSI codes into literal
`\x1b[` text.

Depend on console 0.15.11 in subspace-process and disable colors in both
versions during init_logger. Extend the regression test to cover the 0.15
path used by Substrate.
nazar-pc
nazar-pc approved these changes Oct 28, 2026 •
@nazar-pc
nazar-pc enabled auto-merge October 28, 2026 17:56
@nazar-pc
nazar-pc added this pull request to the merge queue Oct 28, 2026
Merged via the queue into autonomys:main with commit 710e31a Oct 28, 2026
16 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