Commit 804e09f
fix(shellwrap): set docker source on stat-probe cache upgrade (Codex P2)
ResolveDockerPath's MCP-2744 stat-probe override (upgrading a live cached
negative to a permanent success when the well-known-path probe finds docker)
updated dockerPath/dockerPathErr but not dockerPathSource. A stale 'absent'
from the prior failed resolution then leaked into docker_cli_source telemetry
(schema v5) even though docker WAS resolved via the bundled path. Set
dockerPathSource = DockerSourceBundled in that branch.
Regression test asserts a cached negative upgraded via the stat probe reports
'bundled', not 'absent' (fails without the one-line fix).
Related #696
Co-Authored-By: Paperclip <noreply@paperclip.ing>1 parent 5aa843d commit 804e09f
2 files changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
248 | 253 | | |
249 | 254 | | |
250 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
355 | 396 | | |
356 | 397 | | |
357 | 398 | | |
| |||
0 commit comments