Skip to content

refactor: move session initialization from WebSocket to REST API #16546

refactor: move session initialization from WebSocket to REST API

refactor: move session initialization from WebSocket to REST API #16546

Triggered via pull request December 9, 2024 22:40
Status Failure
Total duration 55s
Artifacts

lint.yml

on: pull_request
Lint frontend
30s
Lint frontend
Lint python
45s
Lint python
Fit to window
Zoom out
Zoom in

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/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#L94
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