Skip to content

e2e: remove dead helpers and the broken verify-egress-demo.sh - #2902

Open
Lior Lieberman (LiorLieberman) wants to merge 1 commit into
agent-substrate:mainfrom
LiorLieberman:cleanup-e2e-dead-code
Open

Lior Lieberman (LiorLieberman) wants to merge 1 commit into
agent-substrate:mainfrom
LiorLieberman:cleanup-e2e-dead-code

Conversation

@LiorLieberman

@LiorLieberman Lior Lieberman (LiorLieberman) commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Deletes hack/verify-egress-demo.sh (unreferenced, and it can't pass since policy enforcement because it never creates a policy; demos/egress/test-egress.sh covers the same path), unused e2e helpers and a placeholder no manifest carries, fixes hack/cleanup-e2e.sh on macOS bash when no context is set, and corrects the security suite runbook.

Split out of #2166.

  • Tests pass
  • Appropriate changes to documentation are included in the PR

hack/verify-egress-demo.sh is unreferenced and cannot pass since the
egress gateway began enforcing EgressPolicy: it never creates a policy,
so the actor gets no tunnel. demos/egress/test-egress.sh covers the same
path. FColorf and FColorfln have no callers, fixtureSubstitutions sets a
${TEMPLATE_TRUST_BUNDLE} placeholder no pool manifest carries (the
template renderer sets its own), and two suites wrap RunTestMain in
helpers that do nothing.

hack/cleanup-e2e.sh failed under bash 3.2's nounset when no context was
given, because it expanded an empty kubectl_args array.

The security suite's runbook names the real worker container, labels
and paths, and no longer says a failed run keeps its namespaces: they
come from fixture manifests whose cleanup runs pass or fail. Smaller
doc fixes: a fixture name in the e2e README, a typo, a stale fixture
comment, and env_test uses t.Setenv.
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