Cover three deploy-test gaps the #744 review found

Ouverte
#800 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
40/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
github-actions, python, shell
Domaine
ci-cd, testing

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Python
Étoiles
1
Forks
1
Merge moyen
1 j 12 h
PR mergées (30 j)
71

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de PolicyEngine/policyengine-sim-api

Toutes les issues de PolicyEngine/policyengine-sim-api

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.