Skip to content
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

feat(issue-search): Add group_first_release_id to GroupAttributes processor #5987

Merged
merged 9 commits into from
Jun 11, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ schema:
{ name: group_status, type: UInt, args: { size: 8 } },
{ name: group_substatus, type: UInt, args: { size: 8, schema_modifiers: [ nullable ] } },
{ name: group_priority, type: UInt, args: { size: 8, schema_modifiers: [ nullable ] } },
{ name: group_first_release_id, type: UUID, args: { schema_modifiers: [ nullable ] } },
{ name: group_first_seen, type: DateTime },
{ name: group_num_comments, type: UInt, args: { size: 64 } },

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ schema:
{ name: group_status, type: UInt, args: { size: 8 } },
{ name: group_substatus, type: UInt, args: { size: 8, schema_modifiers: [ nullable ] } },
{ name: group_priority, type: UInt, args: { size: 8, schema_modifiers: [ nullable ] } },
{ name: group_first_release_id, type: UUID, args: { schema_modifiers: [ nullable ] } },
{ name: group_first_seen, type: DateTime },
{ name: group_num_comments, type: UInt, args: { size: 64 } },

Expand Down
1 change: 1 addition & 0 deletions snuba/datasets/processors/group_attributes_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def process_message(
"group_status": message["status"],
"group_substatus": message["substatus"],
"group_priority": message.get("priority", None),
"group_first_release_id": message.get("first_release_id", None),
"group_first_seen": datetime.strptime(
message["first_seen"], settings.PAYLOAD_DATETIME_FORMAT
),
Expand Down
Loading