Do not assume log output of a certain tint is irrelevant

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the workflows category.

Last Updated: 2022-12-01

I was trying to get the PHP docker for Project B running on my machine. The installation process for composer install (PHP packages) was taking forever and really slowing down my development process.

I saw that after each long attempt to install a package, some yellow text was printed below in the terminal. I assumed yellow meant "warning info but not a big deal" but actually, in the color scheme being used, it meant fatal error! Therefore I wasted an hour waiting on an install script that kept going on and on and failing.

Installing monolog/monolog (1.17.2): Cloning bee7f0dc9c
    Failed to download nikic/php-parser from dist: The zip extension and unzip command are both missing, skipping.

Lesson

If logs use color or caps to offset some info, actually read it instead of making assumptions about whether some particular color indicates non-important or not.