fix: drop redundant stage suffix from Burn-In failed chip
Some checks are pending
Security scan / pip-audit (push) Waiting to run
Security scan / bandit (push) Waiting to run
Security scan / gitleaks (push) Waiting to run
Security scan / mypy (push) Waiting to run

Per user: '(LONG SMART)' was redundant since the LONG SMART column
already shows FAILED. Same for short SMART and surface_validate
(the dominant case — the drawer shows per-stage Reason for digging).

Suffix kept for precheck / final_check since those are rare enough
that the hint is genuinely helpful.
This commit is contained in:
Brandon Walter 2026-05-09 12:33:26 -07:00
parent 1bc1b378ab
commit 659f540270

View file

@ -46,7 +46,13 @@
{%- elif bi.state == 'passed' -%} {%- elif bi.state == 'passed' -%}
<span class="chip chip-passed">Passed</span> <span class="chip chip-passed">Passed</span>
{%- elif bi.state == 'failed' -%} {%- elif bi.state == 'failed' -%}
<span class="chip chip-failed">Failed{% if bi.stage_name %} ({{ bi.stage_name | replace('_',' ') }}){% endif %}</span> {# Suppress the stage suffix for SMART + surface_validate stages.
SMART has its own columns, and surface_validate is the dominant
case so a redundant suffix just adds visual noise. The drawer
shows the per-stage Reason for any digging. Keep the suffix for
precheck / final_check since those are rare enough that the hint
is helpful. #}
<span class="chip chip-failed">Failed{% if bi.stage_name and bi.stage_name not in ('short_smart', 'long_smart', 'surface_validate') %} ({{ bi.stage_name | replace('_',' ') }}){% endif %}</span>
{%- elif bi.state == 'cancelled' -%} {%- elif bi.state == 'cancelled' -%}
<span class="chip chip-aborted">Cancelled</span> <span class="chip chip-aborted">Cancelled</span>
{%- elif bi.state == 'unknown' -%} {%- elif bi.state == 'unknown' -%}