Skip to content

DRAFT: Keycloak initial changes #19439

DRAFT: Keycloak initial changes

DRAFT: Keycloak initial changes #19439

Triggered via pull request January 20, 2025 02:32
Status Failure
Total duration 55s
Artifacts

lint.yml

on: pull_request
Lint frontend
33s
Lint frontend
Lint python
43s
Lint python
Check version consistency
7s
Check version consistency
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Lint frontend: frontend/src/api/open-hands-axios.ts#L50
Replace `'object'` with `"object"`
Lint frontend: frontend/src/api/open-hands-axios.ts#L62
Replace ``Openhands·API·call·response·to·${response.request.responseURL}\n·${JSON.stringify(parsedData)}`)` with `⏎········`Openhands·API·call·response·to·${response.request.responseURL}\n·${JSON.stringify(parsedData)}`,⏎······);`
Lint frontend: frontend/src/api/open-hands-axios.ts#L92
Replace `·openHands.defaults.headers.common["X-GitHub-Token"]` with `⏎··············openHands.defaults.headers.common["X-GitHub-Token"];`
Lint frontend: frontend/src/api/open-hands.ts#L162
Replace `·keycloakAccessToken:·string;·providerAccessToken:·string;·keycloakUserId:·string·}>·` with `⏎····keycloakAccessToken:·string;⏎····providerAccessToken:·string;⏎····keycloakUserId:·string;⏎··}>`
Lint frontend: frontend/src/api/open-hands.ts#L163
Replace `·return·{·keycloakAccessToken:·"",·providerAccessToken:·"",·keycloakUserId:·""` with `⏎······return·{⏎········keycloakAccessToken:·"",⏎········providerAccessToken:·"",⏎········keycloakUserId:·"",⏎·····`
Check version consistency
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/api/open-hands-axios.ts#L7
Unexpected console statement
Lint frontend: frontend/src/api/open-hands-axios.ts#L12
Unexpected console statement
Lint frontend: frontend/src/api/open-hands-axios.ts#L17
Unexpected console statement
Lint frontend: frontend/src/api/open-hands-axios.ts#L24
Unexpected console statement
Lint frontend: frontend/src/api/open-hands-axios.ts#L62
Unexpected console statement
Lint frontend: frontend/src/api/open-hands.ts#L207
Unexpected console statement
Lint frontend: frontend/src/components/features/sidebar/sidebar.tsx#L63
Unexpected console statement
Lint frontend: frontend/src/context/auth-context.tsx#L41
Unexpected console statement
Lint frontend: frontend/src/context/auth-context.tsx#L54
Unexpected console statement
Lint frontend: frontend/src/context/auth-context.tsx#L69
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