[COVI-10] Expose conversation metric outputs in the CLI#93
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
WalkthroughConversation listing now supports an optional metric ID that requests full metric outputs. The client adds the required query parameters, and the conversation model deserializes optional metric output data. The CLI conditionally uses the new client method while preserving standard listing behavior. A CLI test verifies pagination, query parameters, and nested metric output fields. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR exposes conversation metric outputs through the conversations list command. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Reviews (2): Last reviewed commit: "Expose conversation metric outputs in CL..." | Re-trigger Greptile |
Summary
--include-metric-outputs <METRIC_ID>tocoval conversations listinclude=metric_outputs&metric_id=...API contract while preserving list filters, ordering, and page sizeresult.raw_values, into the conversation JSON responsefailure-breakdowncommand and response models so aggregation semantics stay in consumers such as CoviExample
Use normal list filters and pagination to retrieve additional pages.
Validation
cargo test: 97 CLI tests + 2 unit tests passedcargo clippy --all-targets --all-features -- -D warningspassedcargo fmt --checkpassedDependency