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

jzombie / rust-oxdock / 43227329473
88%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2026 01:36PM UTC
Jobs 1
Files 140
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 Nov 2026 01:26PM UTC coverage: 85.631% (+0.3%) from 85.312%
43227329473

push

github

web-flow
feat: Typed function returns (#291)

### Added

- Multi-line `FUNC` parameter lists: params may span lines with one entry per line, including generics and `|` unions. Newlines ride the shared `gap_nl` helper already used for call args, and a three-way string/token/backend parity proptest pins the agreement. A trailing newline before `)` is allowed; newlines between `)` and `:` are not.

### Fixed

- `--dry-run` runs the shared static validation before printing the closure, so it fails exactly where execution and `--mcp` would instead of reporting a passing preview for a statically invalid script. `finish_run`, `McpSession::init`, and both dry-run paths funnel through one `validate_closure_for_run` helper.

### Changed

- [breaking] Scripts are affected: `FUNC` requires an explicit return type (`FUNC NAME(...): RET`, `ASYNC FUNC NAME(...): HANDLE<T>`). Missing `: TYPE` is a parse error; every `RETURN` checks top-down against the declaration with no inference. Fallthrough and bare `RETURN` are `VOID`-only; non-`VOID` functions must `RETURN` a matching value on every path (#287).
- [breaking] Scripts are affected: bare `HANDLE` is not a declaration type. Every `LET`, parameter, and `FUNC` return names a payload (`HANDLE<T>`) or explicit unknown (`HANDLE<ANY>`, required even where the old bare spelling used to pass); a bare `HANDLE` spelling fails at resolution naming the fix, mirroring the existing bare-`LIST`/`MAP` rejection. `HANDLE<VOID>` marks join-only tasks, and awaiting a `VOID` task for a value is a static error. Host-registered functions keep bare `HANDLE` as the word-kind gate; only script declarations are affected.
- [breaking] Scripts are affected: `ASYNC` tasks publish a value only through an explicit `RETURN`. The single-call/single-import fast path is removed: a body that is one call with no `RETURN` is now a void task yielding `INT` 0 on success (like any other `RETURN`-less body) instead of publishing the call's value. Bodies that relied... (continued)

1118 of 1272 new or added lines in 30 files covered. (87.89%)

6 existing lines in 5 files now uncovered.

50183 of 58604 relevant lines covered (85.63%)

15870.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
52
72.57
1.84% crates/oxdock-core/src/exec/handlers.rs
45
91.43
-0.29% crates/oxdock-core/src/exec/static_check.rs
22
87.06
-0.03% crates/oxdock-parser/src/parser.rs
11
76.99
1.1% crates/oxdock-mcp/src/schema.rs
5
93.33
-0.04% crates/oxdock-parser/src/commands.rs
5
94.23
-0.51% crates/oxdock-parser/src/tag.rs
4
93.95
0.04% crates/plugins/oxdock-ssh-plugin/src/funcs.rs
3
91.71
-0.24% crates/plugins/oxdock-net-plugin/src/funcs.rs
1
51.2
0.0% crates/oxdock-build/src/track.rs
1
57.01
-0.18% crates/oxdock-core/src/exec/conformance.rs
1
77.68
7.45% crates/oxdock-core/src/exec/import.rs
1
79.26
-0.56% crates/oxdock-core/src/exec/mcp.rs
1
94.72
0.02% crates/oxdock-core/src/exec/typing.rs
1
85.82
0.0% crates/oxdock-parser/src/ast.rs
1
92.32
0.0% crates/plugins/oxdock-markdown-plugin/src/markdown.rs

Coverage Regressions

Lines Coverage ∆ File
2
72.57
1.84% crates/oxdock-core/src/exec/handlers.rs
1
79.26
-0.56% crates/oxdock-core/src/exec/mcp.rs
1
91.43
-0.29% crates/oxdock-core/src/exec/static_check.rs
1
94.23
-0.51% crates/oxdock-parser/src/tag.rs
1
91.71
-0.24% crates/plugins/oxdock-net-plugin/src/funcs.rs
Jobs
ID Job ID Ran Files Coverage
1 43227329473.1 12 Nov 2026 01:36PM UTC 140
85.63
GitHub Action Run
Source Files on build 43227329473
  • Tree
  • List 140
  • Changed 32
  • Source Changed 32
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43227329473
  • 708856d3 on github
  • Prev Build on main (#42723987756)
  • Next Build on main (#43573562785)
  • 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