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

jhheider / scriptbox / 29660648563
79%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2026 08:56PM UTC
Jobs 1
Files 11
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

18 Jul 2026 08:56PM UTC coverage: 73.491%. Remained the same
29660648563

push

github

web-flow
Add dockerized real-world cross-shell compatibility suite (scriptbox-060) (#2)

* Add dockerized real-world cross-shell compatibility suite (brief scriptbox-060)

A broad compat regimen separate from tests/: a matrix of shell idioms plus a
read-only pass over real public installers (rustup/nvm/docker), run through
scriptbox across bash/zsh/dash/ksh, reproducibly in Docker (Linux memfd path).

- compat/idioms/* : targeted fixtures (cmdsub, subshell, background+wait, heredoc,
  EXIT trap, set -eu+pipe, exec, arrays, procsub, stdin read, source-a-sibling, a
  4000-line script, a self-editing insulation probe).
- compat/run.sh : transparency (boxed output == plain shell, per shell),
  insulation (self-editing script stays frozen), $0/--argv0 behaviour, --subscripts
  report, and `scriptbox hash` over fetched installers. Non-zero exit on any
  divergence/insulation failure.
- compat/Dockerfile : all four shells + a --features subscripts build.
- compat/README.md : flag annotations + the macOS-path gap (Docker can't cover it).
- justfile: `just compat`.

52 pass / 0 fail on Linux (memfd) and macOS (unlink-then-read).

Finding it surfaced: the default $0 rewrite works by swapping the shebang LINE, so
a shebang-less script run via `scriptbox <shell> script` keeps $0 as the fd path
even on bash>=5/zsh (documented in compat/README.md; issue filed separately).

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

* compat: ASCII prose (style check), + CRLF and --subscripts=freeze exec-child tests

- Strip em-dashes from compat/README.md so the repo's no-em-dashes style check
  passes.
- Add a CRLF-line-endings transparency case (Windows-edited scripts must freeze
  byte-faithfully) and a --subscripts=freeze exec'd-child case (the freeze path
  must wrap a `bash child.sh` invocation while staying transparent to output).

57 pass / 0 fail on Linux (Docker) and macOS.

Co-Autho... (continued)

901 of 1226 relevant lines covered (73.49%)

6.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29660648563.1 18 Jul 2026 08:56PM UTC 11
73.49
GitHub Action Run
Source Files on build 29660648563
  • Tree
  • List 11
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29660648563
  • c0d273ac on github
  • Prev Build on main (#29625591700)
  • Next Build on main (#29660994211)
  • 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