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

enbility / eebus-go / 46474611090
93%

Build:
DEFAULT BRANCH: dev
Ran 30 Nov 2026 05:34PM UTC
Jobs 1
Files 105
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

30 Nov 2026 05:33PM UTC coverage: 92.27% (-0.04%) from 92.313%
46474611090

push

github

web-flow
fix: use a single Generic client feature instead of typed client features (SPINE IG 3.4) (#262)

## Use a single Generic client feature instead of typed client features

### Problem

The SPINE IG "Protocol and Resource Guidelines" V1.0.0, §3.4
("Uniqueness of Feature Types per Entity") requires:

> Each "featureType" SHALL occur at most once per Entity.

The rule has no exception for the feature role. Several use cases
currently violate it:

- `cs/lpc`, `cs/lpp`, `eg/lpc`, `eg/lpp` add `DeviceDiagnosis` both as
client and as server on the same entity.
- `ma/mgcp` and `ma/mpc` add typed client features
(`DeviceConfiguration`, `ElectricalConnection`, `Measurement`). When
combined with `cs/lpc`/`cs/lpp` on the same CEM entity, these duplicate
the CS server features `DeviceConfiguration` and `ElectricalConnection`.

This was flagged during EEBUS certification in the
`nodeManagementDetailedDiscoveryData` of a CEM implementing CS LPC/LPP
and MA MGCP/MPC.

### Solution

Add one client feature of type `Generic` instead of the typed client
features, as recommended by:

- SPINE Resource Specification V1.3.0, §4.3.11: "it is preferable that a
client uses the Generic Feature Type"
- UC IG LPC V1.1.0 / LPP V1.0.0, §3.3: "Each Actor SHOULD use a client
Feature with featureType Generic for all its client functionality"

No further changes are needed:

- `features/client.Feature` already falls back to the local `Generic`
client feature if no typed client feature exists
(`getLocalAndRemoteFeatures`).
- spine-go accepts `Generic` as client feature for subscriptions and
bindings (`subscription_manager.go`, `binding_manager.go`).
- Server features are unchanged.

### Scope

The change is intentionally minimal and limited to `cs/lpc`, `cs/lpp`,
`eg/lpc`, `eg/lpp`, `ma/mgcp` and `ma/mpc` (6 files, +8/−17). Other use
cases are not affected and still work when mixed (typed client features
are still preferred by the fallback if present).

Possible follow-ups (not part of this... (continued)

19 of 21 new or added lines in 18 files covered. (90.48%)

4 existing lines in 3 files now uncovered.

8236 of 8926 relevant lines covered (92.27%)

13.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
89.69
0.0% usecases/cs/lpc/usecase.go
1
89.69
0.0% usecases/cs/lpp/usecase.go

Coverage Regressions

Lines Coverage ∆ File
2
96.45
-0.55% usecases/mu/mpc/usecase.go
1
89.69
0.0% usecases/cs/lpc/usecase.go
1
89.69
0.0% usecases/cs/lpp/usecase.go
Jobs
ID Job ID Ran Files Coverage
1 46474611090.1 30 Nov 2026 05:34PM UTC 105
92.27
GitHub Action Run
Source Files on build 46474611090
  • Tree
  • List 105
  • Changed 19
  • Source Changed 18
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46474611090
  • 368be6ef on github
  • Prev Build on dev (#46321181753)
  • Next Build on dev (#46474664960)
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