Skip to content

fix(cli): expose intake and experiments commands - #1105

Merged
BrianNewsom merged 3 commits into
mainfrom
unhide-intake-cli/brnewsom
Aug 5, 2026
Merged

fix(cli): expose intake and experiments commands#1105
BrianNewsom merged 3 commits into
mainfrom
unhide-intake-cli/brnewsom

Conversation

@BrianNewsom

@BrianNewsom BrianNewsom commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • expose nemo intake in root CLI help and the agent command inventory
  • enable the standalone generated nemo experiments entrypoint with create, delete, list, get, and update commands
  • regenerate extension/SDK CLI metadata and reference documentation
  • add regression coverage for command visibility and lazy loading

Testing

  • uv run --frozen pytest packages/nemo_platform_ext/tests/cli/ -q (1132 passed, 2 skipped)
  • uv run --package nemo-platform-sdk-tools pytest tools/nemo-platform-sdk-tools/tests/sdk/cli_generator/ -q (136 passed)
  • uv run --frozen _nemo --help
  • uv run --frozen _nemo experiments --help
  • uv run pre-commit run -a

Summary by CodeRabbit

  • New Features

    • Added the nemo experiments command group with create, retrieve, update, delete, and list operations.
    • Added experiment metadata, filtering, sorting, pagination, Pareto settings, and flexible output options.
    • Added the nemo intake command group for annotations, evaluator results, ingestion, sessions, spans, span groups, and traces.
    • Intake and experiments now appear in CLI help and documentation.
  • Documentation

    • Standardized list sorting options across CLI resources.

Signed-off-by: Brian Newsom <brnewsom@nvidia.com>
@BrianNewsom
BrianNewsom requested review from a team as code owners August 5, 2026 20:48
@github-actions github-actions Bot added the fix label Aug 5, 2026
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: b73ca17b-95fa-47ee-a77d-064a835b18c1

📥 Commits

Reviewing files that changed from the base of the PR and between 5685cb6 and 571fda1.

⛔ Files ignored due to path filters (1)
  • sdk/python/nemo-platform/src/nemo_platform/cli/commands/api/files/filesets.py is excluded by !sdk/**
📒 Files selected for processing (1)
  • packages/nemo_platform_ext/src/nemo_platform_ext/cli/commands/api/files/filesets.py

📝 Walkthrough

Walkthrough

The PR adds the nemo experiments command group, exposes nemo intake, documents both command groups, updates CLI metadata and tests, and standardizes list sort ordering.

Changes

CLI operations

Layer / File(s) Summary
Implement experiments commands
packages/nemo_platform_ext/src/.../api/experiments.py
Adds create, delete, list, get, and update commands with payload handling, filtering, pagination, sorting, formatting, and client operations.
Expose and validate top-level commands
packages/nemo_platform_ext/src/.../api/__init__.py, tools/nemo-platform-sdk-tools/src/.../cli_config.yaml, packages/nemo_platform_ext/tests/cli/..., docs/fern/snippets/_snippets/cli-summary.mdx
Exposes experiments and intake, updates command metadata, removes the experiments resource skip, and extends command ordering and lazy-loading tests.
Document intake operations
docs/cli/reference.mdx
Documents annotation, evaluator-result, ingestion, session, span, span-group, and trace commands.
Document experiments and sort choices
docs/cli/reference.mdx, packages/nemo_platform_ext/src/.../files/filesets.py
Documents experiments operations and standardizes descending-before-ascending list sort choices for filesets, prompts, models, workspaces, and guardrails.

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant ExperimentsCLI
  participant ExperimentsClient
  participant OutputFormatter
  User->>ExperimentsCLI: invoke experiment command
  ExperimentsCLI->>ExperimentsClient: execute experiment operation
  ExperimentsClient-->>ExperimentsCLI: return result
  ExperimentsCLI->>OutputFormatter: format result
  OutputFormatter-->>User: render output
Loading

Possibly related PRs

Suggested reviewers: shanaiabuggy, jeremysilva1098

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main CLI change: exposing the intake and experiments commands.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch unhide-intake-cli/brnewsom

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor
Suite Lines Covered Line Rate Branch Rate
Unit Tests 30781/39277 78.4% 62.8%
Integration Tests 18078/37229 48.6% 21.1%

Signed-off-by: Brian Newsom <brnewsom@nvidia.com>
@BrianNewsom BrianNewsom changed the title fix(cli): expose intake commands fix(cli): expose intake and experiments commands Aug 5, 2026
Signed-off-by: Brian Newsom <brnewsom@nvidia.com>
@BrianNewsom
BrianNewsom added this pull request to the merge queue Aug 5, 2026
Merged via the queue into main with commit 227426f Aug 5, 2026
56 checks passed
@BrianNewsom
BrianNewsom deleted the unhide-intake-cli/brnewsom branch August 5, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants