Skip to content

feat(ai-conversations): add start and end timestamp to the endpoint#107500

Merged
obostjancic merged 3 commits intomasterfrom
ognjenbostjancic/tet-1790-no-ai-spans-found-in-this-conversation
Feb 4, 2026
Merged

feat(ai-conversations): add start and end timestamp to the endpoint#107500
obostjancic merged 3 commits intomasterfrom
ognjenbostjancic/tet-1790-no-ai-spans-found-in-this-conversation

Conversation

@obostjancic
Copy link
Member

Part of: TET-1790: No AI spans found in this conversation

Returns start and end timestamp for every conversation which will then be used to query all spans in the covnersation

@linear
Copy link

linear bot commented Feb 3, 2026

@obostjancic obostjancic marked this pull request as ready for review February 4, 2026 09:07
@obostjancic obostjancic requested review from a team as code owners February 4, 2026 09:07
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

"totalCost": total_cost,
"timestamp": timestamp,
"startTimestamp": start_timestamp,
"endTimestamp": end_timestamp,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Frontend expects timestamp but API returns different fields

High Severity

The API response now returns startTimestamp and endTimestamp instead of timestamp, but the frontend Conversation interface in useConversations.tsx expects timestamp: number and the conversationsTable.tsx renders dataRow.timestamp in the "Last Message" column. This breaks the UI since timestamp will be undefined, causing the TimeSince component to fail or display incorrect data.

Fix in Cursor Fix in Web

@obostjancic obostjancic merged commit 5cad1d9 into master Feb 4, 2026
72 checks passed
@obostjancic obostjancic deleted the ognjenbostjancic/tet-1790-no-ai-spans-found-in-this-conversation branch February 4, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants