Integrate kube-api-linter (KAL) for Kubernetes API type validation in feast-operator
Los mantenedores suelen responder en 1 día
@yash2189 ya está trabajando en esto.
Desde el 6/3/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
The feast-operator defines custom Kubernetes API types (FeatureStore CRD) in infra/feast-operator/api/v1/ and infra/feast-operator/api/v1alpha1/, but currently does not lint these types against the Kubernetes API Conventions. The kube-api-linter (KAL) from kubernetes-sigs can catch common mistakes and enforce best practices for Kubernetes API types automatically.
The feast-operator already uses golangci-lint (configured in infra/feast-operator/.golangci.yml), but none of the enabled linters are specific to Kubernetes API conventions.
KAL checks for issues like:
- Required/optional field markers
- Status subresource conventions
- Condition and phase best practices
- Proper use of metav1.Condition types
- JSON tag and marker validation
Integrating KAL would catch API design issues early and reduce the manual review burden for API changes.
Proposed Changes
- Add kube-api-linter as a golangci-lint module or plugin in the feast-operator.
- Create a .custom-gcl.yml configuration to build a custom golangci-lint binary with KAL included.
- Update infra/feast-operator/.golangci.yml to enable and configure kubeapilinter, scoped to the api/ directory.
- Fix any existing violations surfaced by the linter.
- Integrate the linter into CI to prevent future regressions.
References
kube-api-linter repository: https://github.com/kubernetes-sigs/kube-api-linter
- Lenguaje dominante
- Python
- Estrellas
- 7.4k
- Forks
- 1.5k
- Merge medio
- 2 d 6 h
- PR fusionados (30 d)
- 107
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 feast-dev/feast
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
BigQuery data quality monitoring fails: PRIMARY KEY placed outside the column list in monitoring table DDLPosiblemente ocupada @liron-velocity la tomó hace 50 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
get_online_features silently drops a join key value when it shares a name with an OnDemandFeatureView's RequestSource fieldPosiblemente ocupada @OHMFOHS la tomó hace 99 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
kind/bug priority/p2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
feast-dev/feast#6778 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de feast-dev/feast
Issues similares
-
Public benchmark import end-to-end test fails when the test stack's worker runs the parity jobAbiertoaccepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
future-agi/future-agi#6392 ·
Los mantenedores suelen responder en 1 día
-
memmapped_arange ignores the start value and drops the last point above the memmap thresholdPosiblemente ocupada @prathameshfuke la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
StingraySoftware/HENDRICS#213 ·
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día