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

OpenCyphal-Garage / cy / 26897747878
100%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 04:19PM UTC
Jobs 1
Files 1
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

03 Jun 2026 04:15PM UTC coverage: 99.531%. Remained the same
26897747878

push

github

web-flow
Forward libcanard TX deadlines through the CAN driver vtable (#60)

`cy_can_vtable_t::tx_classic` and `tx_fd` were dropping the libcanard
transmission deadline even though the CAN transport already receives it.
This updates the public CAN driver API so platform backends can observe
the deadline directly, matching the FluxGrip-facing integration model.

- **Public CAN vtable API**
  - Extend `tx_classic` and `tx_fd` to accept a `canard_us_t deadline`.
- Update the callback contract in `cy_can.h` to make deadline-aware
transmission explicit.

- **Deadline propagation**
- Pass the libcanard deadline through `cy_can.c` instead of discarding
it before dispatching to the backend vtable.

- **Backend and test support**
  - Update the SocketCAN backend to the new callback signature.
- Update CAN test doubles to capture the last deadline seen on classic
and FD TX paths.
- Add focused assertions covering both classic and FD publication paths.

- **Example**
  ```c
  typedef struct
  {
      bool (*tx_classic)(void* user,
                         canard_us_t deadline,
                         uint_least8_t iface_index,
                         uint32_t can_id,
                         const void* data,
                         uint_least8_t len);

      bool (*tx_fd)(void* user,
                    canard_us_t deadline,
                    uint_least8_t iface_index,
                    uint32_t can_id,
                    const void* data,
                    uint_least8_t len);
  } cy_can_vtable_t;
  ```

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Maksim Drachov <maksim.drachov@outlook.com>

521 of 521 branches covered (100.0%)

Branch coverage included in aggregate %.

2236 of 2249 relevant lines covered (99.42%)

331937.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26897747878.1 03 Jun 2026 04:19PM UTC 1
99.53
GitHub Action Run
Source Files on build 26897747878
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26897747878
  • 0a3ab4d2 on github
  • Prev Build on main (#26640238676)
  • 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