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

palcarazm / batchjs / 28236748646
100%
version/v1: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/setup-node-7
DEFAULT BRANCH: version/v1
Ran 26 Jun 2026 12:03PM UTC
Jobs 2
Files 47
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

26 Jun 2026 12:02PM UTC coverage: 99.54% (-0.3%) from 99.831%
28236748646

push

github

web-flow
feat: add parallel step execution with fail-fast cancellation (#105)

* feat: add parallel step execution with fail-fast cancellation

Extends Job._steps() to support arrays of Step for parallel execution:
- _steps() now returns (Step | Step[])[] instead of Step[]
- Parallel groups run concurrently via Promise.all
- First failure cancels all other steps in the group (fail-fast)
- Added stepCancelled event for monitoring cancellations

Step improvements:
- Added isRunning getter to check execution state
- Added cancel() method for manual/interrupt cancellation
- Added destroy() method for resource cleanup
- Added CANCELLED status to RunnableStatus
- StepCancelledError for distinguishing cancellation from failure

Events & metrics:
- stepCancelled event emitted when steps are cancelled
- JobListener records metrics for cancelled steps
- JobLogger logs cancellation events

Tests:
- Step cancellation tests (running, non-running, multiple cancels)
- Step destroy tests (completed, failed, cancelled)
- Job parallel tests (success, failure, mixed sequential/parallel)
- Sequential failure before parallel group tests

Documentation:
- Added parallel execution behavior section to jobs.md
- Added cancellation section to steps.md
- Added status table with CANCELLED state

Implements #92

* fix: change delay property to readonly in MockPassingStep class

117 of 119 branches covered (98.32%)

Branch coverage included in aggregate %.

56 of 56 new or added lines in 6 files covered. (100.0%)

532 of 533 relevant lines covered (99.81%)

62.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 coverage-report-22.x - 28236748646.1 26 Jun 2026 12:03PM UTC 94
99.59
GitHub Action Run
2 coverage-report-24.x - 28236748646.2 26 Jun 2026 12:03PM UTC 94
99.59
GitHub Action Run
Source Files on build 28236748646
  • Tree
  • List 47
  • Changed 22
  • Source Changed 5
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28236748646
  • f44e9f8d on github
  • Prev Build on develop/v1.3.0 (#28226061941)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc