feat: updating minor features - #106
Conversation
|
| Filename | Overview |
|---|---|
| app/workers/tasks/process_call_import_row.py | Adds production-evaluation handoff behavior, but slot-expired tasks still bypass the cleanup needed to make pending rows dispatchable. |
| app/services/call_imports/bulk_ops.py | Adds production-transcript counting, but evaluation materialization still inserts all source rows and replaces the filtered total. |
| app/api/v1/routes/call_import_evaluations.py | Introduces production-transcript configuration, validation, counting, and response serialization across evaluation routes. |
| app/db_sharding/scatter_gather.py | Adds sharded counting support for source rows containing production transcripts. |
| frontend/src/pages/callImports/CallImportDetail.tsx | Adds transcript-source selection and associated call-import evaluation UI behavior. |
| frontend/src/pages/metrics/metricClipboardUtils.ts | Adds metric clipboard serialization and parsing utilities. |
Comments Outside Diff (2)
-
app/workers/tasks/process_call_import_row.py, line 604 (link)Expired slots skip evaluation recovery
When a production-transcript evaluation's recording import exceeds the 20-minute evaluation-slot lifetime, this guard skips task-ID cleanup and redispatch. The pending evaluation row retains its stale
celery_task_id, so fair dispatch excludes it and scoring remains stalled. -
app/services/call_imports/bulk_ops.py, line 318-319 (link)Production rows bypass transcript filtering
When a production-source evaluation contains populated and blank production transcripts,
_all_source_row_idsselects every row and this assignment replaces the filtered total with the full count. Rows without the selected transcript then enter dispatch and fail or produce unusable evaluation results.
Reviews (2): Last reviewed commit: "fix: updating test cases" | Re-trigger Greptile
What Changed?
Briefly describe what this PR changes.
Why?
Explain the problem this solves and why this approach was chosen.
How to Test?
List clear steps for reviewers to verify the change.
Release Label
Select one semantic version bump intent for this PR:
major- breaking change, next release bumps major versionminor- backward-compatible feature, next release bumps minor versionfix- backward-compatible bug fix, next release bumps patch versionIf you do not have permission to apply labels, mention the intended release label here and a maintainer will set it.
Checklist
CONTRIBUTING.mdguide.