Custom API methods should support optional version + uid preconditions
Los mantenedores suelen responder en 1 día
@abhisheksharma2411 ya está trabajando en esto.
Desde el 14/10/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- go
- Área
- api, distributed-systems
Línea de trabajo
Start by tracing the SuspendActor custom API and compare it with the existing Update API handling for optional version and UID preconditions. Define how stale calls should produce VersionConflict or NotFound, then verify that the recreated-actor scenario fails instead of mutating the replacement actor.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Update APIs support optional version + uid preconditions to avoid mutating stale objects.
Custom API methods don't have the same protections.
One concrete example is SuspendActor.
Imagine you have 2 independent operators (controllers, reconciliation loops, manually calling kubectl, etc...) called O1 and O2.
t1 - O1 reads the state of ate-demo-counter/counter1
t2 - O2 deletes ate-demo-counter/counter and recreates another actor with the same name
t3 - O1 suspends ate-demo-counter/counter1
O1 has now suspended a completely different actor, potentially running on a different worker / node. This is unlikely the desired outcome. Instead the SuspendActor call from O1 should fail with VersionConflict or NotFound.
We should allow clients to provide optional version + uid preconditions for custom APIs to avoid mutating stale objects.
- Lenguaje dominante
- Go
- Estrellas
- 5.7k
- Forks
- 612
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 555
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 agent-substrate/substrate
-
[Low] CSI plugin builds staging directories from storage_volume_id without a containment checkPosiblemente ocupada @ericcurtin la tomó hace 1 día. Abiertoarea/security kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
agent-substrate/substrate#2935 ·
Los mantenedores suelen responder en 1 día
-
[Low] CleanupSandboxState joins an unchecked id into paths it RemoveAll()sPosiblemente ocupada @ericcurtin la tomó hace 2 días. Abiertoarea/security kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agent-substrate/substrate#2932 ·
Los mantenedores suelen responder en 1 día
-
[Low] guestVolumeSource can map host paths containing ".." outside the microVM guest sharePosiblemente ocupada @jiayimeow la tomó hace 5 días. Abiertoarea/security kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
agent-substrate/substrate#2920 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Low] setupImageVolumes builds host mount paths from vol.Name without a containment checkPosiblemente ocupada @abhisheksharma2411 la tomó hace 4 días. Abiertoarea/security kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
agent-substrate/substrate#2919 ·
Los mantenedores suelen responder en 1 día
-
[Low] ate-api-server accepts client certificates chained to system roots when --pod-identity-ca-certs is unsetPosiblemente ocupada @abhisheksharma2411 la tomó hace 4 días. Abiertoarea/security kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
agent-substrate/substrate#2918 ·
Los mantenedores suelen responder en 1 día
Todos los issues de agent-substrate/substrate
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
prime-radiant-inc/evener#5028 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
[BUG] v4.2.9 PostgreSQL 启动迁移失败:DROP INDEX CURRENT_SCHEMA() 语法错误Posiblemente ocupada @renovate la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
OpenListTeam/OpenList#3267 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
'ignore' is called 'deny'Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
openpubkey/opkssh#670 ·
Los mantenedores suelen responder en 1 día