Repository navigation
Commit 6264868
fix(scripts): poll for environment-id instead of one-shot read
The showcase server starts accepting connections before its
ServerEnvironment layer persists userdata/environment-id, so reading the
file immediately after waitForPort races server startup. The fast macOS
runner lost that race (ENOENT); poll for non-empty content with the same
timeout discipline as waitForPort.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent cf3855e commit 6264868
1 file changed
Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
503 | 520 | | |
504 | 521 | | |
505 | 522 | | |
| |||
1225 | 1242 | | |
1226 | 1243 | | |
1227 | 1244 | | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
1234 | 1251 | | |
1235 | 1252 | | |
1236 | 1253 | | |
| |||
0 commit comments