Cover three deploy-test gaps the #744 review found

Aperta
#800 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
40/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python, shell
Ambito
ci-cd, testing

Direzione di ricerca

Three separate gaps touch test_deployment_assets.py, test_routing_workflow_invariants.py and test_release_sentinel.py; start with the finalizer step in the deploy workflow and the sentinel reform constant. Each listed mutation (finalizer if: change, removed Modal credential, quoted or builtin MODAL_ENVIRONMENT override, 0.21 to 0.20 reform) should make a test fail when done. The referenced review file is outside the repo, so the issue text is the only spec.

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

Descrizione

The round-7 independent review of #744 approved the release journal and finalizer. It found three low-severity gaps in test coverage; the current wiring is correct in each case.

  1. Finalizer scheduling and credentials (test_deployment_assets.py). Each of these mutations survives all 239 workflow tests, and each could leave a publication journal pending:

    • adding if: failure() or if: !cancelled() to the finalizer step;
    • removing either Modal credential.

    Test the step's scheduling and its credential bindings.

  2. Quoted and builtin environment overrides (test_routing_workflow_invariants.py). export MODAL_"ENVIRONMENT"=main and read -r MODAL_ENVIRONMENT <<<main both change staging to main, and both survive. Normalize shell quoting and builtin flags, or reject these forms.

  3. Sentinel reform pin (test_release_sentinel.py). Changing the sentinel reform from 0.21 to 0.20 survives all 48 sentinel tests. Pin the reform and its date independently, or assert a non-zero expected impact.

Review: ~/reviews/w4-budget-ci-2026-10-11/simapi744-round7-sol.md.

Lingua principale
Python
Stelle
1
Fork
1
Merge medio
1g 12h
PR unite (30g)
71

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.