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

binbashar / leverage / 35291107483
66%
master: 65%

Build:
Build:
LAST BUILD BRANCH: kungfoo/path-fix
DEFAULT BRANCH: master
Ran 18 Sep 2026 12:25AM 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

18 Sep 2026 12:24AM UTC coverage: 66.038% (+0.7%) from 65.343%
35291107483

Pull #327

github

juanmatias
Fix | Cast MFA_ENABLED to a real boolean

`PathsHandler.mfa_enabled` stored the raw string from build.env
without casting it. Since any non-empty string (including "false")
is truthy in Python, `elif paths.mfa_enabled:` in
leverage/modules/auth.py always ran regardless of the actual value,
so MFA_ENABLED=false never disabled the MFA credential-refresh path.

This surfaced in CI as `refresh_layer_credentials_mfa` looking for a
`[profile <name>-mfa]` section that was never meant to exist (the
workflow explicitly sets MFA_ENABLED=false and sso_enabled=false to
skip credential refresh entirely for that layer), and raising
"Credentials for profile ... have not been properly configured."

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #327: Fix | Credentials configure fails when run after project init

532 of 1040 branches covered (51.15%)

Branch coverage included in aggregate %.

29 of 32 new or added lines in 3 files covered. (90.63%)

93 existing lines in 6 files now uncovered.

2828 of 4048 relevant lines covered (69.86%)

0.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
78.49
1.09% leverage/path.py
1
84.62
-4.27% leverage/leverage.py

Coverage Regressions

Lines Coverage ∆ File
77
62.74
3.65% modules/credentials.py
12
78.49
1.09% path.py
1
59.29
-0.32% leverage/modules/auth.py
1
62.74
3.65% leverage/modules/credentials.py
1
84.62
-4.27% leverage.py
1
59.29
-0.32% modules/auth.py
Jobs
ID Job ID Ran Files Coverage
1 35291107483.1 18 Sep 2026 12:25AM UTC 44
66.04
GitHub Action Run
Source Files on build 35291107483
  • Tree
  • List 44
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35291107483
  • Pull Request #327
  • PR Base - master (#35021487384)
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