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

cameri / nostream / 46300978027
78%
main: 81%

Build:
Build:
LAST BUILD BRANCH: rewrite/main
DEFAULT BRANCH: main
Ran 29 Nov 2026 07:31PM UTC
Jobs 2
Files 321
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

29 Nov 2026 07:27PM UTC coverage: 77.627%. Remained the same
46300978027

push

github

web-flow
fix(admin): restore rename_all guard on WorkerRow and pin wire spelling (#1221) (#1291)

## Description

Restores `#[serde(rename_all = "camelCase")]` on `WorkerRow` in
`crates/nostream-admin/src/utils/workers.rs`, and adds unit tests that
pin the wire spelling of each field and verify camelCase serialization
and deserialization.

## Related Issue

Closes #1221

## Motivation and Context

When `WorkerRow` gained `Deserialize` for use in the published status
document, it lost its `#[serde(rename_all = "camelCase")]` attribute.
While all current fields were single-word (`type`, `index`, `enabled`,
`label`, `heartbeat`, `monitored`, `stale`), any future multi-word field
would serialize as `snake_case` into artifacts read by the admin
console.

Restoring the attribute and adding pinning tests guarantees that the
wire format remains camelCase and prevents silent casing drift.

## How Has This Been Tested?

- Added unit tests in `crates/nostream-admin/src/utils/workers.rs`:
- `worker_row_wire_keys_are_camel_case_and_pinned`: pins the exact wire
key names and ensures round-trip serialization.
- `worker_row_deserializes_from_camel_case_json`: ensures
deserialization from camelCase wire JSON.
- Ran all unit and integration tests across `nostream-admin`:
  - `cargo test -p nostream-admin --lib` (56/56 passed)
  - `cargo test -p nostream-admin` (all 163 passed)
- Ran formatting and linter checks:
  - `cargo fmt --check --package nostream-admin`
- `cargo clippy -p nostream-admin --all-targets --all-features -- -D
warnings`
  - Strict clippy with `-D clippy::unwrap_used -D clippy::expect_used`

## Types of changes

- [x] Non-functional change (docs, style, minor refactor)
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)

## Checklist:

- [x] My code follows the code style of this project.
- [ ] My change ... (continued)

4513 of 6355 branches covered (71.01%)

Branch coverage included in aggregate %.

9824 of 12114 relevant lines covered (81.1%)

759.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Integration - 46300978027.1 29 Nov 2026 07:31PM UTC 321
33.07
GitHub Action Run
2 Unit - 46300978027.2 29 Nov 2026 07:32PM UTC 321
75.08
GitHub Action Run
Source Files on build 46300978027
  • Tree
  • List 321
  • 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 #46300978027
  • e582d20b on github
  • Prev Build on rewrite/main (#46285322304)
  • Next Build on rewrite/main (#46318071802)
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