cake-build / cake-build/cake

Debug/Diagnostic color is far too dark

Open
#3,245 2 comments 0 reactions 0 assignees View on GitHub
Help wanted Improvement Up-for-grabs
Dominant language
C#
Stars
4.2k
Forks
778
Avg merge
1h 15m
Merged PRs (30d)
19

Description

While investigating issues with https://github.com/cake-build/cake/pull/3240, I temporarily enabled `Debug/Diagnostic` logging for the integration tests, during which the log rendering is far too dark and becomes unreadable in some environments.

GitHub Actions run [2052071902](https://github.com/cake-build/cake/runs/2052071902?check_suite_focus=true#step:8:1383):
![image](https://user-images.githubusercontent.com/750121/110259924-eda76480-800e-11eb-9b2d-56597c9f01f7.png)

Azure Pipelines build [17082](https://dev.azure.com/cake-build/Cake/_build/results?buildId=17082&view=logs&j=00af5505-930d-50dd-3844-b167e8b4bb13&t=0fadbdea-3d1d-5635-586e-134b382e6b33&l=1380):
![image](https://user-images.githubusercontent.com/750121/110260114-cef59d80-800f-11eb-88b6-36a125702451.png)

Here's another screenshot of a normal GitHub Actions run showing the color spectrum for different `LogLevel/Verbosity`:
![image](https://user-images.githubusercontent.com/750121/110260406-f731cc00-8010-11eb-9091-61c82e95b7cb.png)

And the same for a normal Azure Pipelines build:
![image](https://user-images.githubusercontent.com/750121/110260531-8c34c500-8011-11eb-9fc5-9365f0772fbc.png)

Finally, I've seen similar problems when building local in WSL.

Contributor guide

Open the contributing guide

Research direction

The issue names no source file or test entry point. Start by reproducing Debug/Diagnostic logging in the referenced GitHub Actions or Azure Pipelines runs, then compare the rendered output with local WSL output; done means the diagnostic text is readable across those environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.