Skip to content

Confirm dashboard performance regressions after a server restart - #122782

Merged
fm4v merged 1 commit into
masterfrom
codex/confirm-dashboard-regressions
Sep 29, 2026
Merged

fm4v merged 1 commit into
masterfrom
codex/confirm-dashboard-regressions

Conversation

@egor-click

@egor-click egor-click commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

A master_head performance shard now restarts both servers and reruns its dashboard confirmed_regression queries before blocking CI. Confirmation uses the dashboard's numeric practical threshold and the rerun's own statistical threshold: a 16% slowdown still blocks at a 7.2% dashboard threshold even when the in-tree threshold is 20%.

Queries that do not reproduce remain visible in Check Results with the original verdict and rerun evidence. Missing thresholds, failed/incomplete measurements, malformed output and timeouts retain the failure. The existing 100-query/20-minute measurement limits remain, with a 25-minute outer timeout. Rerun files are separate; original report data and uploads are preserved.

Requires deployment of the dashboard API addition exposing numeric confidence.confirmationThreshold. Until that field is available, dashboard regressions retain their current blocking behavior.

Validation: 32 local checks covering gate selection, practical/statistical thresholds, failure handling, stale output, stage dispatch and shell confirmation with real clickhouse-local/eqmed.sql and fixture measurements; Bash syntax and Python compilation passed. Full performance CI remains to run.

Related: #119556
Related: #121456

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Confirm dashboard performance regressions after restarting the test servers before blocking CI.


Workflow [PR]
Sync PR [sync-upstream/pr/122782]

Version info

  • Merged into: 26.10.1.986-master (included in 26.10 and later)

Rerun dashboard-selected queries with the dashboard's practical threshold
and fresh statistical evidence before blocking master-head comparisons.
Keep missing or failed confirmation blocking and retain cleared rows in
Check Results with their rerun evidence.

Related: #119556 (comment)
Related: #120615 (comment)
Related: ClickHouse/performance-comparison#6
@clickhouse-gh

clickhouse-gh Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [ca35558]

Summary: ✅


AI Review

Summary

This PR adds a second confirmation pass for master_head dashboard regressions by restarting both servers, rerunning the dashboard-selected queries with the dashboard's practical threshold, and surfacing the rerun outcome in Check Results. The fail-closed parts of the gate look consistent, but the current Check Results wiring reclassifies cleared dashboard regressions to plain OK, which means the UI no longer matches the promised "remain visible" behavior.

Findings

⚠️ Majors

  • [ci/jobs/performance_tests.py:1865] A dashboard regression that clears on rerun is converted to Result.Status.OK. In Praktika, OK rows are hidden by the failures / warnings filters, and the later dedupe by test #query_index suppresses the original slower row as well. That means a cleared dashboard regression does not actually remain visible in the filtered Check Results views, and its original perf verdict is lost as structured state. Suggested fix: keep a perf-specific row/status for the original verdict and attach the confirmation evidence separately, or otherwise avoid converting the replacement row to plain OK.
Tests

Only python3 -m py_compile ci/jobs/performance_tests.py and bash -n ci/jobs/scripts/perf/compare.sh were verified locally. The PR performance jobs themselves were still pending/skipped while I reviewed.

Final Verdict

Changes requested: keep rerun-cleared dashboard regressions visible in the perf-specific Check Results views instead of reclassifying them to plain OK.

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Sep 28, 2026
Comment thread ci/jobs/performance_tests.py Resolved
@clickhouse-gh clickhouse-gh Bot added the comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). label Sep 29, 2026
@fm4v
fm4v added this pull request to the merge queue Sep 29, 2026
Merged via the queue into master with commit 2a7f0c4 Sep 29, 2026
149 checks passed
@fm4v
fm4v deleted the codex/confirm-dashboard-regressions branch September 29, 2026 11:31
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ci-infrastructure CI/CD pipelines (GitHub Actions, CI scripts, runners). pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants