Skip to content

build: suggestion to make parallel build output more colorblind friendly #14937

Open
@emidoots

Description

@emidoots

Zig Version

master

Steps to Reproduce and Observed Behavior

Feel free to disregard/close this issue if you like, I don't mind. Just figured I'd pass along my thoughts.

Right now the color-distinguished output for the parallel builds isn't great for me personally, e.g. someone sent me this screenshot and I wasn't able to tell success, passed, and transitive failure are actually green/yellow/red(?):

image

I have particularly bad colorblindness compared to most others; and no doubt this would look better with the contrast in my terminal compared to theirs. But there is a joke "I can't drive, my hands don't work well" -> "What if we made the steering wheel larger?" about how, frankly, color blind modes suck. Sometimes they help me marginally but for a lot of folks distinguishing things with colors just is not the way their brain is wired.

For me that screenshot above is barely more legible than this binary black/white version:

image

Expected Behavior

What would really help me a lot is if we could include any symbology. Some examples:

  • Include Unicode characters like ✓ ❌ for success/fail
  • Or emphasize words with brackets/braces, e.g. [[success]] instead of success like run ecs-tests 5 passed [[success]] 5ms MaxRSS:8M
  • Or any other non-color distinguishing that can be done :)

Like I said feel free to disregard/close, I realize this could make the output more cluttered. Might help in CI outputs too, though?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions