Piped v1 Cloud Run plugin panics on deployment and livestate entry points
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
- #6986 de @rootp1 — cerrado sin fusionar
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
Línea de trabajo
Comienza con pkg/app/pipedv1/plugin/cloudrun/deployment/plugin.go y pkg/app/pipedv1/plugin/cloudrun/livestate/plugin.go; después, inspecciona el registro en pkg/app/pipedv1/plugin/cloudrun/main.go. Prueba ExecuteStage, DetermineVersions, DetermineStrategy y GetLivestate mediante pruebas unitarias específicas. La tarea estará terminada cuando estos puntos de entrada ya no entren en pánico, las operaciones no compatibles devuelvan errores explícitos y las pruebas de regresión cubran cada handler.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened:
The piped v1 Cloud Run plugin exposes deployment and livestate entry points that still call panic("implement me"). Any request that reaches ExecuteStage, DetermineVersions, DetermineStrategy, or GetLivestate will crash the plugin process instead of returning a controlled error.
What you expected to happen:
Cloud Run plugin requests should either complete successfully or return an explicit error without panicking the process.
How to reproduce it:
- Open
pkg/app/pipedv1/plugin/cloudrun/deployment/plugin.goandpkg/app/pipedv1/plugin/cloudrun/livestate/plugin.go. - Inspect
Plugin.ExecuteStage,Plugin.DetermineVersions,Plugin.DetermineStrategy, andPlugin.GetLivestate. - Invoke any of those exported methods from a focused unit test or a small harness.
- Observe that the current implementation panics immediately because each method ends in
panic("implement me").
Environment:
pipedversion: repository checkout on 2026-07-07control-planeversion: repository checkout on 2026-07-07- Others: reproduced from current
mastercheckout by static inspection of the exported Cloud Run plugin handlers
Summary
The v1 Cloud Run plugin binary is registered with both deployment and livestate handlers, but several required methods are still stubbed with panics.
Affected Area
pkg/app/pipedv1/plugin/cloudrun
Steps to Reproduce
- Build or inspect the Cloud Run v1 plugin module.
- Call
ExecuteStage,DetermineVersions, orDetermineStrategyondeployment.Plugin. - Call
GetLivestateonlivestate.Plugin. - Observe process termination from
panic("implement me")instead of an error response.
Expected Behaviour
Cloud Run plugin handlers should never crash the plugin process. Unsupported behavior should be reported through explicit errors until full implementations exist.
Actual Behaviour
The exported handlers panic immediately, which can terminate the plugin process when those code paths are exercised.
Technical Evidence
pkg/app/pipedv1/plugin/cloudrun/deployment/plugin.go:51-63pkg/app/pipedv1/plugin/cloudrun/livestate/plugin.go:27-29pkg/app/pipedv1/plugin/cloudrun/main.goregisters both deployment and livestate plugins throughsdk.NewPlugin(...), so these panic paths are part of the published plugin surface.
Suspected Root Cause
The Cloud Run v1 plugin skeleton was merged before deployment and livestate handler implementations were completed.
Proposed Direction
Replace the panic stubs with explicit returned errors for unsupported operations, or gate registration of unfinished handlers until complete implementations are ready. Add regression tests covering each handler so future changes cannot reintroduce process panics.
Acceptance Criteria
- Cloud Run plugin deployment and livestate entry points no longer panic.
- Unsupported operations return explicit errors instead.
- Focused unit tests cover
ExecuteStage,DetermineVersions,DetermineStrategy, andGetLivestate.
- Lenguaje dominante
- Go
- Estrellas
- 1.4k
- Forks
- 391
- Merge medio
- 4 d 1 h
- PR fusionados (30 d)
- 58
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 pipe-cd/pipecd
-
Applications at the repository root are not triggered by new commitsPosiblemente ocupada @Daksha1611 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
-
pipedv1 kubernetes plugins ignore trafficRouting.istio.host in K8S_TRAFFIC_ROUTINGPosiblemente ocupada @Dhirenderchoudhary la tomó hoy. Abierto
Dificultad 2/5 Medio día Aptitud para principiantes 74/100
pipe-cd/pipecd#7626 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
pipectl transfer restore application drops backed-up labelsPosiblemente ocupada @bhavishyajain545 la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
pipe-cd/pipecd#7622 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 2 días
Todos los issues de pipe-cd/pipecd
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
docker-compose: postgres healthcheck should probe TCP (pg_isready -h localhost)Posiblemente ocupada @zezo-mohamed22 la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
OneBusAway/watchdog#305 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
self-care self-care:agent-discoverability
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
githubnext/gh-cao#20928 ·
Los mantenedores suelen responder en 1 día
-
automation documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
SocialGouv/iterion#3287 ·
Los mantenedores suelen responder en 1 día