Add dataset validate command#12
Draft
lukeschmitt-tr wants to merge 1 commit into04-15-add_type_aliasesfrom
Draft
Add dataset validate command#12lukeschmitt-tr wants to merge 1 commit into04-15-add_type_aliasesfrom
lukeschmitt-tr wants to merge 1 commit into04-15-add_type_aliasesfrom
Conversation
This was referenced May 8, 2026
Open
Contributor
Author
|
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.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
There was a problem hiding this comment.
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 validateTyper 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
usageexamples to includetrc 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.
190512b to
48743cc
Compare
12b6778 to
102164b
Compare
102164b to
b5054a9
Compare
48743cc to
7559216
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.