Skip to content

chore(e2e): tag suite traffic with x-client-type: test - #93

Merged
vreshch merged 1 commit into
masterfrom
chore/e2e-client-type-header
Aug 14, 2026
Merged

chore(e2e): tag suite traffic with x-client-type: test#93
vreshch merged 1 commit into
masterfrom
chore/e2e-client-type-header

Conversation

@vreshch

@vreshch vreshch commented Aug 14, 2026

Copy link
Copy Markdown
Member

Why

Estate test-traffic contract: every e2e/synthetic request must carry x-client-type: test. The edge classifier (Traefik -> Vector) and @agentage/observability span stamping key on exactly this header; UA sniffing is only a fallback. Untagged suite traffic lands in real-user SLIs whenever the suite is pointed at a deployed host via LANDING_BASE_URL.

What

  • packages/landing/e2e/playwright.config.ts: use.extraHTTPHeaders tags browser page loads and request-fixture calls (the whole suite goes through the request fixture) in one place.
  • Header name is a local const with a 1-line contract comment.

Verified

prettier --check clean; playwright test --list loads the config (36 tests). No suite run against a deployed host.

@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown

CI - Verify PASSED

Commit: 622e7e4ecbfc3285c6fff65eab497d5d5c9333ab · Branch: chore/e2e-client-type-header

  • ✅ Type check
  • ✅ Lint
  • ✅ Format check
  • ✅ Unit tests
  • ✅ Build
  • ✅ Landing e2e

🔗 View workflow run

@vreshch
vreshch marked this pull request as ready for review August 14, 2026 16:56
@vreshch
vreshch merged commit 800d61b into master Aug 14, 2026
1 check passed
@vreshch
vreshch deleted the chore/e2e-client-type-header branch August 14, 2026 17:05
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