You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some users that report a problem say that the build show no errors, but there are warnings (which contains very useful information to solve the problem). The problem is that those warnings aren't very easy to see.
Possible solutions
We can't identify in a proper way if there is a warning, the status code is 0 for success, and everything else an error. But we can parse the output and search for some keywords like WARNING, warning, etc.
Doing this in the server side (an additional field in the db) seems like a little overkill.
We can show this only in the client side
Highlight the warning keywords only
or show a warning symbol (or color) in the command title
The text was updated successfully, but these errors were encountered:
Not a real fix but the -W or strict mode option will make these commands to fail. I'm saying that's not a real fix since the user has to activate that option.
Since we are marking the not 0 exit codes with red, I suppose that we could mark any output with the WARNING word (or similar) with yellow from the client.
We can think more about this issue. If we can figure it out a good "parsing logic" of command output to make reliable, I think we can use the "mark the command with yellow" idea. However, I think the "parsing logic" is the more important thing here.
I'm not considering this for the new build notification system I'm working on. In any case, this new system is considering having different type of notifications: error, warning, tip, etc. Once we have that parsing logic defined, we can trigger a warning notification.
Details
Some users that report a problem say that the build show no errors, but there are warnings (which contains very useful information to solve the problem). The problem is that those warnings aren't very easy to see.
Possible solutions
We can't identify in a proper way if there is a warning, the status code is
0
for success, and everything else an error. But we can parse the output and search for some keywords likeWARNING
,warning
, etc.The text was updated successfully, but these errors were encountered: