Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[BUG] Restarting a run leaves GcpInstance, so CI never re-queues it

Abierto
#1,224 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 6 días

@NaitikVerma6776 ya está trabajando en esto.

Desde el 4/10/2026.

  • #1225 de @NaitikVerma6776 — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
gcp, python
Área
backend

Línea de trabajo

Read the restart_run API endpoint and the restart_test UI path — both clear TestProgress/results but leave the GcpInstance row behind. Then look at the gcp_instance / start_test logic that skips any test already holding a GcpInstance, and confirm that is why cron never re-queues after a restart. The fix is deleting GcpInstance rows for the test_id in both restart paths, with regression tests covering restart on API and UI when an instance row exists. Note an open linked pull request (#1225) already addresses this, so coordinate before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Description

restart_run (API) and restart_test (UI) clear TestProgress / results so the run looks pending again. They do not delete the GcpInstance row.

gcp_instance / start_test treat any test with a GcpInstance as already running and skip it. After restarting a running or stuck run, cron therefore never starts a new VM.

Expected

Restart clears the instance reservation so the same test id can be picked up again. The old VM, if still present, becomes orphaned and can be cleaned up by the existing orphan scanner.

Actual

The GcpInstance row stays. start_test logs that the test already has a GCP instance and skips starting it.

Fix

Delete GcpInstance rows for that test_id in both restart paths.

Tests

Regression coverage on API and UI restart when an instance row exists.

Lenguaje dominante
Python
Estrellas
30
Forks
87
Merge medio
5 d 8 h
PR fusionados (30 d)
17

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CCExtractor/sample-platform

Todos los issues de CCExtractor/sample-platform

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.