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

clintval / magicjar / 29379954731
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: 0.3.0
DEFAULT BRANCH: main
Ran 15 Jul 2026 12:48AM UTC
Jobs 1
Files 2
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

15 Jul 2026 12:46AM UTC coverage: 99.671%. Remained the same
29379954731

Pull #2

github

clintval
feat: hand the JVM a .jar-named handle so reflections-based tools work

Tools like GATK discover classes (e.g. -T walkers) via libraries such as
reflections, which only scan classpath entries whose filename ends in .jar.
A magicked file with a bare name (./gatk3) reaches the JVM as java -jar $0,
gets skipped, and the tool finds nothing ("Could not find walker").

When $0 lacks a .jar suffix, the preamble now materializes a .jar-named handle
in a temp dir and runs the JVM against it; names already ending in .jar exec
directly. A staged symlink (e.g. a workflow engine's task-dir link) is copied
so the JVM sees a real .jar rather than a hardlink-to-symlink that resolves
back to a bare name; a real file uses a cheap hardlink, falling back to a copy
across filesystems. An EXIT trap removes the temp dir (fires on normal exit and
SIGINT/TERM/HUP; only SIGKILL leaks it, which /tmp reaps); removing the handle
never touches the original jar.

Adds a unit test for the generated preamble plus integration tests for a
bare-named real file and a symlink-staged file.
Pull Request #2: feat: hand the JVM a .jar-named handle so reflections-based tools work

303 of 304 relevant lines covered (99.67%)

8.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29379954731.1 15 Jul 2026 12:48AM UTC 2
99.67
GitHub Action Run
Source Files on build 29379954731
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29379954731
  • Pull Request #2
  • PR Base - main (#27976376082)
  • 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