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

jhheider / mdtask / 29811906680
85%

Build:
DEFAULT BRANCH: main
Ran 21 Jul 2026 07:50AM UTC
Jobs 1
Files 4
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

21 Jul 2026 07:49AM UTC coverage: 71.604% (+0.4%) from 71.238%
29811906680

push

github

web-flow
feat!: default cwd is the task file's dir; Dir replaced by Opts: inherit-cwd (#7)

BREAKING (v0.2.0). Flip the working-directory default to match just: a task now
runs in the directory of the file that defines it (for a layered/fallback task,
the ancestor file's dir), not the invocation directory. A task script is written
against its project's layout, so it runs from that project's root, and just runs
recipes from the justfile's dir the same way (fallback recipes included, verified
empirically).

`Dir:` is removed. Its only durable value was picking one of two anchors (the
file's dir vs where you invoked); a specific subdir or absolute path is a one-line
`cd` in the script, and `Dir: {{ arg }}` was a raw path-injection footgun that
`cd "$arg"` fixes with shell quoting. In its place, `Opts:` carries per-task
flags (space-separated), with one flag today: `inherit-cwd` runs the task in the
invocation directory (just's `[no-cd]`). One key absorbs future flags without new
keys. A leftover `Dir:` line is reported as a warning pointing at the migration;
an unknown `Opts:` flag warns and is ignored.

Robustness: an empty task_file_dir (a bare filename's parent, e.g. `-f tasks.md`)
falls back to cwd rather than trying to run in an empty path.

Migration: relative paths now resolve from the task file's directory; add
`Opts: inherit-cwd` for the old "run where invoked" behavior. Tests, fixture, and
README updated; both crates bumped to 0.2.0.


Claude-Session: https://claude.ai/code/session_016wrSiZfmH1jnLESCR41Xzw

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

64 of 64 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

817 of 1141 relevant lines covered (71.6%)

6849.59 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
94.19
0.01% mdtask-core/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 29811906680.1 21 Jul 2026 07:50AM UTC 4
71.6
GitHub Action Run
Source Files on build 29811906680
  • Tree
  • List 4
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29811906680
  • 9c5bd3ec on github
  • Prev Build on main (#29805889661)
  • Next Build on main (#29812444299)
  • 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