refactor: move session initialization from WebSocket to REST API #16549
lint.yml
on: pull_request
Lint frontend
32s
Lint python
39s
Annotations
11 errors and 3 warnings
Lint frontend:
frontend/src/api/open-hands.ts#L171
Replace `⏎······await·openHands.get<GetVSCodeUrlResponse>(`/api/conversation/${convoId}/vscode-url`` with `·await·openHands.get<GetVSCodeUrlResponse>(⏎······`/api/conversation/${convoId}/vscode-url`,⏎····`
|
Lint frontend:
frontend/src/components/shared/task-form.tsx#L88
Replace `'.'` with `"."`
|
Lint frontend:
frontend/src/context/conversation-context.tsx#L13
Replace `·children·}:·{·children:·React.ReactNode·` with `⏎··children,⏎}:·{⏎··children:·React.ReactNode;⏎`
|
Lint frontend:
frontend/src/context/conversation-context.tsx#L14
Replace `null` with `⏎····null,⏎··`
|
Lint frontend:
frontend/src/context/conversation-context.tsx#L17
The object passed as the value prop to the Context provider (at line 17) changes every render. To fix this consider wrapping it in a useMemo hook
|
Lint frontend:
frontend/src/context/conversation-context.tsx#L26
Replace `"useConversation·must·be·used·within·a·ConversationProvider"` with `⏎······"useConversation·must·be·used·within·a·ConversationProvider",⏎····`
|
|
Lint frontend:
frontend/src/context/ws-client-provider.tsx#L5
'ActionType' is defined but never used
|
Lint frontend:
frontend/src/context/ws-client-provider.tsx#L10
'OpenHands' is defined but never used
|
Lint frontend:
frontend/src/context/ws-client-provider.tsx#L53
'settings' is defined but never used
|
Lint python
Process completed with exit code 1.
|
Lint frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint frontend:
frontend/src/components/shared/task-form.tsx#L101
Unexpected console statement
|
Lint python
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|