From aff8ee2242b6faf853337b6aca727f02e14e7995 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 16 Apr 2025 10:44:51 +0200 Subject: just profile: include exit code of actions Extend the profile by including non-zero exit codes of individual actions. When looking at an individual build invocation, the actions with non-zero exit code are often the interesting ones, like root cause of a build failure, or failing tests. Therefore, it is useful information to include this information; by leaving out the exit code if it is zero, we do not significantly increase the profile. --- share/man/just-profile.5.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share') diff --git a/share/man/just-profile.5.md b/share/man/just-profile.5.md index 70895efe..c04712af 100644 --- a/share/man/just-profile.5.md +++ b/share/man/just-profile.5.md @@ -53,6 +53,8 @@ The profile file contains the following information. - For the key *`"time"`* for non-cached actions the build time in seconds. + - For the key *`"exit code"`* the exit code of the action, if not 0. + - For the key *`"artifacts"`* an object with keys the output paths and values the hashes of the corresponding artifacts as hex-encoded strings. -- cgit v1.2.3