Skip to content

[SCAL-347790] Support CreateConversation for SpotterX - #230

Merged
Rifdhan merged 1 commit into
mainfrom
SCAL-347790-support-spotterx-create-conversation
Nov 7, 2026
Merged

Rifdhan merged 1 commit into
mainfrom
SCAL-347790-support-spotterx-create-conversation

Conversation

@Rifdhan

@Rifdhan Rifdhan commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator
  • Detect Spotter version and use the appropriate handling for CreateAnalysisSession tool call
  • Plumb through existing client code to make SpotterX API call
  • Parse and send dashboard_id if present for SpotterX
  • Update thoughtspot-client to take and provide additional props required for SpotterX (tenantId, orgId, userId)
  • Rename a few utils in event stream processing logic to prepare for SpotterX variant in the next change
  • Add and update test coverage

@Rifdhan
Rifdhan requested review from a team and mouryab as code owners November 6, 2026 01:25

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the ThoughtSpot client and service layers to support SpotterX routing and liveboard context scoping. Key changes include replacing the getThoughtSpotClient helper with direct ThoughtSpotClient instantiation, updating ClientContext to require tenantId, orgId, and userId, renaming Spotter 3 methods and event stream processors, and implementing createSpotterXConversation with routing logic in callCreateAnalysisSession. I have no feedback to provide as there are no review comments.

- Detect Spotter version and use the appropriate handling for
  CreateAnalysisSession tool call
- Plumb through existing client code to make SpotterX API call
- Parse and send dashboard_id if present for SpotterX
- Update thoughtspot-client to take and provide additional props
  required for SpotterX (tenantId, orgId, userId)
- Rename a few utils in event stream processing logic to prepare
  for SpotterX variant in the next change
- Add and update test coverage
@Rifdhan
Rifdhan force-pushed the SCAL-347790-support-spotterx-create-conversation branch from d9111e6 to 10e13ed Compare November 6, 2026 18:47
@Rifdhan
Rifdhan merged commit 820bf16 into main Nov 7, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants