Repository navigation
feat: consolidate verification into the modpoll verify command - #135
Merged
Merged
Conversation
modpoll verify --config MODEL --tcp HOST reads every point of one Thing Model once, read-only and without retries, with a bounded timeout and a per-point result; --report FILE writes the verification report and --upload shows it and uploads it after confirmation. The --full-read, --device and --chassis/--firmware/--configuration options are removed: --config already covers local files, URLs and modiohub: Workspace references, and the report schema treats the environment as optional. Verification options without the verify subcommand exit 2 with a pointer to it. The catalog fetch (parse_device, fetch_catalog_model and the GitHub helpers) and its tests are deleted.
This was referenced Nov 12, 2026
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.
Summary
Maintainer review of the 2.0.0a7 surface (2026-11-12), follow-up to #132/#134:
modpoll verify --config MODEL --tcp HOSTreplaces the--full-readflag cluster. It reads every point of one Thing Model once (read-only, no retries, timeout capped at 10 s), records a per-point result, and--report FILE/--uploadkeep their meaning under it.--report/--upload/--confirm/--yes/--productnow belong to verify and are rejected elsewhere with a pointer to the command.--deviceis removed:--configalready covers local files, URLs andmodiohub:Workspace references, so the catalog fetch (parse_device,fetch_catalog_model, GitHub helpers) is deleted. Reports for local models name the product through the existing--product.--chassis/--firmware/--configurationare removed; the report schema treats the environment as optional, so reports simply omit it.Verification
make checkpasses;pytest tests -m "not integration": 235 passed, 58 deselected, including new refusal cases for every removed spelling and verify-mode option matrix.modpoll verify --config examples/modsim.tm.json --tcp ... --product acme/modsim --report report.jsonexits 0 with all 37 points ok; CSV under verify and verification flags without verify are rejected with one-line exit-code-2 errors.