From 8f14cdd6cacf3652de77f527eea3d5efca5cca62 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 13 May 2025 14:20:20 +0200 Subject: Invocation server: show actions with console output separately Normally, actions are supposed to work silently, i.e., without writing to stdout/stderr. So, if an action produces console output, it is definitely worth looking at, even for cached actions. Therefore, add a section after the failed actions showing those actions (if not in the previous action). Also, always show duration (if known) and if an action is cached (which can happen for the ones producing console output). --- doc/invocations-http-server/templates/invocation.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc/invocations-http-server/templates') diff --git a/doc/invocations-http-server/templates/invocation.html b/doc/invocations-http-server/templates/invocation.html index 50d5690a..2ebebb86 100644 --- a/doc/invocations-http-server/templates/invocation.html +++ b/doc/invocations-http-server/templates/invocation.html @@ -38,6 +38,12 @@ Inocations {{invocation | e}} {% endif %} + {% if action["duration"] %} +
  • duration: {{ action["duration"] | e }}
  • + {% endif %} + {% if action["cached"] %} +
  • cached: {{ action["cached"] | e }}
  • + {% endif %} {% if action["exit_code"] != 0 %}
  • exit code: {{ action["exit_code"] }}
  • {% endif %} @@ -187,6 +193,17 @@ Inocations {{invocation | e}} (none) {% endif %} +

    Other actions with console output

    +{% if output_actions %} + +{% else %} +(none) +{% endif %} +

    Remaining non-cached actions

    {% if non_cached %} -- cgit v1.2.3