Commit b967ac2
fix(e2e): reap tolerates 409/503 race; smoke /db uses fast anon path (#178)
Run 26998759093 (the #177 fix) closed queue + A10; 2 legs still red:
1. Deploy-lifecycle inline reap got 409 deletion_already_pending — the test's
own DELETE step starts the soft-delete/email flow, then the reap's second
DELETE races it. And the final out-of-process reap:live got 503
team_lookup_failed because the workflow reaps the minted ACCOUNT (cascading
away its resources) BEFORE the ledger sweep runs. Both mean "already being
torn down / gone with the account", not a leak. Fix: reapEntities now counts
409 deletion_already_pending and 503 team_lookup_failed as alreadyGone.
2. live-provision-smoke /db/new hung 90s (test timeout) on the AUTHED (pro)
path — authed /db/new provisions a DEDICATED database, slower than the
timeout; the anon path uses the fast hot-pool. (Authed vector/cache/nosql in
live-anon-provision still cover the minted-pro provision path.) Fix: smoke
pins forceAnon (fast hot-pool, fingerprint bypass), with the same
best-effort no-bearer reap (anon resources are TTL-reaped; assert only
401/403 so an unexpected failure still reds).
npm run gate green (1115 passed, 3 skipped).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0a49b5e commit b967ac2
2 files changed
Lines changed: 46 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
138 | 150 | | |
139 | 151 | | |
140 | 152 | | |
141 | 153 | | |
142 | | - | |
| 154 | + | |
143 | 155 | | |
144 | 156 | | |
145 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
169 | 187 | | |
170 | 188 | | |
171 | 189 | | |
| |||
0 commit comments