sandbox-policy status: NotReady over Unknown, and no heal on an unreadable counter
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start with the Ready status logic in status.go:238-243 and the heal interval handling in nodeowner.go:361. Read the tests around those paths and the #1067 → #1075 stack context before changing behavior. Add coverage for an unreadable counter with an over-threshold rate, and for witness-only versus node-fault errors; done when both fixes and tests are included after the stack merges.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up from the review of #1073 (two lows, kept out of the stack).
1. NotReady should win over Unknown
When a witness counter cannot be read, Ready stays Unknown (reason WitnessUnknown) even if the fail-closed rate is over the NotReady threshold (status.go:238-243): the rate check runs only when Ready would be True. The rate shows in Degraded, but not in Ready.
A rate over the threshold is a known problem. Unknown should mean "nothing known is wrong, but a counter is unreadable".
Fix: evaluate the fail-closed rate first; report NotReady when it is over the threshold, and Unknown only otherwise. One test with an unreadable counter and a rate over the threshold.
2. Heals on an unreadable counter
A health error that is only an unreadable counter starts a heal. When the unreadable slot counter sits next to node faults, the error matches ErrNodeFaultsOnly and waits the 10-minute node interval (nodeowner.go:361).
An unreadable counter is not a fault that a heal clears; it is already reported as Unknown.
Fix: no heal for a witness-only error. Use the 10-minute node interval only when every leaf of the error is a node fault. Tests for both cases.
Done when
- Both changes are in, with tests, after the #1067 → #1075 stack merges.
- Lenguaje dominante
- Go
- Estrellas
- 39
- Forks
- 42
- Merge medio
- 2 d 16 h
- PR fusionados (30 d)
- 48
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 kubescape/node-agent
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
kubescape/node-agent#1112 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
kubescape/node-agent#1108 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
kubescape/node-agent#1107 ·
Los mantenedores suelen responder en 1 día
-
sandboxpolicy: one shared identity table for all enforcement sections (latch the class at exec)Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
kubescape/node-agent#1106 ·
Los mantenedores suelen responder en 1 día
-
Upgrade Inspektor Gadget to v0.57.0 via kubescape fork and preserve exec/path semanticsPosiblemente ocupada @ANAMASGARD la tomó hace 23 días. Abiertoenhancement
kubescape/node-agent#1050 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de kubescape/node-agent
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
needs discussion
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openfga/openfga.dev#1436 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
都道府県を指定すると区名から始まる住所に市名を補わないAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
digital-go-jp/abr-geocoder#457 ·
Los mantenedores suelen responder en 3 días
-
benchmark
Dificultad 1/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 77/100
mozilla-ai/cq#601 ·
Los mantenedores suelen responder en 1 día