Repository navigation
Commit 29038b3
authored
fix(ci): match E2E app tags literally, make them unique per run, and never stop the caller (#8721)
* fix(ci): match E2E app tags literally, make them unique per run, and never stop the caller
- stop-session.sh matches `E2E_APP=<tag>` as a fixed string, so a tag like `s.im` or a
prefix like `sc` no longer matches another app's `E2E_APP=scim`
- each HTTP end-to-end app's tag is `<app>-<run id>-<attempt>-<shell pid>`, so it is unique
among the runner user's processes
- the script never signals itself, its ancestors or its own subshells, even when the caller
exported the same tag; /proc is read without forking so scans stay cheap
- a surviving Next telemetry flush is labelled as expected, so an unexpected escapee stands out
* fix(ci): never spare an app process whose ancestry changes mid-scan, and confirm an empty app on two scans1 parent 988b079 commit 29038b3
2 files changed
Lines changed: 79 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
23 | 65 | | |
| 66 | + | |
24 | 67 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
28 | 75 | | |
29 | 76 | | |
30 | 77 | | |
| |||
44 | 91 | | |
45 | 92 | | |
46 | 93 | | |
47 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
48 | 98 | | |
49 | 99 | | |
50 | 100 | | |
| |||
54 | 104 | | |
55 | 105 | | |
56 | 106 | | |
57 | | - | |
58 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
59 | 110 | | |
60 | | - | |
| 111 | + | |
61 | 112 | | |
62 | 113 | | |
63 | | - | |
64 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
65 | 121 | | |
66 | 122 | | |
67 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
249 | | - | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
| |||
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
298 | | - | |
| 299 | + | |
| 300 | + | |
299 | 301 | | |
300 | 302 | | |
301 | 303 | | |
302 | | - | |
| 304 | + | |
303 | 305 | | |
304 | 306 | | |
305 | 307 | | |
| |||
346 | 348 | | |
347 | 349 | | |
348 | 350 | | |
349 | | - | |
| 351 | + | |
| 352 | + | |
350 | 353 | | |
351 | 354 | | |
352 | 355 | | |
353 | | - | |
| 356 | + | |
354 | 357 | | |
355 | 358 | | |
356 | 359 | | |
| |||
397 | 400 | | |
398 | 401 | | |
399 | 402 | | |
400 | | - | |
| 403 | + | |
| 404 | + | |
401 | 405 | | |
402 | 406 | | |
403 | 407 | | |
404 | | - | |
| 408 | + | |
405 | 409 | | |
406 | 410 | | |
407 | 411 | | |
| |||
0 commit comments