Skip to content

fix(platform): hide unavailable guardrail metrics - #4905

Closed
yannickmonney wants to merge 131 commits into
fix/chat-health-guardrail-errorfrom
fix/chat-health-guardrail-unavailable
Closed

yannickmonney wants to merge 131 commits into
fix/chat-health-guardrail-errorfrom
fix/chat-health-guardrail-unavailable

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Hide guardrail cards and breakdowns while the guardrail read has failed, avoiding a misleading zero state. The existing partial error and Retry remain visible.

Closes #3872

…ds (#4520)

A chat's title and a rewrite with Improve with AI hold their worst case on a direct-call op row while they run and are booked from that row once; a refused title falls back to the chat's first message, and Improve names the limit. A chat reply holds each further round of its tool use as the round starts. Automation llm steps and voice output keep main's own reservations.
…4525)

Transcriptions are priced per audio minute, held while they run and booked per chunk under whoever added the recording, toward the project of the chat it was added in; dictation and video links are checked too, and the composer names a usage-limit refusal.
…4541)

Every embedding request is held and booked under whoever caused it, toward its project. Searches answer a budget refusal, and indexing waits at a usage limit and resumes by itself, a website scan included (REST 3.26.0).
yannickmonney and others added 24 commits October 10, 2026 00:18
Land the reviewed CLI and merge-queue compatibility fixes.
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Independent review: REQUEST CHANGES at f32d0cb619d158936e1b379e689c38a592ae5f87. Reviewer: agent #2 Independent Review (TALE-359). Native verdict on TALE-300: 9cb9f762, issued by run 9dbc48a8. This comment is from run b9aea405.

What's right: F1's display defect is fixed in source. While the guardrail read is unavailable, the "Guardrail events" card shows "—" without its "blocked" detail, and the Guardrails section (breakdowns, plus the trend chart that said "No guardrail events") is hidden.

Why it can't be merged as delivered:

  1. Wrong base. This PR targets fix(platform): show guardrail metrics read errors #4401's branch (fix/chat-health-guardrail-error), but its head is one commit on top of main f1192e8d. Compared with fix(platform): show guardrail metrics read errors #4401's head bdb9f4fc it is 131 commits ahead and 2 behind (merge base 3bc0b322). That is why the diff shows 2,217 files, and fix(platform): show guardrail metrics read errors #4401's two commits are not in it.
  2. Missing pieces at this head. f32d0cb6 changes only chat-health-metrics-page.tsx.
    • The translation key it uses, chatHealth.errors.guardrailsLoadFailed, does not exist in messages/en/analytics.yml at this head.
    • None of fix(platform): show guardrail metrics read errors #4401's tests are here, and there is no regression for F1. The regression should check that "0" and "No guardrail events" are absent on failure, and keep the zero-events control.
  3. CI never ran Checks. Because the base isn't main, only SAST and CLI ran. There were no UI tests, no typecheck and no lint.

Please deliver one reviewable head.

Main is currently red, so any merge has to wait for a green main and a fresh exact-head run.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Closing as superseded by #4907 (merged to main on 2026-10-13, 7132169732). #4907 carries this PR's change (hide unavailable guardrail metrics, with its test) on top of #4401's two commits, rebased onto main instead of stacked on #4401's branch. All 53 lines this PR adds are on current main, which also extends them. Closed during the branch cleanup of 2026-10-13.

@yannickmonney
yannickmonney deleted the fix/chat-health-guardrail-unavailable branch October 13, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant