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

enbility / eebus-go / 7359642552
93%

Build:
DEFAULT BRANCH: dev
Ran 29 Dec 2023 08:36PM UTC
Jobs 1
Files 87
Run time 6s
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

29 Dec 2023 08:24PM UTC coverage: 64.35% (+3.4%) from 60.962%
7359642552

push

github

DerAndereAndi
Major updates

- Rewrite heartbeat management
  - Runs on the local device as binding and subscription manager
  - Updates local data function data store, which will then automatically trigger notifications to all subscribers
  - Only handles heartbeat creation (and sending)!
  - Ensures heartbeat related requirements (heartbeat id global, data only updated on an actual heartbeat, etc.)
  - A heartbeat interval has to be provided when initialising the service!
  - Heartbeats automatically stop/resume depending on existing subscribers
  - Heartbeat Manager currently only works for a single entity requiring/providing heartbeats
- Update binding and subscription managers
  - Add tests
  - Use sync.Mutex to avoid race conditions
  - Use new DeepCopy helper to allow safe editing of model data for its own usage reasons and avoid crashes
  - Fix non working Remove implementations
  - Pass localDevice on initialisation instead on each function call
- Update service configuration
  - Add list of entityTypes that will be created, at least 1 is required to be provided
  - Add heartbeat timeout
- Update services API
  - Remove publich functions that just pass through accessible localDevice functions
- Update features
  - update feature creation API to require corresponding local entity instead of local device
  - move tests into features_test package
- Update DeviceLocalImpl API
  - remove FeatureByTypeAndRole, instead the EntityLocalImpl FeatureOfTypeAndRole should be used
- Add a new helper `DeepCopy` to easily copy SPINE model data structures, which is sometimes required to be used to avoid race conditions
- Update spine sender
  - Add local cache for sent notify messages and public interface method to search the cache
  - The cache allows to find notify messages causing the remote device to send an error message != 0 and implement some means of error handling for these
  - Fix linter warning because of duplicate file names for mock and implementation
  - Upda... (continued)

5038 of 7829 relevant lines covered (64.35%)

31.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7359642552.1 29 Dec 2023 08:36PM UTC 0
64.35
GitHub Action Run
Source Files on build 7359642552
Detailed source file information is not available for this build.
  • Back to Repo
  • a56f8382 on github
  • Prev Build on dev (#7083452773)
  • Next Build on dev (#7364029900)
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