Repository navigation
Only record and show the log in final state (#908) - #17302
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughChangesPipeline Operation Log Finalization
Estimated code review effort: 2 (Simple) | ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
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 |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
api/db/services/pipeline_operation_log_service.py (1)
38-49: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winAdd focused tests for terminal-state filtering.
Cover default and explicit status filters, enum/string inputs, empty intersections, and progress boundaries (
1,-1, and non-final values) across both creation and retrieval paths.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@api/db/services/pipeline_operation_log_service.py` around lines 38 - 49, Add focused tests for PipelineOperationLogService covering _final_operation_statuses and _is_final_progress through both creation and retrieval paths. Verify default and explicit status filters, TaskStatus enum and string inputs, empty status intersections, and progress values 1, -1, and non-final values.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@api/db/services/pipeline_operation_log_service.py`:
- Around line 38-49: Add focused tests for PipelineOperationLogService covering
_final_operation_statuses and _is_final_progress through both creation and
retrieval paths. Verify default and explicit status filters, TaskStatus enum and
string inputs, empty status intersections, and progress values 1, -1, and
non-final values.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: ce22948b-e939-4f47-8d9d-cde56729e2ab
📒 Files selected for processing (1)
api/db/services/pipeline_operation_log_service.py
No description provided.