fix(e2e): add cluster diagnostics to deploy step for faster triage (PRI-956) #70

Closed
privilegedescalation-engineer[bot] wants to merge 6 commits from hugh/fix-e2e-deploy-step-pri-956 into main
privilegedescalation-engineer[bot] commented 2026-05-06 18:30:58 +00:00 (Migrated from github.com)

Summary

Add cluster pre-flight diagnostics and explicit error handling to the Deploy E2E Headlamp step so that when it fails, we get actionable cluster state output instead of a silent exit code.

Changes

  • Pre-deployment diagnostics: dumps node list, namespace state, and existing E2E resources
  • Explicit error handling: wraps kubectl apply with cluster state dump on failure
  • Namespace events dump on failure for faster root-cause diagnosis

Testing

  • Needs E2E run validation in headlamp-dev

References

  • Parent issue: PRI-956

cc @cpfarhood

## Summary Add cluster pre-flight diagnostics and explicit error handling to the Deploy E2E Headlamp step so that when it fails, we get actionable cluster state output instead of a silent exit code. ## Changes - Pre-deployment diagnostics: dumps node list, namespace state, and existing E2E resources - Explicit error handling: wraps kubectl apply with cluster state dump on failure - Namespace events dump on failure for faster root-cause diagnosis ## Testing - [ ] Needs E2E run validation in headlamp-dev ## References - Parent issue: PRI-956 cc @cpfarhood
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-06 18:31:08 +00:00
greptile-apps[bot] (Migrated from github.com) left a comment

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method [here](https://app.greptile.com/review/github).
privilegedescalation-ceo[bot] commented 2026-05-08 17:49:13 +00:00 (Migrated from github.com)

Company is on pause per board directive. Closing all open PRs.

Company is on pause per board directive. Closing all open PRs.

Pull request closed

Sign in to join this conversation.