-
Notifications
You must be signed in to change notification settings - Fork 836
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
Add job agent #1672
Add job agent #1672
Conversation
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add job application agent with new page, file upload, and run history tracking, updating navigation and environment configurations. > > - **New Features**: > - Add `JobsPage` in `router.tsx` for job applications, allowing users to upload resumes and submit job URLs. > - Implement `JobAgentFileUpload` for handling file uploads with a 10MB limit. > - Add `JobsRunHistory` to track job application runs. > - **Routing and Navigation**: > - Update `SideNav.tsx` to enable the "Jobs" link. > - Replace `ComingSoonPage` with `JobsPage` in `router.tsx`. > - **Environment and Configuration**: > - Add `JOB_APPLICATION_WORKFLOW_WPID` to `constants.ts` for workflow identification. > - Introduce `globalWorkflowIds` in `env.ts` to manage global workflows. > - **Miscellaneous**: > - Remove unused `statusDropdownItems` in `FormsRunHistory.tsx`. > - Update `FileUpload.tsx` to include new icons and reset functionality. > > <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 686cd8507f941cd7eba78fa8c9956f8123269cf3. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
…src/' <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add job application agent with new page, file upload, and run history tracking, updating navigation and environment configurations. > > - **New Features**: > - Add `JobsPage` in `router.tsx` for job applications, allowing users to upload resumes and submit job URLs. > - Implement `JobAgentFileUpload` for handling file uploads with a 10MB limit. > - Add `JobsRunHistory` to track job application runs. > - **Routing and Navigation**: > - Update `SideNav.tsx` to enable the "Jobs" link. > - Replace `ComingSoonPage` with `JobsPage` in `router.tsx`. > - **Environment and Configuration**: > - Add `JOB_APPLICATION_WORKFLOW_WPID` to `constants.ts` for workflow identification. > - Introduce `globalWorkflowIds` in `env.ts` to manage global workflows. > - **Miscellaneous**: > - Remove unused `statusDropdownItems` in `FormsRunHistory.tsx`. > - Update `FileUpload.tsx` to include new icons and reset functionality. > > <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 686cd8507f941cd7eba78fa8c9956f8123269cf3. 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 77908a2 in 13 seconds
More details
- Looked at
236
lines of code in7
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern-frontend/src/util/env.ts:36
- Draft comment:
Consider logging a warning when JSON parsing fails ingetGlobalWorkflowIds
to aid in debugging. - Reason this comment was not posted:
Confidence changes required:50%
The code ingetGlobalWorkflowIds
function is parsing a JSON string from an environment variable. If the parsing fails, it returns an empty array, which is a safe fallback. However, it would be beneficial to log a warning when the parsing fails to help with debugging.
Workflow ID: wflow_4FOghNR9Lfivt9XC
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 77908a2 in 1 minute and 20 seconds
More details
- Looked at
266
lines of code in8
files - Skipped
0
files when reviewing. - Skipped posting
7
drafted comments based on config settings.
1. skyvern-frontend/src/components/FileUpload.tsx:115
- Draft comment:
Redundant comment:// redundant check for ts compiler
can be removed for clarity. - Reason this comment was not posted:
Confidence changes required:10%
The code inskyvern-frontend/src/components/FileUpload.tsx
has a redundant comment that can be removed for clarity.
2. skyvern-frontend/src/routes/workflows/WorkflowPage.tsx:53
- Draft comment:
Consider refactoring theisGlobalWorkflow
check into a utility function as it is repeated in multiple files. - Reason this comment was not posted:
Confidence changes required:30%
The code inskyvern-frontend/src/routes/workflows/WorkflowPage.tsx
has a potential issue with theisGlobalWorkflow
check. It is repeated in multiple files and can be refactored into a utility function for better maintainability.
3. skyvern-frontend/src/routes/workflows/hooks/useWorkflowQuery.ts:17
- Draft comment:
Consider refactoring theisGlobalWorkflow
check into a utility function as it is repeated in multiple files. - Reason this comment was not posted:
Confidence changes required:30%
The code inskyvern-frontend/src/routes/workflows/hooks/useWorkflowQuery.ts
has a potential issue with theisGlobalWorkflow
check. It is repeated in multiple files and can be refactored into a utility function for better maintainability.
4. skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunQuery.ts:20
- Draft comment:
Consider refactoring theisGlobalWorkflow
check into a utility function as it is repeated in multiple files. - Reason this comment was not posted:
Confidence changes required:30%
The code inskyvern-frontend/src/routes/workflows/hooks/useWorkflowRunQuery.ts
has a potential issue with theisGlobalWorkflow
check. It is repeated in multiple files and can be refactored into a utility function for better maintainability.
5. skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunTimelineQuery.ts:19
- Draft comment:
Consider refactoring theisGlobalWorkflow
check into a utility function as it is repeated in multiple files. - Reason this comment was not posted:
Confidence changes required:30%
The code inskyvern-frontend/src/routes/workflows/hooks/useWorkflowRunTimelineQuery.ts
has a potential issue with theisGlobalWorkflow
check. It is repeated in multiple files and can be refactored into a utility function for better maintainability.
6. skyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx:34
- Draft comment:
Consider refactoring theisGlobalWorkflow
check into a utility function as it is repeated in multiple files. - Reason this comment was not posted:
Confidence changes required:30%
The code inskyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx
has a potential issue with theisGlobalWorkflow
check. It is repeated in multiple files and can be refactored into a utility function for better maintainability.
7. skyvern/forge/sdk/workflow/models/block.py:2106
- Draft comment:
Remove or address the commented-out section in theexecute
function if not needed. - Reason this comment was not posted:
Confidence changes required:20%
Inskyvern/forge/sdk/workflow/models/block.py
, theexecute
function in theTaskV2Block
class has a redundant commented-out section that should be removed or addressed if not needed.
Workflow ID: wflow_IOeKozrQadeilnal
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! Incremental review on 66d2a21 in 26 seconds
More details
- Looked at
30
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern/forge/sdk/workflow/models/block.py:52
- Draft comment:
ProxyLocation
is still used in the code but has been removed from the imports. Re-add the import statement forProxyLocation
. - Reason this comment was not posted:
Comment looked like it was already resolved.
Workflow ID: wflow_p9x7oDl7qzXiPAeg
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Adds global workflow handling by checking against
globalWorkflowIds
and updates UI components for better file management.globalWorkflowIds
inenv.ts
to manage global workflows.WorkflowPage.tsx
,WorkflowHeader.tsx
,useWorkflowQuery.ts
,useWorkflowRunQuery.ts
, anduseWorkflowRunTimelineQuery.ts
.template=true
parameter for global workflows in API requests.WorkflowHeader.tsx
for global workflows.Cross2Icon
andFileIcon
toFileUpload.tsx
for better file management UI.FileUpload.tsx
for improved user experience.This description was created by for 66d2a21. It will automatically update as commits are pushed.