Keep staging candidate integration tests on the deployment runner

Fechada
#3,869 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

@anth-volk já está trabalhando nisso.

Desde 7/10/2026.

  • #3870 de @anth-volk — aberto

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
52/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github-actions, google-cloud, python
Domínio
ci-cd, cloud

Direção de pesquisa

Start by reading the deployment workflow and its existing release tests; the issue does not name their file paths, so locate them in the repository. Trace how the tagged staging candidate is deployed, how the integration job gets its URL and staging database secret, and how downstream promotion is ordered. Add or update unit tests for the workflow ordering and dependencies; done means integration tests run in the deployment job while the listed release behavior is preserved.

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

Descrição

Deployment run https://github.com/PolicyEngine/policyengine-api/actions/runs/37626648234 failed twice because the tagged staging candidate scaled to zero while the integration job waited for a separate GitHub runner.

Cloud Run logs show that the first request then triggered a 205-253 second cold start, while the integration client stopped waiting after 90 seconds. The candidate eventually returned HTTP 200 in both attempts.

Acceptance criteria:

  • Deploy the tagged staging candidate, wait for readiness, and run the deployed integration tests in the same GitHub job.
  • Preserve the existing release tests, exact candidate URL, staging database secret, and downstream promotion ordering.
  • Do not provision new infrastructure or change staging traffic.
  • Cover the workflow ordering and dependencies with unit tests.
Linguagem predominante
Python
Estrelas
18
Forks
33
Merge médio
2d 3h
PRs com merge (30d)
72

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-api

Todas as issues de PolicyEngine/policyengine-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.