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

jzombie / rust-oxdock / 38149438419
84%

Build:
DEFAULT BRANCH: main
Ran 11 Oct 2026 03:24PM 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

11 Oct 2026 02:59PM UTC coverage: 84.083% (-0.2%) from 84.296%
38149438419

push

github

web-flow
feat: Add INSTALL, PROMPT, and REMOVE DSL commands and PATH_WRITABLE function (#206)

### Added

- `INSTALL <source> <dest>` command (#205): atomically places an already-verified binary with executable modes. The `oxdock-fs` helper (`install_file_atomic`) ensures the parent dir first, stages as a temp file inside the dest dir, sets `0755` on Unix, then renames, so the final path never carries the wrong mode and interrupted transfers leave no truncated binary. Unix renames atomically (running images swap inode); Windows renames an existing dest aside first, since overwrite-copy fails on a running image. `install.oxfile` now places through `INSTALL` instead of `MKDIR` + `COPY`.
- `PROMPT $var <message> [<default>]` command (#205): prints `{message} [{default}]: ` to stderr and reads one line from the terminal, binding `$var` with declare-or-mutate semantics. Empty input yields the default (or `""`); EOF aborts loudly; non-TTY stdin is never read (a default binds with a stderr note, no default bails). The installer stubs export `OXDOCK_INTERACTIVE=1` only with a console behind stdin (`[ -t 0 ]` on shell, `UserInteractive` without input redirection on PowerShell), and `install.oxfile` confirms the destination in that branch, looping until the path is a writable dir or a creatable absence.
- `STD::PATH_WRITABLE($path)` function (#205): reports whether an ordinary file can be created at a path without creating anything. Empty strings are false; otherwise it walks to the nearest existing ancestor, requires a directory, and probes with a randomized file behind an RAII drop-guard, so installer retry loops cannot litter. The installer validity loop composes it with `PATH_TYPE`.
- `REMOVE [--recursive] <path>` command (#205): removes a file, symlink, or empty dir; directory trees require spelling out `--recursive`. Missing paths and non-empty dirs without the flag bail naming the path. Symlink removal unlinks the reference itself, never the target (guard canonic... (continued)

408 of 609 new or added lines in 16 files covered. (67.0%)

5 existing lines in 3 files now uncovered.

35288 of 41968 relevant lines covered (84.08%)

1573.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
63
68.84
-0.19% crates/oxdock-core/src/exec/handlers.rs
51
50.0
-6.04% crates/sys/oxdock-fs/src/workspace_fs/mock.rs
20
79.43
-1.25% crates/oxdock-core/src/exec/steps.rs
17
69.42
-0.9% oxdock-macros/src/lib.rs
13
87.62
crates/sys/oxdock-fs/src/workspace_fs/install.rs
10
54.82
-1.12% oxdock-build/src/track.rs
9
89.24
-0.23% crates/oxdock-core/src/exec/args.rs
9
93.82
-0.23% crates/oxdock-parser/src/commands.rs
6
88.47
0.24% crates/sys/oxdock-fs/src/workspace_fs/io.rs
3
81.35
-0.16% crates/oxdock-parser/src/ast.rs

Coverage Regressions

Lines Coverage ∆ File
2
50.0
-6.04% crates/sys/oxdock-fs/src/workspace_fs/mock.rs
2
91.89
-0.33% crates/sys/oxdock-fs/src/workspace_fs/resolve.rs
1
69.42
-0.9% oxdock-macros/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 38149438419.1 11 Oct 2026 03:24PM UTC 112
84.08
GitHub Action Run
Source Files on build 38149438419
  • Tree
  • List 112
  • Changed 23
  • Source Changed 21
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38149438419
  • cdb03835 on github
  • Prev Build on main (#38104000819)
  • Next Build on main (#38175700215)
  • 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