Clear the shellcheck findings that would fail qemu-tools #3
Merged
noah
merged 3 commits from 2026-09-28 03:30:57 -06:00
sdk-shellcheck into flare-edge-next
3
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
4636f0fe4c |
ci: keep PATH when the quality job runs npm under sudo
ci / bench (pull_request) Successful in 5s
ci / qemu-tools (pull_request) Successful in 39s
ci / quality (pull_request) Successful in 26s
ci / badges (pull_request) Skipped
ci / test (push) Successful in 15s
ci / bench (push) Successful in 9s
ci / kernel-build (push) Skipped
ci / mcdc (push) Successful in 19s
ci / qemu-tools (push) Successful in 38s
ci / patches-apply (push) Successful in 27s
ci / prune-artifacts (push) Skipped
ci / quality (push) Successful in 28s
ci / badges (push) Skipped
ci / test (pull_request) Successful in 13s
ci / mcdc (pull_request) Successful in 12s
ci / patches-apply (pull_request) Successful in 16s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
sudo resets PATH to its secure_path, and the Gitea job image keeps node and npm in the runner tool cache, so 'sudo npm' was not found. Pass the job's PATH through; GitHub-hosted runners behave the same either way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
fe29ece741 |
ci: let the quality job's pip install run on the Gitea runners
ci / test (push) Successful in 12s
ci / mcdc (push) Successful in 13s
ci / bench (push) Successful in 5s
ci / test (pull_request) Successful in 12s
ci / patches-apply (pull_request) Successful in 15s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / quality (pull_request) Failing after 12s
ci / badges (pull_request) Skipped
ci / qemu-tools (push) Successful in 39s
ci / patches-apply (push) Successful in 16s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Failing after 15s
ci / badges (push) Skipped
ci / mcdc (pull_request) Successful in 12s
ci / bench (pull_request) Successful in 5s
ci / qemu-tools (pull_request) Successful in 37s
The first CI run on Gitea (1447) failed only in quality: the job image's Python is PEP 668 externally managed, so 'pip install lizard ruff' is refused. GitHub's hosted runners set PIP_BREAK_SYSTEM_PACKAGES; set the same for that step, which runs in a throwaway container on a throwaway VM. Refs #2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |
||
|
|
b30621e372 |
Clear the shellcheck findings that would fail qemu-tools
ci / patches-apply (pull_request) Successful in 20s
ci / qemu-tools (pull_request) Successful in 40s
ci / prune-artifacts (pull_request) Skipped
ci / quality (pull_request) Failing after 13s
ci / badges (pull_request) Skipped
ci / bench (pull_request) Successful in 5s
ci / mcdc (pull_request) Successful in 15s
ci / kernel-build (pull_request) Skipped
ci / test (pull_request) Successful in 11s
CI has not run on this repository since the move to Gitea (Actions was off), and 13 shellcheck findings accumulated in the files the qemu-tools job lints, so that job would fail the moment Actions is enabled. - test-ui-drive-rs485.sh: eight `cond && pass || fail` checks become if/then/else, so a pass() that returned non-zero could never also record a failure. - ui-drive.sh and mk-bootimg.sh: four `[ A ] && [ B ] || die` guards get explicit braces; the behaviour is unchanged. - fetch-vendor.sh: the unused fourth read field is `_desc`; it still has to be read so the loop's other fields are split correctly. Every qemu-tools step passes locally, including all four rs485 cases. Closes #2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg |