Repository navigation
Closed
Labels
Description
Problem
Four governance views state something false when their read fails, and none offers Try again. Paths are under services/platform/app/features/settings/ at main acd5dbd10.
| # | View | Code | What an admin is told |
|---|---|---|---|
| 1 | Logs › Audit and Errors tables | audit-logs/components/audit-log-table.tsx:163-173 gives useListPage a paginated source (results, status, loadMore, isLoading) without error or retry. A failed first page reads as "Exhausted", the same mechanism as #4665. The page uses the listing's error only to disable the filters |
"No audit logs — Audit logs will appear here as actions are performed in your organization." (Errors tab: "No error logs"). A compliance reviewer is told the trail is empty |
| 2 | Logs › integrity panel | audit-logs/components/audit-integrity-panel.tsx:54, :71, :91-96: once loading ends with no data, s == null renders logs.integrity.neverChecked |
"No automated integrity check has run yet." A failed status read also hides any tamper alert the status carries |
| 3 | Data subject requests list | governance/data-subject-requests/requests-list-section.tsx:55 reads error but uses it only to disable the filter bar (:197). The DataTable (:216-254) gets no error, so a failed first page falls to its empty state |
"No erasure requests yet — File a request from the action above to record an Art. 17 receipt." An admin may file a duplicate erasure |
| 4 | Guardrails overview cards | governance/components/guardrails-overview.tsx:127-134 keeps only data/isLoading from three useGovernancePolicy reads; policyEnabled(undefined) (:136, :165, :176) is false |
The cards show their off state for PII detection, content safety and the moderation provider. That contradicts the read-failure alerts further down the page |
Rows 1 and 3 share the class #4665 fixed nowhere else: a paginated read whose failure becomes an empty state.
Expected
- (1) and (3): pass the paginated source's
errorandretrytouseListPage/DataTable, so a failed first page shows an error with Try again, and a failed later page shows the same with the rows kept. - (2): distinguish "never checked" from "couldn't load the status" and offer a retry.
- (4): show an unknown state on the cards when their read failed.
- Regression: a component test per view where the first read fails. It must not render the empty or off copy, and must recover with Try again. On
acd5dbd10all four render it.
Severity and owner
- Severity: medium. These are audit and erasure surfaces where "nothing there" is itself a finding an admin acts on.
- Owner: platform (governance and logs).
- Related: bug(platform): the notification panel says "You're all caught up" when its notifications fail to load #4665 (same paginated mechanism) and bug(platform): Teams, Notifications and Enterprise SSO settings hide a failed read (endless skeleton, all toggles on, blank form) #4653.
- Found by: Review A (TALE-358), 2026-10-12 08:15 Zurich occurrence, oldest-due governance UX-CLARITY slice. Static reading at
acd5dbd10, verified at the cited lines; nothing was run, because Review A's stack is BLOCKED.
Activity
yannickmonney commentedon Oct 12, 2026
Addendum (Review A, TALE-358, 2026-10-12 16:15 Zurich occurrence): two more governance views fail the same way, at
main4cde0834a. Paths are underservices/platform/.LEGAL_HOLD_BLOCKS_ERASUREdoesn't toast. The dialog stores the request id and returns (app/features/settings/governance/data-subject-requests/file-request-dialog.tsx:163-170) and leaves the explanation toLegalHoldBlockPanel(:283-287). The panel hydrates throughgetErasureRequestand rendersnullwhile that read loads and when it fails (legal-hold-block-panel.tsx:31-33)dataSubjectRequests.errors.legalHoldBlocked(data-subject-requests-errors.ts:78-82) is never shown. The admin isn't told a hold blocked the erasure, so they may retry or assume the erasure was filedapp/features/settings/governance/components/moderation-api-key-panel.tsx:24-25keeps onlydataandisLoading; a failed status read showsapiKeyNotConfiguredand the Set key button (:96-108). Separately, the backend sends an undecryptable key as the English literal'•••• (key rotated — re-save)'(backend/domains/governance/settings-tail.ts:810-815), which the panel prints verbatimExpected:
legalHoldBlockedwith a Try again for the details. While it loads, show a short "Checking the hold…" line instead of nothing.rotatedstatus code instead of a sentence, and translate it in the panel.Regression:
requestErasurerejects withLEGAL_HOLD_BLOCKS_ERASUREandgetErasureRequestrejects. A visible blocked message remains.4cde0834aboth render the states above.This is static reading, verified at the cited lines. I didn't run it.
yannickmonney commentedon Oct 12, 2026
Addendum 2 (Review A, TALE-358, 2026-10-12 20:15 Zurich occurrence): two more governance reads that state a cause they don't know.
mainc94f1fd84, paths underservices/platform/app/features/settings/.audit-logs/components/audit-log-table.tsx:85-88fetches it by id. Once that read stops loading, any outcome without data, including a failed read, raiseslogs.integrity.rowMissing(:101-108)governance/data-subject-requests/request-detail-drawer.tsx:128-151;dataSubjectRequests.drawer.errorState.description)Expected:
Regression: an audit-log table test whose
getAuditLogByIdrejects. The toast must not say "no longer available". Onc94f1fd84it does.This is static reading, verified at the cited lines. I didn't run it.