Skip to content

Prove the edge's core guarantees with real traffic#228

Draft
scotwells wants to merge 1 commit into
mainfrom
test/edge-end-to-end-scenarios
Draft

Prove the edge's core guarantees with real traffic#228
scotwells wants to merge 1 commit into
mainfrom
test/edge-end-to-end-scenarios

Conversation

@scotwells

Copy link
Copy Markdown
Contributor

What this proves

Four end-to-end tests that send real traffic through the edge and confirm the guarantees customers depend on:

  • The firewall enforces. It blocks what it should and lets legitimate traffic through.
  • An offline origin fails cleanly. When a connector's origin is unreachable, the edge returns a clear error instead of hanging or leaking an internal failure.
  • The branded error page shows. When something goes wrong, customers see our page, not a raw proxy error.
  • One bad certificate can't break its neighbors. A single customer's expired or invalid certificate can't take down the edge for everyone else sharing it.

Each test checks the outcome with a real request — the same thing a customer would experience — rather than confirming the control plane wrote the right configuration and assuming the edge followed.

It also adds a short, plain-language guide to how we test the edge: what each test guarantees, how we know a result is trustworthy, and — honestly — what we can't yet guarantee.

Why it matters

These are the promises the edge makes to customers. Proving them with real traffic, in an environment that mirrors production, is the difference between believing the edge works and knowing it does.

Builds on

The faithful test environment and the real-vs-intended config check opened alongside this. Together they let each test give a verdict from real traffic, backed by proof the edge was actually configured the way the test assumed.

@scotwells scotwells force-pushed the test/edge-end-to-end-scenarios branch from c0de345 to 0ea3023 Compare June 25, 2026 19:16
Adds four end-to-end scenarios that send real traffic through the edge and
confirm the promises customers depend on: the firewall enforces, an offline
origin fails cleanly, the branded error page shows, and one bad certificate
can't break its neighbors. Each asserts on a real response, not just that the
control plane wrote the config. Includes a plain-language guide to how we
test the edge and what we can't yet guarantee.

These scenarios need the two-cluster production-fidelity environment, so they
live under test/e2e-edge (separate from the single-stack test/e2e suite the
default CI runs) and execute via `task test-infra:e2e` against that environment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JbCy8vy66RdNYzGSgqH6P6
@scotwells scotwells force-pushed the test/edge-end-to-end-scenarios branch from 0ea3023 to bc04aa9 Compare June 25, 2026 19:35
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.

1 participant