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

jhheider / scriptbox / 29616674148
79%

Build:
DEFAULT BRANCH: main
Ran 17 Jul 2026 10:03PM UTC
Jobs 1
Files 10
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

17 Jul 2026 10:03PM UTC coverage: 78.848% (-19.0%) from 97.816%
29616674148

push

github

jhheider
v0.2.0: switch system, Source $0 mode, subscripts spike, whole-block pins

Flag <-> frontmatter switches (a flag wins), since some fixes conflict:
- `--argv0 <rewrite|source|off>` / `argv0 = "..."`. New `source` mode runs
  `<sh> -c '. <fd> "$@"' <realpath>`, giving a real $0 on EVERY POSIX shell
  (dash/ksh/bash-3.2 included), at the cost of sourced-mode semantics.
  `--no-argv0-rewrite` is now an alias for `--argv0 off`.
- `--subscripts[=report]` / `subscripts = "..."`: opt-in static analysis of a
  script's child invocations (source/. and interpreter calls), behind a
  non-default `subscripts` Cargo feature (pulls brush-parser, ~60 crates; the
  lean default build omits it and the flag errors clearly without it). Spike:
  detection + report only, descends if/for/while/subshell/function, resolves
  literal paths and flags dynamic ones. It does not freeze children yet.

Pinning now excludes the ENTIRE `# /// scriptbox` block from the digest (was:
just the checksum line), so any switch is frontmatter-flippable without
re-pinning. BREAKING for 0.1.0 pins: re-run `scriptbox pin` (an interpreter
set only in frontmatter is no longer covered by the pin - put it on the
shebang if you need it pinned).

Also: fish/nushell documented as immune (whole-file parse), not wrapped.
Default build stays 15 crates; both feature configs pass (49 unit + 10 e2e),
clippy/fmt clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014psyX18vgHn4UkMwCtZqff

134 of 312 new or added lines in 7 files covered. (42.95%)

1 existing line in 1 file now uncovered.

712 of 903 relevant lines covered (78.85%)

7.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
163
0.0
src/subscripts.rs
7
96.57
-3.43% src/run.rs
6
92.81
-2.19% src/main.rs
2
91.84
-3.91% src/frontmatter.rs

Coverage Regressions

Lines Coverage ∆ File
1
91.84
-3.91% src/frontmatter.rs
Jobs
ID Job ID Ran Files Coverage
1 29616674148.1 17 Jul 2026 10:03PM UTC 10
78.85
GitHub Action Run
Source Files on build 29616674148
  • Tree
  • List 10
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29616674148
  • ed5d879d on github
  • Prev Build on main (#29613568579)
  • Next Build on main (#29617774444)
  • 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