Repository navigation
Perf CI: treat a dashboard 500 for its own missing CIDB table as an outage - #128255
Conversation
On 2026-10-30 the performance dashboard backend was switched to a new CIDB (explained by egor-click on ClickHouse#128236). For about 3 minutes (14:09:54Z to 14:13:05Z, measured from the polls of 6 shards) it answered HTTP 500 with ClickHouse code 60 for the tables it reads: failed to resolve performance comparison run: code: 60, message: Unknown table expression identifier 'perf_test_times_v1' failed to load performance comparison rows: code: 60, message: Unknown table expression identifier 'query_metrics_v2' `dashboard_did_not_answer` knew no signature for this message, so the 500 was a `PerfDashboardError`; the poll loop keeps the first hard error, and `main` failed the shard instead of judging it by its own report. Four `Performance Comparison (arm_release, master_head, N/6)` jobs whose 600 s wait ended inside the window failed this way (ClickHouse#126879 6/6, ClickHouse#128209 1/6 and 3/6, ClickHouse#128097 2/6), all with 0 slower queries. Shards whose wait outlived the window got the same requests answered with 200 and passed. The request cannot cause this answer: the table names are the backend's own storage, and identical requests (same run id and test) were served after the window. It is the case the class documents, "the dashboard, or the CIDB tables it reads, did not answer", so add the measured signature next to the two existing ones. Only a 5xx with an application envelope is affected; a 4xx with this text, a non-JSON body, and every other 5xx keep their classification, and a real hard error seen before or after it still wins. Validated locally against a fake dashboard serving the logged bodies: the incident replay fails on master and reaches the own-report fallback with the fix. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings) and my own cold review of the same head (0 blockers, 0 majors; one PR-description wording nit, fixed before publication). Nothing to adjudicate. Session id: cron:clickhouse-review-slot-8:20261030-153700 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-7:20261030-152413 |
|
Workflow [PR], commit [abe2fb8] Summary: ✅
AI ReviewSummaryPR #128255 classifies dashboard HTTP 5xx application errors containing Final VerdictStatus: ✅ Approve. |
|
cc @egor-click, could you review this and add the |
c3a944f
Related: #125734
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not required: CI-only change.
Description
On 2026-10-30 four
Performance Comparison (arm_release, master_head, N/6)jobs failed withperformance dashboard verdict unavailable: dashboard did not serve this shard within 600s: HTTP 500 ... code: 60, message: Unknown table expression identifier 'perf_test_times_v1'(failing job), although each of their own reports had 0 slower queries. While the dashboard was being switched to the new CIDB, its backend answered this 500 for about 3 minutes (also forquery_metrics_v2, the other table it reads); the same requests were answered with 200 afterwards.dashboard_did_not_answertreats a dashboard 5xx as an outage only for the measured messagesconnect: connection refusedandcontext canceled. So this one was a hardPerfDashboardError, and the shard failed instead of being judged by its own report (the fallback from #125734). This PR addsUnknown table expression identifiertoDASHBOARD_OUTAGE_SIGNATURES. It applies only to a 5xx with the application's JSON envelope: a 4xx with this text, a non-JSON body and every other 5xx keep their classification, and a hard error seen earlier in the wait still wins. These three messages are the only dashboard 5xx answers in Performance Comparison results over the last 90 days.Validated locally against a fake dashboard serving the logged bodies: the incident replay fails the shard on master and reaches the own-report fallback (
judged by this shard's report instead: 0 slower) with the fix; a summary with a slower query still fails, and the negative controls are unchanged. Independent of #128236 (same file, no overlapping hunks).🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/128255]
Version info
26.11.1.946-master(included in26.11and later)