Cover three deploy-test gaps the #744 review found

Aberta
#800 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
40/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github-actions, python, shell
Domínio
ci-cd, testing

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
1
Forks
1
Merge médio
1d 12h
PRs com merge (30d)
71

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de PolicyEngine/policyengine-sim-api

Todas as issues de PolicyEngine/policyengine-sim-api

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.