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

jzombie / rust-oxdock / 38304161141
84%

Build:
DEFAULT BRANCH: main
Ran 12 Oct 2026 08:41PM UTC
Jobs 1
Files 112
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

12 Oct 2026 08:25PM UTC coverage: 84.137% (+0.01%) from 84.123%
38304161141

push

github

web-flow
feat: Add support for union types (#210)

### Added

- `setup-oxdock` grows `source: local`: build the engine from the caller's checkout with cargo instead of downloading a release installer, so unreleased DSL is testable before any tag exists. The release workflow packs with its own source, so a broken `ARCHIVE` fails the pack before anything publishes.
- Union types (`STRING|PIPE`, `LIST<STRING|PIPE>`): declarations, aliases, and function signatures admit member sets with subset-based static checks. Members keep written order and render `|`-joined; bare `LIST` and `MAP` still require shapes as members.
- `#[union(...)]` signatures on boundary adapters: `INT()`/`FLOAT()`/`PARSE_BYTE_COUNT()` admit `INT|FLOAT|STRING`, path functions admit `STRING|PATH`, `TO_JSON()` admits `STRING|INT|FLOAT|BOOL|LIST|MAP`, and `MAP_TO_MD_TABLE()` admits `MAP<ANY>|LIST<MAP<ANY>>`. Consumers (`FORMAT_BYTE_COUNT()`, `FORMAT_DURATION()`, `SEMAPHORE_NEW()`) stay strict `INT`: strings parse only through the explicit converter.
- `INT()` admits `BOOL` as 1/0: converters widen explicitly at the boundary while consumer slots stay strict.
- `#[record(...)]` closed record parameters: `PACKAGE_VALUES_JSON()` takes `MAP<name: STRING, description: STRING>` with missing and extra fields failing at the boundary; `CARGO_PACKAGE()` and `WORKSPACE_PACKAGE()` return fixed records. Option values enforce their declared tags in `check_options`, and the nine hand-rolled option readers are replaced by the compositional rule (declare the tag, one `check_value_at` pass, direct reads): NET `timeout` options admit `DURATION|STRING`, `headers` enforces `MAP<STRING>`.

### Changed

- Integer slots are strict: strings and floats no longer coerce into `INT` params, `LET`/`SET` bindings, or union members. Callers convert explicitly (`FORMAT_BYTE_COUNT(INT($raw))`); the static pair table and the runtime coercion agree, so neither promises what the other rejects.
- Host functions validate their declared ... (continued)

1084 of 1305 new or added lines in 18 files covered. (83.07%)

19 existing lines in 7 files now uncovered.

37153 of 44158 relevant lines covered (84.14%)

1904.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
79
76.83
-0.76% crates/oxdock-func-macro/src/lib.rs
48
89.26
-2.06% crates/oxdock-core/src/exec/static_check.rs
31
89.67
0.06% crates/oxdock-core/src/exec/args.rs
18
87.74
0.38% crates/plugins/oxdock-net-plugin/src/funcs.rs
13
70.63
-0.15% crates/oxdock-core/src/exec/handlers.rs
6
96.69
-2.83% crates/docs-gen/src/docs_gen_engine.rs
6
97.01
6.66% crates/docs-gen/src/plugins/rust/mod.rs
5
93.96
1.76% crates/oxdock-parser/src/tag.rs
4
94.09
0.19% crates/plugins/oxdock-markdown-plugin/src/markdown.rs
3
98.76
-0.39% crates/docs-gen/src/plugins/oxdock/command_ref.rs
3
90.58
-0.52% crates/oxdock-core/src/exec/native.rs
2
94.7
0.43% crates/oxdock-core/src/exec/typing.rs
1
95.13
-0.13% crates/docs-gen/src/plugins/docs/mod.rs
1
82.71
2.15% crates/plugins/oxdock-markdown-plugin/src/funcs.rs
1
95.2
-0.23% crates/plugins/oxdock-ssh-plugin/src/funcs.rs

Coverage Regressions

Lines Coverage ∆ File
11
90.58
-0.52% crates/oxdock-core/src/exec/native.rs
3
76.83
-0.76% crates/oxdock-func-macro/src/lib.rs
1
96.69
-2.83% crates/docs-gen/src/docs_gen_engine.rs
1
97.01
6.66% crates/docs-gen/src/plugins/rust/mod.rs
1
89.26
-2.06% crates/oxdock-core/src/exec/static_check.rs
1
93.96
1.76% crates/oxdock-parser/src/tag.rs
1
82.71
2.15% crates/plugins/oxdock-markdown-plugin/src/funcs.rs
Jobs
ID Job ID Ran Files Coverage
1 38304161141.1 12 Oct 2026 08:41PM UTC 112
84.14
GitHub Action Run
Source Files on build 38304161141
  • Tree
  • List 112
  • Changed 20
  • Source Changed 19
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38304161141
  • aa428090 on github
  • Prev Build on main (#38206001278)
  • Next Build on main (#38396451448)
  • Delete
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