Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Remove superseded Cloud Run simulation entry revisions

Aperta
#722 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
gcp, python
Ambito
cloud, devops, release

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Python
Stelle
1
Fork
1
Merge medio
1g 32m
PR unite (30g)
18

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PolicyEngine/policyengine-sim-api

Tutte le issue di PolicyEngine/policyengine-sim-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.