Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Remove superseded Cloud Run simulation entry revisions

Abierto
#722 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
52/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
gcp, python
Área
cloud, devops, release

Línea de trabajo

Start by locating the deployment workflow for the simulation entry service and its Cloud Run promotion steps. Trace how production candidates become stable and where staging deployments diverge, then add focused automated tests for the cleanup conditions. Done means failed or unpromoted deployments leave revisions untouched, while a successful promotion retains only the active revision and removes older tags and revisions.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Problem

Each successful deployment of the simulation entry service creates a new Cloud Run revision, but the deployment workflow does not remove superseded revisions. These inactive revisions accumulate after subsequent production deployments.

Proposed change

  • Run cleanup after a production candidate completes the deployment workflow and is promoted to stable traffic.
  • Verify that the exact revision produced by the workflow is Ready and is the sole revision receiving 100% of service traffic.
  • Remove traffic tags that reference older revisions.
  • Delete every older revision while retaining the promoted revision.
  • Skip cleanup for staging deployments that do not promote their candidate.

Acceptance criteria

  • Failed or incomplete deployments cannot delete revisions.
  • Unpromoted staging deployments do not run cleanup.
  • A successful promoted deployment leaves only its active Cloud Run revision.
  • The cleanup behavior has focused automated tests.
Lenguaje dominante
Python
Estrellas
1
Forks
1
Merge medio
22 h 18 min
PR fusionados (30 d)
21

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PolicyEngine/policyengine-sim-api

Todos los issues de PolicyEngine/policyengine-sim-api

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.