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

binbashar / leverage / 43355745844
68%
master: 80%

Build:
Build:
LAST BUILD BRANCH: enhancement/tf-error-path-tests
DEFAULT BRANCH: master
Ran 13 Nov 2026 02:58AM UTC
Jobs 1
Files 44
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

13 Nov 2026 02:58AM UTC coverage: 67.689% (+1.7%) from 66.038%
43355745844

Pull #336

github

diego-ojeda-binbash
Fix | Propagate the tofu/terraform exit code to the CLI

Every `leverage tofu|terraform` command discarded the exit code returned by
`TFRunner.run`, so the CLI always exited 0, even when the binary failed. With
`--layers` it also kept running the remaining layers after a failing one.

Restore the behavior from before #316: raise `Exit(exit_code)` on a non-zero
code for init, plan, apply, output, destroy, version, format, force-unlock,
validate and import, which also stops `--layers` at the first failing layer.

Closes #335

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #336: Fix | Propagate the tofu/terraform exit code to the CLI

588 of 1080 branches covered (54.44%)

Branch coverage included in aggregate %.

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

26 existing lines in 1 file now uncovered.

2898 of 4070 relevant lines covered (71.2%)

0.71 hits per line

Coverage Regressions

Lines Coverage ∆ File
26
86.99
9.85% modules/tf.py
Jobs
ID Job ID Ran Files Coverage
1 43355745844.1 13 Nov 2026 02:58AM UTC 44
67.69
GitHub Action Run
Source Files on build 43355745844
  • Tree
  • List 44
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43355745844
  • Pull Request #336
  • PR Base - master (#42671289129)
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