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

enbility / spine-go / 30638253918
93%

Build:
DEFAULT BRANCH: dev
Ran 31 Jul 2026 02:23PM 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:21PM UTC coverage: 92.826% (+0.003%) from 92.823%
30638253918

push

github

web-flow
fix: reject bindings targeting the NodeManagement feature (TC_SPINE_BIND_001) (#100)

Closes #95. Contributes to #94 (SPINE TestSpecification V1.0.0
compliance).

Fixes **TC_SPINE_BIND_001** / [SPINE-TS-BIND-01] from the SPINE
High-Level Test Specification.

## Problem

A binding request targeting the local primary NodeManagement feature
(entity 0 / feature 0) must be rejected with a NACK, and no binding
entry may be created for it. `AddBinding` whitelisted `RoleTypeSpecial`
(which NodeManagement uses) via `checkRoleAndType`, so such a request
passed, an entry was persisted, and `HandleMessage` returned no error →
the device sent `ResultSuccess` (ACK). A subsequent
`nodeManagementBindingData` read then exposed a `bindingEntry` with
`serverAddress.entity=0/feature=0`.

Contrast: `subscription_manager.go` has the same Special exemption,
which is spec-correct there (TC_SPINE_SUBS_001 requires NodeManagement
subscriptions be accepted). Binding requires the opposite; the deny
logic was simply absent.

## Fix

Reject in `AddBinding` when the local server feature is NodeManagement →
the request now returns an error → NACK, and no entry is created.

## Test

`Test_Bindings_RejectNodeManagement` asserts the request errors and no
binding is registered. Full `spine` suite passes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

6172 of 6649 relevant lines covered (92.83%)

25449.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30638253918.1 31 Jul 2026 02:23PM UTC 63
92.83
GitHub Action Run
Source Files on build 30638253918
  • Tree
  • List 63
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30638253918
  • 553973bc on github
  • Prev Build on dev (#28368952499)
  • Next Build on dev (#30638341656)
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