Repository navigation
Commit 9cbbae2
fix(device-selection): keep host env out of the request device cache key (#4464)
* fix(device-selection): keep host env out of the request device cache key
Android SDK discovery adds ANDROID_HOME, ANDROID_SDK_ROOT and PATH to the
host env during the first inventory read. The request-scoped resolution cache
keyed on the serialized env, so the open handler missed the selection the
request lock had just made and read the whole inventory again: simctl,
devicectl, xctrace and adb. The request part of the key already holds every
value selection derives from env.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(device-selection): pin env-derived allowlists as separate cache entries
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>1 parent 0702d70 commit 9cbbae2
2 files changed
Lines changed: 37 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
281 | 315 | | |
282 | 316 | | |
283 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
| 313 | + | |
313 | 314 | | |
| 315 | + | |
314 | 316 | | |
315 | 317 | | |
316 | 318 | | |
| |||
0 commit comments