Skip to content

Add dataset validate command#12

Draft
lukeschmitt-tr wants to merge 1 commit into04-15-add_type_aliasesfrom
05-07-add_validate_command
Draft

Add dataset validate command#12
lukeschmitt-tr wants to merge 1 commit into04-15-add_type_aliasesfrom
05-07-add_validate_command

Conversation

@lukeschmitt-tr
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor Author

lukeschmitt-tr commented May 8, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new trc dataset validate subcommand to validate local datasets (type auto-detected or explicitly provided) without uploading, returning exit code 0 on success and 1 when validation warnings are found.

Changes:

  • Introduces dataset validate Typer command that runs type detection + validate_dataset() and formats results for CLI output.
  • Adds CLI tests covering success, warning exit behavior, undetectable type handling, alias support, and “no auth required”.
  • Updates usage examples to include trc dataset validate.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tests/test_validators.py Adds end-to-end CLI tests for the new dataset validate command and its exit codes/output expectations.
src/trossen_cloud_cli/commands/datasets.py Adds the validate command implementation wired into the datasets Typer app.
src/trossen_cloud_cli/cli.py Updates usage text to advertise the new validate command.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/trossen_cloud_cli/commands/datasets.py Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@lukeschmitt-tr lukeschmitt-tr force-pushed the 04-15-add_type_aliases branch from 102164b to b5054a9 Compare May 8, 2026 04:55
@lukeschmitt-tr lukeschmitt-tr force-pushed the 05-07-add_validate_command branch from 48743cc to 7559216 Compare May 8, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants