• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ArduPilot / MethodicConfigurator / 24637765595
96%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2026 08:04PM UTC
Jobs 4
Files 80
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Apr 2026 07:55PM UTC coverage: 94.18% (+0.03%) from 94.149%
24637765595

push

github

amilcarlucas
fix(connection): prevent IndexError on malformed ChibiOS banner line

_extract_chibios_version_from_banner crashed with IndexError when a
banner line starting with "ChibiOS:" did not contain a space followed
by a version hash (for example a truncated "ChibiOS:" line, or
"ChibiOS:hash" without the expected space separator).

msg.split(" ")[1] unconditionally indexed the second element of the
split, which does not exist when the separator is absent. The
IndexError propagated out of the banner-parsing loop during flight
controller connection setup and aborted the whole connection attempt.

Use split(" ", 1) and guard the length before indexing, falling back
to an empty version string. The surrounding code already handles an
empty os_custom_version correctly (it logs a version mismatch warning
against info.os_custom_version when the two differ).

Add two unit tests covering the malformed banner cases that previously
raised IndexError.

Signed-off-by: Yash Goel <yashvardhan664@gmail.com>

1762 of 1823 branches covered (96.65%)

11489 of 12199 relevant lines covered (94.18%)

3.74 hits per line

Jobs
ID Job ID Ran Files Coverage
2 run-ubuntu-latest-py3.9 - 24637765595.2 19 Apr 2026 08:10PM UTC 80
94.08
GitHub Action Run
3 run-windows-latest-py3.14 - 24637765595.3 19 Apr 2026 08:04PM UTC 80
93.87
GitHub Action Run
4 run-ubuntu-latest-py3.14 - 24637765595.4 19 Apr 2026 08:11PM UTC 80
94.07
GitHub Action Run
3 run-macos-latest-py3.14 - 24565866376.3 17 Apr 2026 07:27PM UTC 80
93.84
GitHub Action Run
Source Files on build 24637765595
  • Tree
  • List 80
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24637765595
  • d3435e55 on github
  • Prev Build on master (#24565866376)
  • Next Build on master (#24641248417)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc