Skip to content

test: improve e2e failure diagnostics report - #299

Merged
GrigoryPervakov merged 1 commit into
mainfrom
e2e-deploy-wait-diagnostics
Aug 19, 2026
Merged

test: improve e2e failure diagnostics report#299
GrigoryPervakov merged 1 commit into
mainfrom
e2e-deploy-wait-diagnostics

Conversation

@GrigoryPervakov

Copy link
Copy Markdown
Member

Why

Most e2e-compat flaky failures are hard to diagnose to fix

What

Provide more details in logs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves end-to-end (e2e) failure diagnostics for flaky e2e-compat runs by enriching namespace resource dumps (with condition/state summaries) and by replacing kubectl wait calls with a Go helper that emits more informative readiness failures for ClickHouse/Keeper CRs.

Changes:

  • Add concise, per-object summary lines to namespace resource dumps (including ClickHouseCluster/KeeperCluster conditions, Job counters, and Pod state/restarts).
  • Include ClickHouse/Keeper CRDs in the diagnostics resource collection.
  • Introduce a waitClusterReady helper in e2e deployment tests that reports readiness failures with formatted CR conditions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
test/testutil/utils.go Enhances diagnostics output by summarizing object state/conditions in short resource dumps and including operator CRs.
test/deploy/deploy_test.go Replaces kubectl wait calls with a helper that waits for CR readiness and prints condition details on failure.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread test/testutil/utils.go
Comment thread test/deploy/deploy_test.go
@GrigoryPervakov
GrigoryPervakov enabled auto-merge (squash) August 19, 2026 18:55
@GrigoryPervakov
GrigoryPervakov merged commit a640af6 into main Aug 19, 2026
45 of 48 checks passed
@GrigoryPervakov
GrigoryPervakov deleted the e2e-deploy-wait-diagnostics branch August 19, 2026 20:03
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.

2 participants