Repository navigation
Conversation
Previous review (2026-11-30)Automated review note — AI-generated (Claude+Codex), validated against the live diff. Please sanity-check before acting. Reviewed at head The Node 24 action bumps and the Cygwin install-dir look right, but the switch to Blocking
Should fix
|
Previous review (2026-12-01)Automated review note — AI-generated (Claude+Codex), validated against the live diff. Please sanity-check before acting. Reviewed at head The Node 24 action bumps and the Windows SDK extraction fix look good, and nothing in the bootloader itself changes. Since the last review at Minor (1)
The failing sitl-bootloader-tests (macos-15-intel) job ('stays during 4way session') isn't caused by this PR. The same test fails on other PRs still using the v4 actions. |
Expand-Archive fails on the hosted Windows runner when Windows PowerShell loads the PowerShell 7 archive module. Use the system tar.exe to extract the ZIP, or unzip under MSYS2 where tar is GNU tar and cannot read ZIP files. tar.exe cannot extract two openocd target scripts with non-ASCII names in windows-tools.zip, so its exit status is ignored. Instead, remove the compiler before extracting and fail if extraction did not restore it. Check the settings copy in the setup script with "if errorlevel 1", as %errorlevel% inside the block is expanded before the copy runs and would still hold the tar.exe status.
GitHub now forces the Node 20 actions to run under Node 24. Use releases that declare the new runtime and select the Cygwin installation path used by the test shell. Install the Windows tools in their own step, so a failed install is not hidden by the exit status of the build command that follows it.
The tests sent the first 4-way probe a fixed 0.3s after starting the bootloader. When the process starts late, as on the macOS runners, the probe either arrives before the input port is bound and is lost, or lands while checkForSignal() samples the pin, where it reads as a low line and can force a jump. Sent too late, it misses the 250ms no-CAN fallback, which boots the app once the eeprom is programmed. Either way "stays during 4way session" and the DroneCAN setup failed. Have the SITL bootloader report when it enters the receive loop, wait for that before probing, fail clearly if it exits or never gets there, and retry the probe until the existing timeout.
|
Automated review note — AI-generated (Claude+Codex), validated against the live diff. Please sanity-check before acting. Reviewed at head The SITL startup fix in the new commit works, and the CI and SDK extraction changes are unchanged and still pass. The only thing left is a stale PR description. Since the last review at Should fix
Minor (1)
The only red CI job is sitl-bootloader-tests (macos-15). It was cancelled because no hosted runner picked it up, so the SITL fix hasn't run on macOS arm64. |
GitHub now runs the older Node 20 actions under Node 24. Update checkout, setup-python, and upload-artifact to v7 across the build and SITL workflows. Update the Cygwin installer to v7 and explicitly select the path used by the test shell.
The native Windows build on master also fails while unpacking the SDK. Use the Windows system tar to extract the ZIP so an extraction error propagates to make.
Workflow validation passed with one existing ShellCheck warning in the Linux build. Tested SDK extraction locally with bsdtar and verified that the archive installs make.exe and arm-none-eabi-gcc.exe at the paths used by CI.