Commit 7984dc0
Fix and modernize CI
Bump actions/checkout (v2 -> v7) and actions/setup-go (v5 -> v7), which drops the deprecated actions/cache@v1 that was auto-failing every run. Run checkout before setup-go and set cache-dependency-path so setup-go module caching finds go.sum (this repo checks out into $GOPATH/src). Remove the dead glide actions/cache step (no glide.lock or vendor dir in the repo).
Exclude the stdlib internal/synctest package from check_no_test_deps: Go 1.25+ pulls it into production deps via sync, and its name trips the test/mock grep -- the same false positive already handled for internal/testlog.
Stabilize TestIdleSweepIgnoresConnectionsWithCalls: give each ping attempt a fresh context instead of reusing a single 1s context across a 10s retry loop, which expired mid-loop and failed every remaining ping on a slow host.
Stabilize TestRelayRaceCompletionAndTimeout under the coverage-instrumented run: its deliberate timeout/completion race can recycle a client id that collides with a still-active exchange, so allowlist the resulting "Couldn't register exchange." and duplicate-id "Protocol error." logs, matching the race artifacts the test already tolerates.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 8f6af1a commit 7984dc0
4 files changed
Lines changed: 18 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 31 | | |
37 | | - | |
| 32 | + | |
38 | 33 | | |
39 | 34 | | |
40 | 35 | | |
41 | | - | |
42 | | - | |
| 36 | + | |
| 37 | + | |
43 | 38 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
48 | 43 | | |
49 | 44 | | |
50 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | 322 | | |
326 | 323 | | |
327 | 324 | | |
| |||
351 | 348 | | |
352 | 349 | | |
353 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
354 | 356 | | |
355 | 357 | | |
356 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
1192 | 1197 | | |
1193 | 1198 | | |
1194 | 1199 | | |
| |||
0 commit comments