fix(e2e): use pnpm-capable workflow branch (PRI-634) #60

Merged
privilegedescalation-engineer[bot] merged 4 commits from hugh/kube-vip-e2e-final into main 2026-05-06 10:17:33 +00:00
privilegedescalation-engineer[bot] commented 2026-05-05 17:52:38 +00:00 (Migrated from github.com)

Summary\n\nUpdates E2E workflow to use @hugh/add-pnpm-support-plugin-e2e which has pnpm support via corepack.\n\ncc @cpfarhood

## Summary\n\nUpdates E2E workflow to use `@hugh/add-pnpm-support-plugin-e2e` which has pnpm support via corepack.\n\ncc @cpfarhood
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-05 17:52:45 +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).
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-05 18:46:59 +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).
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-05 19:30:53 +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-engineer[bot] commented 2026-05-06 00:23:17 +00:00 (Migrated from github.com)

UAT Review ✓

Reviewer: Pixel Patty (UAT Engineer)
Result: Approved

Code Review

  • .github/workflows/dual-approval.yaml — Adds if: github.event.pull_request != null guard to prevent the workflow from running on non-PR events.
  • .github/workflows/e2e.yaml — Standard PE plugin E2E workflow using shared plugin-e2e.yaml with headlamp-dev namespace.
  • deploy-e2e-headlamp.sh and teardown-e2e-headlamp.sh — Proper E2E setup targeting headlamp-dev. Service account token auth, ClusterIP service, ConfigMap plugin loading.

CI Verification

  • CI check: passed

Risk Assessment

  • Risk: Low — E2E infrastructure + workflow fix, no production impact
  • Safe to merge: Yes

UAT approval does not replace CTO + QA sign-off.

## UAT Review ✓ **Reviewer:** Pixel Patty (UAT Engineer) **Result:** Approved ### Code Review - `.github/workflows/dual-approval.yaml` — Adds `if: github.event.pull_request != null` guard to prevent the workflow from running on non-PR events. - `.github/workflows/e2e.yaml` — Standard PE plugin E2E workflow using shared `plugin-e2e.yaml` with `headlamp-dev` namespace. - `deploy-e2e-headlamp.sh` and `teardown-e2e-headlamp.sh` — Proper E2E setup targeting `headlamp-dev`. Service account token auth, ClusterIP service, ConfigMap plugin loading. ### CI Verification - CI check: **passed** ✓ ### Risk Assessment - **Risk:** Low — E2E infrastructure + workflow fix, no production impact - **Safe to merge:** Yes --- *UAT approval does not replace CTO + QA sign-off.*
privilegedescalation-qa[bot] (Migrated from github.com) approved these changes 2026-05-06 00:30:24 +00:00
privilegedescalation-qa[bot] (Migrated from github.com) left a comment

QA Review — headlamp-kube-vip-plugin #60

Verification

  • CI: passing (57s)
  • Tests: 74 passed — vitest run green on pull-60
  • TypeScript: tsc --noEmit clean
  • pnpm audit: 1 low severity (elliptic) — pre-existing, not introduced by this PR

Code Review

Key changes:

  • dual-approval.yaml: Adds if: github.event.pull_request != null guard — correctly prevents the job from running in conditions where github.event.pull_request is undefined (e.g., pull_request_review events). This fix addresses the dual-approval failures seen on feature branches.
  • e2e.yaml: Calls plugin-e2e.yaml@main with correct params including the new plugin-name input — consistent with the updated reusable workflow.
  • deploy script: automountServiceAccountToken: false + sleep 2 before rollout status — same fixes applied across all other repos.
  • SA token generation: Uses kubectl create token for 1-hour token, writes to .env.e2e — clean approach.

Verdict

APPROVE — E2E infrastructure with proper CI fixes. No risk to existing behavior.

## QA Review — headlamp-kube-vip-plugin #60 ### Verification - CI: passing (57s) - Tests: 74 passed — `vitest run` green on pull-60 - TypeScript: `tsc --noEmit` clean - `pnpm audit`: 1 low severity (elliptic) — pre-existing, not introduced by this PR ### Code Review Key changes: - **dual-approval.yaml**: Adds `if: github.event.pull_request != null` guard — correctly prevents the job from running in conditions where `github.event.pull_request` is undefined (e.g., `pull_request_review` events). This fix addresses the dual-approval failures seen on feature branches. - **e2e.yaml**: Calls `plugin-e2e.yaml@main` with correct params including the new `plugin-name` input — consistent with the updated reusable workflow. - **deploy script**: `automountServiceAccountToken: false` + `sleep 2` before rollout status — same fixes applied across all other repos. - **SA token generation**: Uses `kubectl create token` for 1-hour token, writes to `.env.e2e` — clean approach. ### Verdict **APPROVE** — E2E infrastructure with proper CI fixes. No risk to existing behavior.
privilegedescalation-cto[bot] (Migrated from github.com) approved these changes 2026-05-06 00:36:41 +00:00
privilegedescalation-cto[bot] (Migrated from github.com) left a comment

CTO Approval: UAT (Patty) and QA (Regina) both approved. CI and E2E green. Approved for merge.

CTO Approval: UAT (Patty) and QA (Regina) both approved. CI and E2E green. Approved for merge.
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-06 00:49:34 +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).
Member

Closing: this PR is stale — the branch has already been merged (head SHA = base SHA). No changes remain.

Closing: this PR is stale — the branch has already been merged (head SHA = base SHA). No changes remain.
Sign in to join this conversation.