[BUG] Restarting a run leaves GcpInstance, so CI never re-queues it
メンテナーはふだん 6 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 30/100
調査の方向性
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
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CCExtractor/sample-platform のほかの issue
-
[BUG] Completed and canceled progress states are not treated as terminal対応中かも @NaitikVerma6776 が 31 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
CCExtractor/sample-platform#1194 · コメント 1 件 ·
メンテナーはふだん 6 日以内に返信
-
[BUG] Missing timeouts on 5 outbound HTTP calls outside mod_ci (follow-up to #943)対応中かも @devnishantt が 12 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 84/100
CCExtractor/sample-platform#1192 · コメント 1 件 ·
メンテナーはふだん 6 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
CCExtractor/sample-platform#1082 · コメント 1 件 ·
メンテナーはふだん 6 日以内に返信
-
[Feature Request] Improve comparison algorithm to handle frame offsets intelligently (GSoC Qualification)対応中かも @DYHARDx が 198 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
CCExtractor/sample-platform#1079 ·
メンテナーはふだん 6 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
CCExtractor/sample-platform#1062 · コメント 2 件 ·
メンテナーはふだん 6 日以内に返信
CCExtractor/sample-platform の issue をすべて見る
似ている issue
-
docs pydanty:is-working
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pydantic/pydantic-ai#10113 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
GreedyBear-Project/GreedyBear#1727 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ARM-software/CMSIS-DSP#354 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
kiat/codeAssist#391 ·
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
darnitdevorg/darnit#587 ·
メンテナーはふだん 1 日以内に返信