Repository navigation
Commit e44663a
fix(ci): deflake redis lock test and covdata ETXTBSY race
- Raise the waiter timeout in TestStorageLocker_ObtainUsesProvidedContext
from 25ms to 100ms. The whole notify chain (registration polling, lock
release round-trip, pub/sub delivery) must fit in that window, which
flaked on loaded CI runners. 100ms still stays below the minimum
jittered fallback backoff (150ms), so the test keeps proving the
notification path wakes the waiter.
- Pre-build go tool covdata in test workflows. Go builds it on demand
into the build cache and go test -cover invokes it concurrently as
packages finish; racing first builds intermittently fail with
ETXTBSY (text file busy).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 434ea70 commit e44663a
3 files changed
Lines changed: 19 additions & 1 deletion
File tree
- .github/workflows
- packages/api/internal/sandbox/storage/redis
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
176 | 183 | | |
177 | 184 | | |
178 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
125 | 132 | | |
126 | 133 | | |
127 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
| |||
0 commit comments