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

clintval / magicjar / 29379430386
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: 0.3.0
DEFAULT BRANCH: main
Ran 15 Jul 2026 12:38AM 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:34AM UTC coverage: 99.671%. Remained the same
29379430386

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) lands on the classpath via
java -jar $0, gets skipped, and the tool finds nothing
("Could not find walker").

When $0 lacks a .jar suffix, the preamble now exposes a .jar-named handle
in a temp dir (hardlink when possible, else a copy) and runs the JVM against
that; names already ending in .jar exec directly as before. An EXIT trap
removes the temp dir (verified to fire on normal exit and SIGINT/TERM/HUP);
only SIGKILL leaks it, which /tmp reaps anyway. Removing the hardlink never
touches the original jar.

Adds a unit test for the generated preamble and an integration test that
asserts an extensionless magicked file hands the JVM a .jar path.
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.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29379430386.1 15 Jul 2026 12:38AM UTC 2
99.67
GitHub Action Run
Source Files on build 29379430386
  • 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 #29379430386
  • 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