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

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

Build:
Build:
LAST BUILD BRANCH: feat/standalone-module-create
DEFAULT BRANCH: main
Ran 27 Jul 2026 08:36AM UTC
Jobs 1
Files 36
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

27 Jul 2026 08:35AM UTC coverage: 78.688% (+0.09%) from 78.598%
30250512610

push

github

wyli
feat: add --json to list/modes/env-info/version and remove the workflow project type (#205)

* feat: add --json to list, modes, env-info, and version

Completes the F3 "--json on every read verb" surface from the agentic-CLI
design. `status` and `env-check` already emitted JSON; this adds the same
opt-in `--json` flag to the four remaining read commands so agents can parse
discovery and diagnostic output instead of scraping prose:

* `list --json`     — {projects: [{name, project_type, source_folder,
                      language[], modes[]}]}. Includes source_folder, the one
                      field agents previously had to guess.
* `modes --json`    — the resolved metadata.modes object plus project/language.
* `env-info --json` — full structured host report. env_info.py grows a
                      parallel `gather_*` data layer beside the `collect_*`
                      prose printers (the status.py collect/format split);
                      only one path runs per invocation.
* `version --json`  — package/version/executable/module.

All payloads flow through a new utils/json_output.dumps that injects an
additive `schema_version` (1) as the first key; the same wrapper is
retrofitted onto the existing status/env-check JSON (additive, no field moves).
Env-var name lists and the Python-environment classification are extracted to
single-source helpers shared by the prose and JSON renderers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* refactor: remove the workflow project-type concept

Mirrors holohub#1646 ("Remove Holohub Workflow Concept Entirely"), which
folded the AI Surgical Video workflow into applications and dropped the
workflow type: it has no meaningful difference from an application.

Removes the workflow project type across the CLI:
* delete metadata/workflow.schema.json (packaged via the *.schema.json glob)
* drop the "workflows" dir + "workflow" schema from METADATA_DIRECTORY_CONFIG,
  gather_metadata S... (continued)

110 of 140 new or added lines in 9 files covered. (78.57%)

217 existing lines in 8 files now uncovered.

3227 of 4101 relevant lines covered (78.69%)

0.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
83.65
-8.13% src/holoscan_cli/utils/env_info.py
2
86.63
-0.87% src/holoscan_cli/commands/build.py
2
76.69
6.05% src/holoscan_cli/commands/info.py
2
91.3
-8.7% src/holoscan_cli/version/version.py

Coverage Regressions

Lines Coverage ∆ File
110
75.19
1.06% src/holoscan_cli/container/core.py
33
77.07
0.45% src/holoscan_cli/utils/holohub.py
23
78.65
0.0% src/holoscan_cli/commands/install.py
20
84.75
0.0% src/holoscan_cli/commands/run.py
15
86.63
-0.87% src/holoscan_cli/commands/build.py
7
86.75
0.67% src/holoscan_cli/utils/text.py
5
94.39
0.0% src/holoscan_cli/commands/test_cmd.py
4
90.84
0.0% src/holoscan_cli/commands/package.py
Jobs
ID Job ID Ran Files Coverage
1 30250512610.1 27 Jul 2026 08:36AM UTC 36
78.69
GitHub Action Run
Source Files on build 30250512610
  • Tree
  • List 36
  • Changed 18
  • Source Changed 18
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30250512610
  • cb79b8cb on github
  • Prev Build on release/4.5.0 (#29020739415)
  • Next Build on release/4.5.0 (#30250703431)
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