Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#1,224 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

@NaitikVerma6776 がすでに取り組んでいます。

2026年10月4日 から。

  • #1225 @NaitikVerma6776 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
gcp, python
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
30
フォーク
87
平均マージ
4日 9時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CCExtractor/sample-platform のほかの issue

CCExtractor/sample-platform の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。