Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Auto refetch run items when workflow run status has changed#1346

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vas3a merged 1 commit intodevfromauto-refetch-run-items
Nov 26, 2025

Conversation

@vas3a
Copy link
Collaborator

Related JIRA Ticket:

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

What's in this PR?

isValidating:isLoading,
}:SWRResponse<AiWorkflowRunItem[],Error>=useSWR<AiWorkflowRunItem[],Error>(
`${TC_API_BASE_URL}/workflows/${workflowId}/runs/${runId}/items`,
`${TC_API_BASE_URL}/workflows/${workflowId}/runs/${runId}/items?[${runStatus}]`,

Choose a reason for hiding this comment

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

[⚠️correctness]
The query parameter[${runStatus}] in the URL is unconventional and may lead to unexpected behavior if not handled correctly. Consider using a standard query parameter format likerunStatus=${runStatus}.

`${TC_API_BASE_URL}/workflows/${workflowId}/runs/${runId}/items`,
`${TC_API_BASE_URL}/workflows/${workflowId}/runs/${runId}/items?[${runStatus}]`,
{
fetcher:url=>xhrGetAsync(url.replace(`[${runStatus}]`,'')),

Choose a reason for hiding this comment

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

[⚠️correctness]
The use ofurl.replace([${runStatus}], '') to remove the run status from the URL is error-prone. IfrunStatus contains special characters, it might not be replaced correctly. Consider using a more robust method to construct the URL without the need for replacement.

</div>

<pclassName={styles.modelDescription}>
<divclassName={styles.modelDescription}>

Choose a reason for hiding this comment

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

[⚠️correctness]
Changing the<p> tag to a<div> tag formodelDescription might affect the semantics of the HTML. If the content is still a paragraph, consider using a<p> tag to maintain semantic correctness.

</div>
</div>
<pclassName={styles.workflowDescription}>
<divclassName={styles.workflowDescription}>

Choose a reason for hiding this comment

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

[⚠️correctness]
Changing the<p> tag to a<div> tag may affect the styling and semantics of the content. Ensure that the CSS styles and the semantic meaning of the content are preserved with this change.

@vas3avas3a merged commitfe11f1b intodevNov 26, 2025
8 checks passed
@vas3avas3a deleted the auto-refetch-run-items branchNovember 26, 2025 15:32
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@jmgasperjmgasperAwaiting requested review from jmgasperjmgasper is a code owner

@kkartunovkkartunovAwaiting requested review from kkartunovkkartunov is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@vas3a

[8]ページ先頭

©2009-2025 Movatter.jp