-
Notifications
You must be signed in to change notification settings - Fork 789
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show only standalone tasks in task pages #925
Show only standalone tasks in task pages #925
Conversation
…src/' <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `only_standalone_tasks` filter to task API requests in `TaskHistory`, `QueuedTasks`, and `RunningTasks`. > > - **Behavior**: > - Add `only_standalone_tasks: "true"` to API requests in `TaskHistory`, `QueuedTasks`, and `RunningTasks` to filter tasks. > - **Components**: > - `TaskHistory`: Filters completed, failed, terminated, timed out, and canceled tasks. > - `QueuedTasks`: Filters queued tasks. > - `RunningTasks`: Filters running tasks. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for c9af0ad174af6f36019d6c93f2660f2b8bc9fc1c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 38a1545 in 16 seconds
More details
- Looked at
38
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. skyvern-frontend/src/routes/tasks/running/QueuedTasks.tsx:26
- Draft comment:
Consider adding error handling for the API request to handle potential errors gracefully, similar to how it's done inTaskHistory
. This applies toRunningTasks
as well. - Reason this comment was not posted:
Confidence changes required:50%
The code in all three files is consistent with the PR description, which is to add theonly_standalone_tasks
filter to the API requests. The changes are straightforward and correctly implemented. However, there is a potential issue with error handling in theQueuedTasks
andRunningTasks
components, where errors are not handled, unlike inTaskHistory
. This could lead to unhandled promise rejections or silent failures.
2. skyvern-frontend/src/routes/tasks/running/RunningTasks.tsx:26
- Draft comment:
Consider adding error handling for the API request to handle potential errors gracefully, similar to how it's done inTaskHistory
. This applies toQueuedTasks
as well. - Reason this comment was not posted:
Confidence changes required:50%
The code in all three files is consistent with the PR description, which is to add theonly_standalone_tasks
filter to the API requests. The changes are straightforward and correctly implemented. However, there is a potential issue with error handling in theQueuedTasks
andRunningTasks
components, where errors are not handled, unlike inTaskHistory
. This could lead to unhandled promise rejections or silent failures.
Workflow ID: wflow_eQpFWFSupJ2bcK5H
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to 38a1545 in 21 seconds
More details
- Looked at
38
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. skyvern-frontend/src/routes/tasks/running/QueuedTasks.tsx:26
- Draft comment:
Consider adding error handling for the useQuery hook to manage potential API request failures. This is applicable in RunningTasks as well. - Reason this comment was not posted:
Confidence changes required:50%
The code changes are consistent with the PR description, which aims to filter tasks by standalone status. However, there is a potential issue with error handling in the QueuedTasks and RunningTasks components.
2. skyvern-frontend/src/routes/tasks/running/RunningTasks.tsx:26
- Draft comment:
Consider adding error handling for the useQuery hook to manage potential API request failures. This is applicable in QueuedTasks as well. - Reason this comment was not posted:
Confidence changes required:50%
The code changes are consistent with the PR description, which aims to filter tasks by standalone status. However, there is a potential issue with error handling in the QueuedTasks and RunningTasks components.
Workflow ID: wflow_BX11RLLEgPlvHmDE
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Add
only_standalone_tasks
filter to task API requests inTaskHistory
,QueuedTasks
, andRunningTasks
.only_standalone_tasks: "true"
to API requests inTaskHistory
,QueuedTasks
, andRunningTasks
to filter tasks.TaskHistory
: Filters completed, failed, terminated, timed out, and canceled tasks.QueuedTasks
: Filters queued tasks.RunningTasks
: Filters running tasks.This description was created by for 38a1545. It will automatically update as commits are pushed.