fix(chart): hide component status_history in chart view

Flapping components (e.g. DIMM CPU0_C2D1 with 13 transitions) stretched
table rows across several screens. The same journal events are already in
Event Logs, matched by component_ref. The Reanimator export keeps the field.

ADL-073.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Mikhail ChusavitinandClaude Opus 5.5 committed 2026-09-28 13:18:58 +03:00
1 parent 2ce60280c3
commit ab53914d0a
3 files changed
+104

No files matched your search

+20
View File
@@ -2130,3 +2130,23 @@ events use source `BMC`.
timeline under v2.13; contract change requested in
`docs/reanimator-contract-request-installed-at.md`, follow-up in BACKLOG
`[installed_at]`.
## ADL-073 — Chart view hides component status_history
**Date:** 2026-09-28
**Context:** Inspur/Lenovo parsers fill component `status_history` from the BMC
journal (IDL/SEL Assert/Deassert). In the embedded chart view a flapping DIMM
(CPU0_C2D1, 13 transitions) rendered every entry as `changed_at/details/status`
lines, stretching the memory table row across several screens. The same
journal events are already in Event Logs with `component_ref` = the component's
sensor name (for DIMMs, the slot).
**Decision:** `GET /chart/current` removes `status_history` from every
`hardware` component before rendering. The Reanimator export (JSON download,
upload to Reanimator) keeps `status_history` unchanged. The chart submodule is
not modified.
**Consequences:**
- The component's transition timeline is read from Event Logs filtered by
`component_ref`.
- `status`, `status_changed_at`, and `error_description` stay in the tables.