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

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

Build:
Build:
LAST BUILD BRANCH: pull-request/222
DEFAULT BRANCH: main
Repo Added 05 Dec 2024 01:17AM UTC
Files 36
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

LAST BUILD ON BRANCH agent/fix-source-project-portability
branch: agent/fix-source-project-portability
CHANGE BRANCH
x
Reset
  • agent/fix-source-project-portability
  • agent/document-ga-release-changelog
  • codex-tool-runner-alias
  • dependabot/github_actions/actions/cache-5
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/checkout-7.0.1
  • dependabot/github_actions/actions/dependency-review-action-5
  • dependabot/github_actions/actions/dependency-review-action-5.0.0
  • dependabot/github_actions/actions/download-artifact-4.1.9
  • dependabot/github_actions/actions/download-artifact-4.2.0
  • dependabot/github_actions/actions/download-artifact-4.2.1
  • dependabot/github_actions/actions/download-artifact-5.0.0
  • dependabot/github_actions/actions/download-artifact-6.0.0
  • dependabot/github_actions/actions/download-artifact-7.0.0
  • dependabot/github_actions/actions/download-artifact-8.0.0
  • dependabot/github_actions/actions/download-artifact-8.0.1
  • dependabot/github_actions/actions/github-script-8.0.0
  • dependabot/github_actions/actions/github-script-9.0.0
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/actions/setup-python-6.3.0
  • dependabot/github_actions/actions/setup-python-7.0.0
  • dependabot/github_actions/actions/upload-artifact-4.5.0
  • dependabot/github_actions/actions/upload-artifact-5
  • dependabot/github_actions/actions/upload-artifact-6
  • dependabot/github_actions/actions/upload-artifact-7
  • dependabot/github_actions/actions/upload-artifact-7.0.1
  • dependabot/github_actions/coverallsapp/github-action-2.3.6
  • dependabot/github_actions/coverallsapp/github-action-2.3.7
  • dependabot/github_actions/coverallsapp/github-action-2.3.8
  • dependabot/github_actions/github/codeql-action-4
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.14.2
  • dependabot/github_actions/test-summary/action-2.6
  • dependabot/pip/cookiecutter-gte-2.7.1
  • dependabot/pip/coverage-7.10.0
  • dependabot/pip/coverage-7.10.1
  • dependabot/pip/coverage-7.10.2
  • dependabot/pip/coverage-7.10.3
  • dependabot/pip/coverage-7.10.4
  • dependabot/pip/coverage-7.10.5
  • dependabot/pip/coverage-7.10.6
  • dependabot/pip/coverage-7.10.7
  • dependabot/pip/coverage-7.11.0
  • dependabot/pip/coverage-7.11.1
  • dependabot/pip/coverage-7.11.3
  • dependabot/pip/coverage-7.12.0
  • dependabot/pip/coverage-7.13.0
  • dependabot/pip/coverage-7.13.1
  • dependabot/pip/coverage-7.13.2
  • dependabot/pip/coverage-7.13.3
  • dependabot/pip/coverage-7.13.4
  • dependabot/pip/coverage-7.13.5
  • dependabot/pip/coverage-7.14.0
  • dependabot/pip/coverage-7.9.0
  • dependabot/pip/coverage-7.9.1
  • dependabot/pip/coverage-7.9.2
  • dependabot/pip/coverage-tw-7.14.1
  • dependabot/pip/coverage-tw-7.14.3
  • dependabot/pip/coverage-tw-7.15.2
  • dependabot/pip/coveralls-4.0.2
  • dependabot/pip/coveralls-4.1.0
  • dependabot/pip/jsonschema-gte-4.26.0-and-lt-5.0
  • dependabot/pip/mypy-1.16.0
  • dependabot/pip/mypy-1.16.1
  • dependabot/pip/mypy-1.17.0
  • dependabot/pip/mypy-1.17.1
  • dependabot/pip/mypy-1.18.1
  • dependabot/pip/mypy-1.18.2
  • dependabot/pip/mypy-1.19.0
  • dependabot/pip/mypy-1.19.1
  • dependabot/pip/mypy-1.20.0
  • dependabot/pip/mypy-1.20.1
  • dependabot/pip/mypy-1.20.2
  • dependabot/pip/mypy-2.0.0
  • dependabot/pip/mypy-2.1.0
  • dependabot/pip/mypy-tw-2.3.0
  • dependabot/pip/packaging-24.2
  • dependabot/pip/packaging-25.0
  • dependabot/pip/pip-25.3
  • dependabot/pip/pip-26.0.1
  • dependabot/pip/pip-512858e340
  • dependabot/pip/pip-81c3d069c8
  • dependabot/pip/pip-99a64d02cb
  • dependabot/pip/pip-9aca4bcaf5
  • dependabot/pip/pip-a0bd3f3b45
  • dependabot/pip/pip-a6aa50acab
  • dependabot/pip/pip-aa7cb66ac2
  • dependabot/pip/pre-commit-4.2.0
  • dependabot/pip/pre-commit-4.3.0
  • dependabot/pip/pre-commit-4.4.0
  • dependabot/pip/pre-commit-4.5.0
  • dependabot/pip/pre-commit-4.5.1
  • dependabot/pip/pre-commit-4.6.0
  • dependabot/pip/pre-commit-tw-4.6.1
  • dependabot/pip/psutil-7.0.0
  • dependabot/pip/psutil-7.1.3
  • dependabot/pip/psutil-7.2.0
  • dependabot/pip/psutil-7.2.1
  • dependabot/pip/psutil-7.2.2
  • dependabot/pip/pytest-8.4.1
  • dependabot/pip/pytest-8.4.2
  • dependabot/pip/pytest-9.0.0
  • dependabot/pip/pytest-9.0.1
  • dependabot/pip/pytest-9.0.2
  • dependabot/pip/pytest-9.0.3
  • dependabot/pip/pytest-cov-6.2.1
  • dependabot/pip/pytest-cov-6.3.0
  • dependabot/pip/pytest-cov-7.0.0
  • dependabot/pip/pytest-cov-7.1.0
  • dependabot/pip/pytest-mock-3.14.1
  • dependabot/pip/pytest-mock-3.15.0
  • dependabot/pip/pytest-mock-3.15.1
  • dependabot/pip/pytest-tw-9.1.1
  • dependabot/pip/python-on-whales-0.74.0
  • dependabot/pip/python-on-whales-0.77.0
  • dependabot/pip/python-on-whales-0.79.0
  • dependabot/pip/python-on-whales-0.80.0
  • dependabot/pip/python-on-whales-0.81.0
  • dependabot/pip/pyyaml-6.0.3
  • dependabot/pip/referencing-gte-0.37.0
  • dependabot/pip/requests-2.32.5
  • dependabot/pip/requests-2.33.0
  • dependabot/pip/requests-2.33.1
  • dependabot/pip/requests-2.34.0
  • dependabot/pip/requests-2.34.1
  • dependabot/pip/requests-2.34.2
  • dependabot/pip/tomli-tw-2.4
  • docs/release-tagging-workflow
  • feat/container-signal-handling
  • feat/install-prefix
  • feat/json-read-verbs
  • feat/standalone-module-create
  • feat/version-flag
  • feature/dryrun-json-command-plan
  • fix-build-metadata
  • fix-pypi-readme-links
  • fix/build-local-truthiness
  • fix/clear-cache-safety-boundary
  • fix/configurable-container-toolkit
  • fix/ctest-script-env-first
  • fix/dry-run-read-only-replayable
  • fix/package-explicit-project-and-artifact-check
  • fix/port-holohub-cli-1601
  • fix/privileged-setup-one-env
  • fix/rc3-setup-script-fallback
  • fix/restore-4.2.0-release-manifests
  • fix/update-v1-comments-to-version
  • fix/verbose-local-build
  • main
  • package-tgz
  • pull-request/106
  • pull-request/124
  • pull-request/125
  • pull-request/130
  • pull-request/136
  • pull-request/143
  • pull-request/155
  • pull-request/174
  • pull-request/175
  • pull-request/176
  • pull-request/177
  • pull-request/178
  • pull-request/180
  • pull-request/181
  • pull-request/183
  • pull-request/185
  • pull-request/186
  • pull-request/187
  • pull-request/189
  • pull-request/190
  • pull-request/191
  • pull-request/193
  • pull-request/198
  • pull-request/199
  • pull-request/200
  • pull-request/202
  • pull-request/203
  • pull-request/204
  • pull-request/205
  • pull-request/206
  • pull-request/207
  • pull-request/209
  • pull-request/217
  • pull-request/218
  • pull-request/219
  • pull-request/221
  • pull-request/222
  • pull-request/34
  • pull-request/35
  • pull-request/36
  • pull-request/37
  • pull-request/38
  • pull-request/40
  • pull-request/55
  • pull-request/56
  • pull-request/58
  • pull-request/60
  • pull-request/61
  • pull-request/64
  • pull-request/65
  • pull-request/74
  • pull-request/80
  • pull-request/84
  • pull-request/86
  • pull-request/92
  • releae/3.5.0
  • release/2.9.0
  • release/3.0.0
  • release/3.1.0
  • release/3.10.0
  • release/3.11.0
  • release/3.2.0
  • release/3.3.0
  • release/3.4.0
  • release/3.4.1
  • release/3.5.0
  • release/3.6.0
  • release/3.7.0
  • release/3.8.0
  • release/3.9.0
  • release/4.0.0
  • release/4.1.0
  • release/4.2.0
  • release/4.3.0
  • release/4.4.0
  • release/4.5.0
  • release/4.6.0
  • update-precommit-fix
  • update-release-3.6.0
  • v4.3.0rc5
  • v4.3.0rc6
  • v4.5.0rc1
  • v4.5.0rc2
  • v4.5.0rc3
  • v4.7.0a0
  • v5.0.0a0
  • vchang/3.3-software-stack
  • vchang/app-test
  • vchang/app-testing
  • vchang/configure_release_2.9
  • vchang/consolidate-platform
  • vchang/copy-pr-bot
  • vchang/cwes
  • vchang/drop-python-3.9
  • vchang/e2e-workflow-
  • vchang/gh-8
  • vchang/holohub
  • vchang/jinja2-cve-2025-27516
  • vchang/nv-runner
  • vchang/package-filename
  • vchang/poetry-setup
  • vchang/release-action
  • vchang/remove-no-commit-to-branch
  • vchang/test-actions
  • vchang/test-pypi
  • vchang/tools-validation
  • vchang/unit-tests
  • wenqil/build-configure-only
  • wenqil/ctest-script-env-override
  • wenqil/dev-release
  • wenqil/document-release-process
  • wenqil/holohub-cli
  • wenqil/pr177-review-followups
  • wenqil/setup-add-build-essential
  • wenqil/sync-operator-names
  • wenqil/test-help-surface-probe
  • wenqil/track-a-coverage
  • wenqil/versioning-base-image-default
  • whom/add-blossom-action
  • whom/fix-blossom-action

