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

enbility / spine-go / 30638341656
93%

Build:
DEFAULT BRANCH: dev
Ran 31 Jul 2026 02:24PM UTC
Jobs 1
Files 63
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

31 Jul 2026 02:22PM UTC coverage: 92.851% (+0.03%) from 92.826%
30638341656

push

github

web-flow
fix: tolerate unknown featureType in discovery reply (#96) (#99)

## Summary

Fixes panic in `HandleSpineMesssage` when a discovery reply contains an
unknown/future featureType (TC_SPINE_RTS_002). Instead of panicking,
`function_data_factory.go` now returns an empty function-data set for
unrecognized types, and downstream code (`feature_remote.go`,
`device_remote.go`) handles that gracefully.

TC_SPINE_RTS_001 (arbitrary known featureType) already passed at the
protocol layer — no fix needed there.

Closes #96

## Testing

- Added `spine/rts_forward_compat_test.go` covering both RTS_001 and
RTS_002
- `go test -v ./spine -run TestRTSSuite` passes
- Tested with a real device, found to be working

3 of 3 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

6182 of 6658 relevant lines covered (92.85%)

25357.59 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
90.78
0.41% model/collection_operations.go
Jobs
ID Job ID Ran Files Coverage
1 30638341656.1 31 Jul 2026 02:24PM UTC 63
92.85
GitHub Action Run
Source Files on build 30638341656
  • Tree
  • List 63
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30638341656
  • 261abb71 on github
  • Prev Build on dev (#30638253918)
  • Next Build on dev (#30638305198)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc