chore: remove E2E testing infrastructure #50
Reference in New Issue
Block a user
Delete Branch "gandalf/delete-e2e-tns-csi"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Remove all E2E testing infrastructure from headlamp-tns-csi-plugin as part of the org-wide E2E purge (PRI-1133).
Changes
e2e/directory (auth.setup.ts, tns-csi.spec.ts)playwright.config.tsscripts/deploy-e2e-headlamp.shscripts/teardown-e2e-headlamp.sh.github/workflows/e2e.yamle2escript frompackage.json@playwright/testdependency frompackage.jsonContext
Part of PRI-1133 — full E2E purge across org.
Parent issue: PRI-1140
Implementation task: PRI-1146
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
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— APPROVEDAll E2E deletions are correct and complete:
.github/workflows/e2e.yaml— deletede2e/auth.setup.ts— deletede2e/tns-csi.spec.ts— deletedplaywright.config.ts— deletedscripts/deploy-e2e-headlamp.sh— deletedscripts/teardown-e2e-headlamp.sh— deletedpackage.json—e2escript removed,@playwright/testdependency removedNo 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 REQUESTEDThis 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)
resourceNamesexpects 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:resourceNamesto allow proxy access to all pods in the namespace, orresourceNamesto the actual tns-csi controller pod name(s).2. Architecture diagram misalignment (docs/architecture/overview.md:31)
"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:
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.Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.