TestReconcile_LicenseRotationUploadsNewSecretValue fails at -count=3 (reuses a control plane name)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
調査の方向性
失敗しているテストは、internal/controller/codercontrolplane_controller_test.go の895行目にある TestReconcile_LicenseRotationUploadsNewSecretValue です。まず、このテストが CoderControlPlane にどのような名前を付けているか、そしてそのクリーンアップが envtest 内でそのオブジェクトをどのように削除しているかを読んでください。GOFLAGS=-mod=vendor go test ./internal/controller/ -run 'TestReconcile_LicenseRotationUploadsNewSecretValue$' -count=3 で再現します。繰り返し実行がすべて成功すれば完了です。名前の修正や削除完了の待機処理の修正によって、テストのアサーションを変更しないでください。
索引モデルが issue の本文から書いたものです。
説明
Summary
TestReconcile_LicenseRotationUploadsNewSecretValue (internal/controller/codercontrolplane_controller_test.go:895) fails when run with -count=3. It reuses a fixed CoderControlPlane name, and a later run starts before envtest has removed the object from the earlier run.
Reproduce
GOFLAGS=-mod=vendor go test ./internal/controller/ -run 'TestReconcile_LicenseRotationUploadsNewSecretValue$' -count=3
The #156 worker reported this while it ran repeated tests for #316. I did not reproduce it myself.
Fix
Give each run a unique name (for example a suffix from t.Name() plus a counter or random string), or wait until the object is gone in cleanup. CI runs each test once, so CI is not affected today.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: medium
- 主要言語
- Go
- スター
- 5
- フォーク
- 3
- 平均マージ
- 3時間
- マージ済み PR(30日)
- 192
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/coder-k8s のほかの issue
-
CoderWorkspacePoolMember checkCreate: trust only Coder's own 404 on the name lookup (before PR 12)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
CoderMCPServer Kind E2E follow-ups対応中かも @ThomasK33 が 5 日前に担当しました。 オープン
coder/coder-k8s#390 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
CoderMCPServer delete and RBAC test follow-ups対応中かも @ThomasK33 が 5 日前に担当しました。 オープン
coder/coder-k8s#378 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Ownership proof for Coder IDs recorded in controller status (D11 B)対応中かも @ThomasK33 が 5 日前に担当しました。 オープン
coder/coder-k8s#372 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Namespace deletion leaves AI Gateway keys and AI providers in Coder対応中かも @ThomasK33 が 5 日前に担当しました。 オープン
coder/coder-k8s#353 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
coder/coder-k8s の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/rocketmq-dashboard#7243 ·
メンテナーはふだん 3 日以内に返信
-
Missing example coverage: getClock対応中かも @camunda-sdk-automation が今日担当しました。 オープンnew-operations
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
camunda/orchestration-cluster-api-go#75 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[schema-coverage] elasticstack_kibana_security_entity_store_status対応中かも @github-actions が今日担当しました。 オープンacceptance-tests phase-coding schema-coverage testing triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
elastic/terraform-provider-elasticstack#5396 ·
メンテナーはふだん 1 日以内に返信
-
Go device SDK: Whisper transcriber keeps buffering and transcribing audio appended after Stop()対応中かも @apoorvdarshan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BasedHardware/omi#22770 ·
メンテナーはふだん 1 日以内に返信
-
Bug v3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信