fix(application): Include items in run describe --format=json#437
fix(application): Include items in run describe --format=json#437olivermeyer merged 1 commit intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds items to the JSON output format of the aignostics application run describe --format=json command, providing feature parity with the text format which already displays item details.
Changes:
- Modified
run_describecommand to include items in JSON output by fetching and serializing all items fromrun.results() - Added comprehensive integration test to verify items are included in JSON output with proper structure
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/aignostics/application/_cli.py |
Modified run_describe function to fetch items via run.results() and include them in the JSON output dictionary |
tests/aignostics/application/cli_test.py |
Added integration test test_cli_run_describe_json_includes_items that mocks run and item data to verify JSON output structure |
Codecov Report✅ All modified and coverable lines are covered by tests.
|
|
🔍 PR Review Summary - APPROVED ✅PR #437: fix(application): Include items in run describe --format=json 📊 Review Results - ALL CRITICAL CHECKS PASSED✅ Test Markers - All tests properly marked with @pytest.mark.integration 🎯 What This PR DoesProblem Fixed: The aignostics application run describe --format=json command was missing the items array in its output, making it difficult to inspect run results programmatically. Solution: Modified src/aignostics/application/_cli.py to include items by calling run.results() and serializing them to JSON. Test Coverage: Added comprehensive integration test test_cli_run_describe_json_includes_items that verifies the items array is present and correctly formatted. 📝 Detailed Findings✅ Strengths
|



No description provided.