Commit 89d1f25
fix(e2e-account): route CI-only error codes to coverage allowlist; untrack dump.rdb
The e2e-account error codes (not_test_cohort, team_create_failed,
user_create_failed, tier_not_allowed, tier_set_failed, rand_failed) are
operator/CI-only — emitted only on the guarded /internal/e2e/account surface
that is inert by default (404 unless E2E_ACCOUNT_TOKEN is set) and driven by
the machine-to-machine E2E harness, never a customer agent.
They were previously added to codeToAgentAction with operator-facing copy,
which violated the customer-facing agent_action contract (TestAgentActionContract
requires every entry to start "Tell the user ..." and carry a customer recovery
URL). Move them to error_envelope_coverage_test.go's coverageAllowlist with a
per-code rationale instead: the 503 arms fall back to AgentActionContactSupport
via respondError's status>=500 path; the 4xx arms (400/403/429) carry a
self-explanatory message with no agent_action, which is correct for a CI caller.
Also untrack dump.rdb (local Redis artifact accidentally committed) and add it
to .gitignore.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e160b72 commit 89d1f25
4 files changed
Lines changed: 29 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
48 | 63 | | |
49 | 64 | | |
50 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
1211 | | - | |
1212 | | - | |
1213 | | - | |
1214 | | - | |
1215 | | - | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
1220 | | - | |
1221 | | - | |
1222 | | - | |
1223 | | - | |
1224 | | - | |
1225 | | - | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
1226 | 1213 | | |
1227 | 1214 | | |
1228 | 1215 | | |
| |||
0 commit comments