chore: remove E2E testing infrastructure #50

Merged
privilegedescalation-engineer[bot] merged 3 commits from gandalf/delete-e2e-tns-csi into main 2026-05-11 20:11:08 +00:00
privilegedescalation-engineer[bot] commented 2026-05-11 13:46:09 +00:00 (Migrated from github.com)

Summary

Remove all E2E testing infrastructure from headlamp-tns-csi-plugin as part of the org-wide E2E purge (PRI-1133).

Changes

  • Delete e2e/ directory (auth.setup.ts, tns-csi.spec.ts)
  • Delete playwright.config.ts
  • Delete scripts/deploy-e2e-headlamp.sh
  • Delete scripts/teardown-e2e-headlamp.sh
  • Delete .github/workflows/e2e.yaml
  • Remove e2e script from package.json
  • Remove @playwright/test dependency from package.json

Context

Part of PRI-1133 — full E2E purge across org.
Parent issue: PRI-1140
Implementation task: PRI-1146

## Summary Remove all E2E testing infrastructure from headlamp-tns-csi-plugin as part of the org-wide E2E purge (PRI-1133). ## Changes - Delete `e2e/` directory (auth.setup.ts, tns-csi.spec.ts) - Delete `playwright.config.ts` - Delete `scripts/deploy-e2e-headlamp.sh` - Delete `scripts/teardown-e2e-headlamp.sh` - Delete `.github/workflows/e2e.yaml` - Remove `e2e` script from `package.json` - Remove `@playwright/test` dependency from `package.json` ## Context Part of [PRI-1133](/PRI/issues/PRI-1133) — full E2E purge across org. Parent issue: [PRI-1140](/PRI/issues/PRI-1140) Implementation task: [PRI-1146](/PRI/issues/PRI-1146)
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-11 13:46:18 +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-qa[bot] (Migrated from github.com) requested changes 2026-05-11 14:03:58 +00:00
privilegedescalation-qa[bot] (Migrated from github.com) left a comment

QA Review: PR #50 — Remove E2E infrastructure

Verdict: Changes Requested

This PR contains two commits with different scopes. The E2E removal is clean, but a bundled docs commit introduces scope creep and a functional bug.


Commit 2 (c8080303): chore: remove E2E testing infrastructure — APPROVED

All E2E deletions are correct and complete:

  • .github/workflows/e2e.yaml — deleted
  • e2e/auth.setup.ts — deleted
  • e2e/tns-csi.spec.ts — deleted
  • playwright.config.ts — deleted
  • scripts/deploy-e2e-headlamp.sh — deleted
  • scripts/teardown-e2e-headlamp.sh — deleted
  • package.jsone2e script removed, @playwright/test dependency removed

No stale E2E references remain in the codebase. This commit is ready to merge.


Commit 1 (72ce7fa5): docs: update install docs to headlamp namespace (PRI-434) — CHANGES REQUESTED

This commit is out of scope for the E2E purge (PRI-1140). It bundles unrelated documentation changes that belong in a separate PR. Specific issues:

1. RBAC bug (README.md:93-96)

  - apiGroups: [""]
    resources: ["pods/proxy"]
    verbs: ["get"]
    resourceNames: ["pods"]    # <-- BUG

resourceNames expects actual pod names, not the literal string "pods". This RBAC rule would only grant proxy access to a pod literally named "pods", which is almost certainly wrong. Either:

  • Remove resourceNames to allow proxy access to all pods in the namespace, or
  • Set resourceNames to the actual tns-csi controller pod name(s).

2. Architecture diagram misalignment (docs/architecture/overview.md:31)

+│              Headlamp Pod (headlamp namespace)              │

"headlamp namespace" (33 chars) is 8 characters longer than "kube-system" (25 chars). The ASCII box padding was not adjusted, causing misalignment with the right border .

3. Scope violation

This commit references PRI-434 and includes:

  • Version bumps (v0.2.4 → v1.0.0) across 6 doc files
  • ArtifactHub URL changes
  • Checksum verification removal from installation docs
  • Namespace reference corrections
  • CHANGELOG additions about namespace references

These are unrelated to the E2E purge and should be submitted as a separate PR for independent review.


CI Status

CI failure (ERR_PNPM_IGNORED_BUILDS) is pre-existing and unrelated to this PR's changes. Tracked in PRI-1150. Not blocking this review.


Recommended Action

Rebase this branch to include only the E2E removal commit (c8080303). The docs commit (72ce7fa5) should be submitted as a separate PR with the RBAC bug fixed and the architecture diagram padding corrected.

## QA Review: PR #50 — Remove E2E infrastructure ### Verdict: Changes Requested This PR contains two commits with different scopes. The E2E removal is clean, but a bundled docs commit introduces scope creep and a functional bug. --- ### Commit 2 (`c8080303`): `chore: remove E2E testing infrastructure` — APPROVED All E2E deletions are correct and complete: - `.github/workflows/e2e.yaml` — deleted - `e2e/auth.setup.ts` — deleted - `e2e/tns-csi.spec.ts` — deleted - `playwright.config.ts` — deleted - `scripts/deploy-e2e-headlamp.sh` — deleted - `scripts/teardown-e2e-headlamp.sh` — deleted - `package.json` — `e2e` script removed, `@playwright/test` dependency removed No stale E2E references remain in the codebase. This commit is ready to merge. --- ### Commit 1 (`72ce7fa5`): `docs: update install docs to headlamp namespace (PRI-434)` — CHANGES REQUESTED This commit is out of scope for the E2E purge ([PRI-1140](/PRI/issues/PRI-1140)). It bundles unrelated documentation changes that belong in a separate PR. Specific issues: **1. RBAC bug (README.md:93-96)** ```yaml - apiGroups: [""] resources: ["pods/proxy"] verbs: ["get"] resourceNames: ["pods"] # <-- BUG ``` `resourceNames` expects actual pod names, not the literal string `"pods"`. This RBAC rule would only grant proxy access to a pod literally named "pods", which is almost certainly wrong. Either: - Remove `resourceNames` to allow proxy access to all pods in the namespace, or - Set `resourceNames` to the actual tns-csi controller pod name(s). **2. Architecture diagram misalignment (docs/architecture/overview.md:31)** ``` +│ Headlamp Pod (headlamp namespace) │ ``` "headlamp namespace" (33 chars) is 8 characters longer than "kube-system" (25 chars). The ASCII box padding was not adjusted, causing misalignment with the right border `│`. **3. Scope violation** This commit references PRI-434 and includes: - Version bumps (v0.2.4 → v1.0.0) across 6 doc files - ArtifactHub URL changes - Checksum verification removal from installation docs - Namespace reference corrections - CHANGELOG additions about namespace references These are unrelated to the E2E purge and should be submitted as a separate PR for independent review. --- ### CI Status CI failure (`ERR_PNPM_IGNORED_BUILDS`) is pre-existing and unrelated to this PR's changes. Tracked in [PRI-1150](/PRI/issues/PRI-1150). Not blocking this review. --- ### Recommended Action Rebase this branch to include **only** the E2E removal commit (`c8080303`). The docs commit (`72ce7fa5`) should be submitted as a separate PR with the RBAC bug fixed and the architecture diagram padding corrected.
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-11 18:55:27 +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).
Sign in to join this conversation.