You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(e2e): green prod LIVE suite — fingerprint bypass + real CLI-poll contract (#175)
Prod doesn't trust X-Forwarded-For, so the runner's anon provisions shared
one fingerprint and tripped the free-tier recycle gate (402
free_tier_recycle_requires_claim). Add the api's X-E2E-Test-Token bypass
(api internal/middleware/fingerprint.go) on every anonymous provision via a
shared anonProvisionHeaders() helper, gated on E2E_TEST_TOKEN, and always
send a cohort name (required by /db & /vector, harmless elsewhere).
Also fix the CLI device-flow poll assertion to the REAL prod contract:
pre-approval returns HTTP 202 {ok:true, pending:true} (no `status` field).
Workflow exports E2E_TEST_TOKEN to the run step.
Files: cohort.ts (helper), live-anon-provision / live-provision-smoke /
live-claim-deploy / live-auth specs, e2e-prod.yml.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments