feat(data-explore): Add new Query type for full export for simpler request validation#112953
Conversation
Backend Test FailuresFailures on
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d43ba64. Configure here.
| "status": obj.status, | ||
| "checksum": checksum, | ||
| "fileName": file_name, | ||
| "export_format": obj.export_format, |
There was a problem hiding this comment.
API response field uses inconsistent naming convention
Medium Severity
The new export_format key uses snake_case, while every other multi-word key in this serializer response uses camelCase (dateCreated, dateFinished, dateExpired, fileName). This inconsistency will be visible to API consumers and breaks the established naming convention. It likely needs to be "exportFormat" to match the rest of the response.
Reviewed by Cursor Bugbot for commit d43ba64. Configure here.
| run_sync = ( | ||
| limit is not None | ||
| and limit <= MAX_SYNC_LIMIT | ||
| and data["query_type"] == ExportQueryType.EXPLORE_STR |
There was a problem hiding this comment.
Sync execution removed for EXPLORE queries on logs
Low Severity
The run_sync condition was changed from EXPLORE_STR to only TRACE_ITEM_FULL_EXPORT_STR, which means regular EXPLORE queries on the logs dataset with a small limit no longer run synchronously. Elsewhere in this PR, when behavior was shared between the two types, both were included (e.g., feature checks, dataset validation, sort handling). This replacement instead of addition looks inconsistent with the rest of the PR's pattern.
Reviewed by Cursor Bugbot for commit d43ba64. Configure here.


Create new Query type for full export of trace items for simpler query validation.