Skip to content

Conversation

@vas3a
Copy link
Collaborator

@vas3a vas3a commented Nov 26, 2025

Related JIRA Ticket:

https://topcoder.atlassian.net/browse/

What's in this PR?

isValidating: isLoading,
}: SWRResponse<AiWorkflowRun[], Error> = useSWR<AiWorkflowRun[], Error>(
`${TC_API_BASE_URL}/workflows/${workflowIds.join(',')}/runs?submissionId=${submissionId}`,
`${TC_API_BASE_URL}/workflows/runs?submissionId=${submissionId}`,

Choose a reason for hiding this comment

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

[❗❗ correctness]
The new endpoint ${TC_API_BASE_URL}/workflows/runs?submissionId=${submissionId} does not include workflowIds in the URL. Ensure that the backend supports fetching runs for multiple workflows without specifying their IDs, or this change may lead to incorrect data being fetched.

@vas3a vas3a merged commit 2b72d9a into dev Nov 26, 2025
8 checks passed
@vas3a vas3a deleted the use-new-workflows-runs-endpoint branch November 26, 2025 10:34
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.

3 participants