Add zod validation for Trino, auth and query settings
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 56/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- backend
Línea de trabajo
Start by locating where STACKABLE_COCKPIT_QUERY_TTL, STACKABLE_COCKPIT_TRINO_AUTH_TYPE, STACKABLE_COCKPIT_TRINO_TLS_INSECURE, and STACKABLE_COCKPIT_TRINO_USER_IMPERSONATION are read and how nearby settings are validated. Check the project’s existing validation approach and related tests before making changes. Done means invalid values for these settings produce clear validation errors instead of silently falling back; add or update tests for the examples in the issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Trino, auth and query settings still fall back silently on invalid input.
Examples: STACKABLE_COCKPIT_QUERY_TTL uses Number(...) || 1800, STACKABLE_COCKPIT_TRINO_AUTH_TYPE is an unchecked type cast, and STACKABLE_COCKPIT_TRINO_TLS_INSECURE / STACKABLE_COCKPIT_TRINO_USER_IMPERSONATION treat any unexpected value as a default. A typo in these values therefore changes behaviour without any error, which for TLS verification and impersonation is a security concern.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 6 d 7 h
- PR fusionados (30 d)
- 22
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de stackabletech/cockpit
-
Uploads greater then 6MiB failAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
stackabletech/cockpit#385 ·
Los mantenedores suelen responder en 2 días
-
Review existing a11y testsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
stackabletech/cockpit#398 ·
Los mantenedores suelen responder en 2 días
-
Add Trino testcontainerAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
stackabletech/cockpit#396 ·
Los mantenedores suelen responder en 2 días
-
Review session timingAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 53/100
stackabletech/cockpit#394 ·
Los mantenedores suelen responder en 2 días
-
Reduce number of e2e testAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
stackabletech/cockpit#391 ·
Los mantenedores suelen responder en 2 días
Todos los issues de stackabletech/cockpit
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
awslabs/visual-asset-management-system#804 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
restatedev/sdk-typescript#813 ·
-
bug desktop P1 session XS
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Merit-Systems/x402scan#1312 ·
-
type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Azure/apiops-cli#331 ·
Los mantenedores suelen responder en 3 días