-
Notifications
You must be signed in to change notification settings - Fork 1
fix(rp2040): consume Windows port health in deploy selection and reacquisition #1153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
40c138b
fix(rp2040): consume Windows port health in deploy selection and reac…
zackees 0964799
fix(ci): satisfy pinned formatter tree-wide and non-Windows dead-code…
zackees 93d0a19
fix(ci): mark registry-backed boards doctests no_run
zackees 8e5e143
fix(ci): annotate riscv multilib GCC probe for the direct-spawn lint
zackees 3cc5530
fix(ci): drop embedded WCH ISP VID/PID from the wchisp failure message
zackees 4bb8963
fix(ci): apply nightly import ordering in ban_raw_subprocess dylint
zackees ae812b5
fix(ci): apply nightly import ordering in ban_raw_path_prefix_compare…
zackees 1589e7a
fix(ci): allowlist riscv toolchain GCC probe in ban_raw_subprocess dy…
zackees c2b66aa
fix(ci): allowlist esp32 framework-library cache in ban_raw_path_pref…
zackees d711f2a
fix(ci): force rebuild of ban_raw_path_prefix_compare after allowlist…
zackees 3e7cb4d
fix(ci): refresh stale dylint @toolchain aliases after rebuilds
zackees File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: FastLED/fbuild
Length of output: 12569
🏁 Script executed:
Repository: FastLED/fbuild
Length of output: 50370
🏁 Script executed:
Repository: FastLED/fbuild
Length of output: 26436
🏁 Script executed:
Repository: FastLED/fbuild
Length of output: 12021
🏁 Script executed:
Repository: FastLED/fbuild
Length of output: 22357
Release the pre-flash preemption after owned post-flash recovery. Owned deployers resolve
recovery_portto the new port, so a renumbered pre-flash endpoint likeCOM12never has itspreempt_for_deploy()lease cleared whenclear_preemptiononly runs on the recoveredCOM27port. Cleardeploy_port_strbefore falling back to recovery-port clearing.🔒 Proposed fix
let recovery_port = resolve_recovery_port( port_discovery_owned, deploy_port_str.clone(), deploy_result .as_ref() .ok() .and_then(|result| result.port.clone()), ); + // Always release the preemption taken on the pre-flash port, + // even when owned discovery moved recovery to a renumbered endpoint. + if let Some(ref pre) = deploy_port_str { + if recovery_port.as_deref() != Some(pre.as_str()) { + ctx.serial_manager.clear_preemption(pre).await; + } + } if let Some(ref p) = recovery_port { ctx.serial_manager.clear_preemption(p).await;📝 Committable suggestion
🤖 Prompt for AI Agents