14 Aug 2026 10:22AM UTC coverage: 78.535% (-0.06%) from 78.599%
31792063975

Pull #221

github

wyli
fix: resolve pre-commit with the child-process PATH

`handle_lint` prepends `~/.local/bin` to the PATH it hands to the subprocess
when the CLI is not running inside a virtualenv, but `_pre_commit_command`
called `shutil.which` without that PATH, so resolution and execution consulted
different search paths.

A pipx- or `--user`-installed pre-commit lives only in that directory and is
not importable by the CLI's interpreter. It was therefore reported as missing,
triggering an unnecessary reinstall, or a fatal pip error in an environment
that has no pip -- while a perfectly usable executable was already on the PATH
the run would use. `--dryrun` also printed `python -m pre_commit`, a module
that does not exist there.

Thread the child-process PATH through `_pre_commit_command` at both the
resolution and post-install checks, and at the hook-prefetch call in
`_install_lint_deps`.

Reported by CodeRabbit on PR #221.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Pull Request #221: fix: preserve source-project context

23 of 36 new or added lines in 5 files covered. (63.89%)

1 existing line in 1 file now uncovered.

3260 of 4151 relevant lines covered (78.54%)

0.79 hits per line

Relevant lines Covered
Build:
Build:
4151 RELEVANT LINES 3260 COVERED LINES
0.79 HITS PER LINE
Source Files on agent/fix-source-project-portability
  • Tree
  • List 36
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
31792063975 agent/fix-source-project-portability fix: resolve pre-commit with the child-process PATH `handle_lint` prepends `~/.local/bin` to the PATH it hands to the subprocess when the CLI is not running inside a virtualenv, but `_pre_commit_command` called `shutil.which` without that PATH, s... Pull #221 14 Aug 2026 10:24AM UTC wyli github
78.54
31790952217 agent/fix-source-project-portability fix: sync bundled template requirements with the create extra `setup_scripts/requirements.template.txt` ships in the wheel and is pip-installed by `setup_scripts/template.sh`, so it is a second declaration of the dependency set that `[project.opt... Pull #221 14 Aug 2026 10:08AM UTC wyli github
78.54
31699620650 agent/fix-source-project-portability fix: align module name resolution Use one normalization rule for metadata discovery and module packaging, and cover the lint environment and requirements precedence review cases without adding standalone test functions. Co-authored-by: Codex <no... Pull #221 13 Aug 2026 12:21PM UTC wyli github
78.68
31698415380 agent/fix-source-project-portability test: consolidate source-project regressions Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Wenqi Li <wenqil@nvidia.com> Pull #221 13 Aug 2026 12:06PM UTC wyli github
78.65
31697928592 agent/fix-source-project-portability fix: preserve source-project context Forward local SDK roots through test containers, preserve declared Module identity across checkout and mount paths, and make lint hooks use the selected CLI Python and root lint requirements. Co-authored-by: ... Pull #221 13 Aug 2026 11:59AM UTC wyli github
78.65
See All Builds (1184)
  • Repo on GitHub
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