-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
fix(ci): Update tests to seed the correct column for ai_conversations #120608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3434,10 +3434,13 @@ def span_to_trace_item(span) -> TraceItem: | |
|
|
||
| timestamp.FromMilliseconds(span["start_timestamp_ms"]) | ||
|
|
||
| if "gen_ai.conversation.id" in span.get("data", {}) and "ai_conversation_id" not in span: | ||
| assert False, "gen_ai.conversation.id is deprecated. Use the newer indexed on instead." | ||
| return TraceItem( | ||
| organization_id=span["organization_id"], | ||
| project_id=span["project_id"], | ||
| item_type=TraceItemType.TRACE_ITEM_TYPE_SPAN, | ||
| conversation_id=span.get("ai_conversation_id", ""), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Test helper mismatches production pathMedium Severity
Additional Locations (1)Reviewed by Cursor Bugbot for commit e7ce3a1. Configure here.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it the proper name for the attribute?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I was gonna raise this once I got everything else working. On the protobuf side |
||
| timestamp=timestamp, | ||
| trace_id=span["trace_id"], | ||
| item_id=hex_to_item_id(span["span_id"]), | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.