diff --git a/heart/dashboard.py b/heart/dashboard.py index fbed2d17..320ac525 100644 --- a/heart/dashboard.py +++ b/heart/dashboard.py @@ -2067,6 +2067,10 @@ def _html_reason(item: dict) -> str: # variables, so this board follows the family accent rather than setting a # second palette. _EXTRA_CSS = """ +.test-workspace-detail{margin-inline-start:.75rem;padding-inline-start:.75rem;border-inline-start:2px solid var(--line,#888)} +.test-workspace-detail dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.35rem .8rem} +.test-workspace-detail dd{margin:0;overflow-wrap:anywhere} + /* All check categories share one compact disclosure grid. */ .board{border:1px solid var(--line);border-radius:10px;overflow:hidden} .check-row{position:relative;border-bottom:1px solid var(--line)} diff --git a/heart/resources.py b/heart/resources.py index 69fa65cf..06709014 100644 --- a/heart/resources.py +++ b/heart/resources.py @@ -55,16 +55,24 @@ def render(catalogue, repos, *, now=None): pass projects = ', '.join(p['name'] for p in resource['projects']) sources = ' · '.join(link(l['url'], l['label']) for l in resource['links']) - workflows = [] - for workflow, evidence in (ci.get('workflows') or {}).items(): + workflows = ci.get('workflows') or {} + rows = [] + failures = [] + for workflow, evidence in workflows.items(): status = evidence.get('conclusion') or evidence.get('status') or 'unknown' - workflows.append(f'
No workflow-level evidence available.
' - cards.append(f'''Regression, smoke and parity checks for {esc(projects)}. Source remains in the test workspace.
-{sources} · {link(ci.get('url', ''), 'Latest recorded CI run')}
-Test-level counts and coverage are not supplied by this CI snapshot. CI is separate from full release validation; these rows do not change readiness.
-Next: use Heart's check-in to inspect this workspace's latest run, missing evidence and failures before scheduling any check.
Project-owned test suites and their recorded CI evidence. Inventory is not a passing result. CI without matching repository run provenance is unavailable. Evidence older than 24 hours is labelled outdated here; release gates retain their own policy.
' - + ''.join(cards) + ('' if cards else 'No public test-workspace resources available.
') + '{sources} · {link(ci.get('url', ''), 'CI run')}
No test workspaces configured.
') + '