You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Two-tier retry timeout: first attempt gets `wait_for_halfkay_timeout_secs`
(180 s default — covers the "user walks up and presses the program
button" case); subsequent retries get only `flash_timeout_secs` (30 s
default) so a wedged device can't burn 15 min of subprocess time before
the structured diagnostic surfaces. `flash::run_with_retry` takes both
timeouts explicitly.
* Normalize the caller's explicit port once: `Some("")` becomes `None`
so an empty string never leaks into `DeploymentResult.port` (which the
daemon would forward verbatim to the monitor).
* On post-flash port-discovery timeout, fall back to the resolved
trigger port (the PJRC device we actually flashed) instead of `None`
so the same-port-after-flash case still produces a usable port name.
* Serialize the three env-var-mutating tests via a shared
`TEST_ENV_LOCK` so parallel `cargo test` execution can't race the
global process environment.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments