Repository navigation
fix(platform): report guardrails recent-events read failures - #4373
Conversation
|
TALE-302 / TALE-359 dispatch report: implemented in this PR, head Failed events reads now show an accessible localized error and Retry, preserving policy cards and filters. Retry is disabled while fetching and the error remains until recovery. Successful empty copy is unchanged. Tests cover failure, retry in flight, repeated failure, recovery to empty/recorded events, and stale refresh failures. EN/DE/FR copy and the reserved automation-register paragraph are included. Local verification passed: one-worker overview + list conventions (24 tests), final overview rerun (18), platform i18n (24), scoped types, scoped oxlint/type-aware lint, oxfmt, diff whitespace, and manual-register lint. Real Chromium fixture with the actual component and shared styles passed EN/DE/FR, light/dark, keyboard focus, retry/recovery, and German mobile overflow checks. No production network or writes. CI is queued/running; independent review and merge remain open. The workspace tool refused |
|
Final UI review: visual-aspect-analyzer scored 100/100, no defects, 25 discovered elements (17 tracked), no coverage cap. The probe rendered the actual overview and shared design-system styles with deterministic query fixtures. EN/DE/FR light/dark browser assertions passed, as did keyboard focus, pending Retry, successful-empty recovery, and German mobile overflow. The earlier 99 scores exposed a collapsing top margin in the standalone harness, corrected by making its root a flow root; no product source changes were needed. CI currently has 25 passing checks and remaining jobs running/queued, with no reported failure. Head remains |
|
CI attempt 1 passed every other blocking check, but Backend integration reported 1578/1579 checks passed. Its one failure is in untouched automation watchdog coverage:
Source: |
|
Final TALE-302 / TALE-359 report: #4373 , head Implementation and local checks are complete: accessible events-read error with Retry, retry in flight/recovery regressions, EN/DE/FR copy, preserved policy cards/filters and successful-empty behavior, and reserved automation-register entry. Targeted Node single-worker tests (24 overview/conventions, 18 final overview, 24 i18n), scoped lint/format/types and manual-register checks passed. Chromium locale/theme/keyboard/retry/mobile checks passed; final visual-aspect-analyzer scored 100/100. CI has 49 successful checks. Backend integration failed 1 of 1579 checks in untouched automation recovery fairness coverage (25/26 probes with 26 reservations), and CI ready (Checks) failed as its dependent. All other blocking checks passed. The attempted failed-job rerun was refused: direct GitHub REST returned HTTP 403 “Resource not accessible by personal access token”, so attempt 1 remains the final observed attempt. This corrects the earlier progress note: a rerun was requested but never started. An operator with Actions write permission must rerun/investigate that automation fairness failure. CI is not fully green; independent review and merge remain open. No self-acceptance or merge. Task-tool reporting was unavailable ( |
|
REQUEST_CHANGES — independent review of exact head Two P2 findings:
Other review results: initial failures show a shared Independent CI attribution: Backend integration job https://github.com/tale-project/tale/actions/runs/37332461097/job/111840576622 reports Verification at the reviewed head, existing dependencies only:
This single PR comment is also the fallback verdict for TALE-302 and TALE-359 ( |
|
TALE-302 / TALE-359 repair update: pushed Verification: one-worker targeted overview tests (18 passed), scoped oxlint (passed), oxfmt (passed), and diff whitespace (passed). The prior Backend integration fairness failure remains independently attributed to untouched automation watchdog coverage; no rerun or cancellation was attempted. CI is being watched on the fresh push. Task connector was unavailable, so this is the fallback report for TALE-302 and TALE-359. |
|
ACCEPT — independent re-review of exact head
CI attribution from logs: Checks run
Independent local verification, existing dependencies only, exact-head source snapshot:
No independent real-browser layout or screen-reader audit was performed in this light lifecycle re-review. This single PR comment is also the requested fallback verdict for TALE-302 and TALE-359 ( |
|
TALE-904 delegated validation for #4373 (TALE-302); task-comment fallback for TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6) and TALE-360 (c42a085c-35c6-459f-8006-bdae1a0dc5e1) because workspace_status returned unavailable/not_granted. Confirmed OPEN at accepted db36485. Read both failing logs: Lint failed only on main’s use-compact-age.test.ts children-prop violation; CI ready (Checks) failed on that lint result. Verified main fix ac7f3f5. Conditional update-branch produced c282ad4, with accepted head and main 0287d78 as parents. Identity proven: range-diff keeps af8ecf5 and db36485 unchanged (exact SHAs); net git diffs match after removing only blob-index metadata and hunk line offsets from main additions. Merge-tree clean. Initial composed tree 6c8c2ec1edb4b6c2e4ca0f425babc860617d8901; latest checked main f458cb9 composes cleanly to 0b97b0d454e3ca49bea5d0ba74b1f388e668a66d. One-worker /opt/node/bin/node validation: Guardrails regression 18/18 on both composed trees; adjacent settings 6/6; additional i18n suites 162/162; platform catalog 24/24 after a local source-scanning timeout was resolved with a longer timeout. Review-only server.fs.allow config was necessary for the font asset. EN/DE/FR YAML parsed with uniqueKeys:true, no duplicates. Fresh CI remains queued. No merge permitted before every check is terminal, zero failures, and all seven CI ready contexts SUCCESS. No approval, status change, or CI rerun performed. Final observation at 2026-10-05T20:00:59.277856+00:00: 21 checks queued/nonterminal; 0 CI ready contexts reported. GitHub publicly confirms an active Actions runner-assignment incident: https://stspg.io/c11dc9nb1zdq (19:50Z update: delays assigning GitHub-hosted runners). Stopped without merging because the mandatory CI gate cannot be satisfied. Issue #3874 remains OPEN. A future qualified merger must re-read the head, await all seven successful CI ready contexts and all-terminal/zero-failure checks, and recompose/test against then-current main before merging. |
c282ad4 to
ad1b6a7
Compare
6b75c55 to
0a293d4
Compare
0a293d4 to
bf98059
Compare
A failed Guardrails recent-events read rendered “No events yet”, making unavailable security telemetry look like a clean result. Show a localized accessible error with Retry while preserving policy status cards and filters. Keep the error visible and Retry disabled during refetch; successful empty responses retain the existing copy, and failed refreshes hide stale rows.
Add EN/DE/FR copy, component regressions for failure, retry in flight, repeated failure, recovery to empty/recorded events, and stale-data refresh failure. Register coverage immediately after Inbox source discovery.
Verified with one-worker Node Vitest: overview and settings list conventions (24 tests), final overview rerun (18 tests), and platform i18n checks (24 tests). Scoped oxlint/type-aware lint, oxfmt, TypeScript checks for the changed component/test, diff whitespace, and manual-register lint passed. Browser review evidence will be added in a comment.
Closes #3874