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

nvidia-holoscan / holoscan-cli / 29831077735
79%
main: 79%

Build:
Build:
LAST BUILD BRANCH: pull-request/204
DEFAULT BRANCH: main
Ran 21 Jul 2026 12:41PM UTC
Jobs 1
Files 35
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 12:39PM UTC coverage: 78.636% (+0.04%) from 78.598%
29831077735

Pull #202

github

wyli
fix: parse HOLOSCAN_CLI_BUILD_LOCAL as a boolean, not Python truthiness

Several commands chose local vs. container execution with a bare
truthiness check:

    args.local or os.environ.get("HOLOSCAN_CLI_BUILD_LOCAL")

Any non-empty string is truthy in Python, so `0`, `false`, and `no`
were treated as True. A user (or AI agent) setting
`HOLOSCAN_CLI_BUILD_LOCAL=0` to request container execution silently got
a host build instead.

Add `is_env_flag_true()` in utils/text.py to parse a raw env/config value
against the shared false-value set ("false", "no", "n", "0", "f", "off";
blank/None is false), and a `is_local_build_requested()` helper in
utils/holohub.py that applies it uniformly across the CLI flag, the
process environment, and any mode-config `env` mappings. Use it in build,
run, install, package, and test so a falsey flag no longer forces host
execution.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Pull Request #202: fix: parse HOLOSCAN_CLI_BUILD_LOCAL as a boolean, not Python truthiness

17 of 17 new or added lines in 7 files covered. (100.0%)

25 existing lines in 1 file now uncovered.

3136 of 3988 relevant lines covered (78.64%)

0.79 hits per line

Coverage Regressions

Lines Coverage ∆ File
25
77.07
0.45% src/holoscan_cli/utils/holohub.py
Jobs
ID Job ID Ran Files Coverage
1 29831077735.1 21 Jul 2026 12:41PM UTC 35
78.64
GitHub Action Run
Source Files on build 29831077735
  • Tree
  • List 35
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29831077735
  • Pull Request #202
  • PR Base - main (#29249548966)
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