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

nvidia-holoscan / holoscan-cli / 30244872396
79%

Build:
DEFAULT BRANCH: main
Ran 27 Jul 2026 07:06AM 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 07:05AM UTC coverage: 78.688% (-0.04%) from 78.73%
30244872396

push

github

web-flow
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%)

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.0% 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
Jobs
ID Job ID Ran Files Coverage
1 30244872396.1 27 Jul 2026 07:06AM UTC 36
78.69
GitHub Action Run
Source Files on build 30244872396
  • Tree
  • List 36
  • Changed 12
  • Source Changed 12
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30244872396
  • 6506095c on github
  • Prev Build on main (#30148303118)
  • Next Build on main (#30270260297)
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