{# Machine-readable run outcome, e.g. for CI dashboards listing many reports. #}

{{ report_header }} Generated {{ generated_at }}  |  Duration: {{ duration }}

{# Label names the theme the button switches *to*. #}
{% for label, value in run_info %} {% endfor %}
{{ label }}{{ value }}
{% macro body_view(text, vid, truncated=false, limit=0, full_len=0) -%} {%- if truncated -%}
⚠ Truncated to {{ "{:,}".format(limit) }}{% if full_len %} of {{ "{:,}".format(full_len) }}{% endif %} characters. Set api_body_limit = 0 (or --api-body-limit=0 / API_BODY_LIMIT=0) to capture bodies in full.
{%- elif text and text | length > json_view_max -%}
Body is {{ "{:,}".format(text | length) }} characters — shown raw, too large for the collapsible view.
{%- endif -%} {%- set jv = text | json_view -%} {%- if jv -%}
{{ jv.tree }}
{%- else -%}
{{ text if text else "—" }}
{%- endif -%} {%- endmacro %}
{{ donut_svg | safe }}
Pass rate: {{ pass_rate }}%
{{ total }}
Total
{{ passed }}
Passed
{{ failed }}
Failed
{{ error }}
Errors
{% if xfailed %}
{{ xfailed }}
XFailed
{% endif %} {% if xpassed %}
{{ xpassed }}
XPassed
{% endif %} {% if retried_calls %}
{{ retried_calls }}
Retried calls
{% endif %}
{% if endpoint_stats %}
Endpoint performance{{ endpoint_stats | length }} endpoint(s), slowest p95 first {% for s in endpoint_stats %} {% endfor %}
Endpoint Calls Min p50 p95 Max Errors Retried
{{ s.method }} {{ s.endpoint }} {{ s.count }} {{ s.min }} ms {{ s.p50 }} ms {{ s.p95 }} ms {{ s.max }} ms {{ s.errors }} {{ s.retried }}
{% endif %}
{% if failed or error %} {% endif %} {% if xfailed %}{% endif %} {% if xpassed %}{% endif %}
{% for rec in records %} {% set idx = loop.index0 %} {% set has_detail = rec.stdout or rec.stderr or rec.logs or rec.longrepr or rec.api_calls or rec.assertions %} {% if has_detail %} {% endif %} {% endfor %}
{{ rec.outcome | upper }} {% if has_detail %} ▶ {% endif %} {{ rec.node_id }} {% for m in rec.markers %} {{ m }} {% endfor %} {% if rec.worker %} ⚙ {{ rec.worker }} {% endif %} {% set reason = rec | failure_reason %} {% if reason %}
✖ {{ reason }}
{% endif %}
{{ "%.3f" | format(rec.duration) }}s {{ rec.api_calls | length }}