ateapi: set actor template and sandbox class on the step.AssignWorker span
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- backend, observability
調査の方向性
まず、cmd/ateapi/internal/controlapi/workflow_resume.goの引用された範囲の開始位置と、テンプレートおよびサンドボックスクラスの参照箇所を確認してください。次に、拒否時の動作を把握するため、workflow.go:59-60とdocs/guides/observability.mdの「No keys」セクションを読んでください。step.AssignWorkerの開始時に、拒否された配置も含めて、要求された3つの属性を追加してください。スパンにate.template.atespace、ate.template.name、ate.sandbox.classが公開されることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
When no worker has room, step.AssignWorker records an error (cmd/ateapi/internal/controlapi/workflow_resume.go:241, workflow.go:59-60), but stepSpan sets no attributes on it. The actor template (workflow_resume.go:238) and the sandbox class (workflow_resume.go:428) are available when the span starts.
A refused placement has no pool, because no worker was picked (docs/guides/observability.md, "No keys"). The template and the class are known, so the span could carry them.
Why it matters: the error span is the only signal I found that shows every refusal. In a 2 hour test on one cluster it showed 14 refusals, and ate.scheduler.assignment.duration{ate.scheduler.outcome=no_capacity} showed 3 samples. With the template on the span, an operator can alert on refusals per template. Today the alert can only be per cluster.
Request: set ate.template.atespace, ate.template.name and ate.sandbox.class on the step.AssignWorker span when it starts.
I used an AI assistant to draft this issue and checked the code references myself.
- 主要言語
- Go
- スター
- 8.7k
- フォーク
- 969
- 平均マージ
- 5日 1時間
- マージ済み PR(30日)
- 128
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
agent-substrate/substrate のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
agent-substrate/substrate#4308 ·
メンテナーはふだん 2 日以内に返信
-
area/dev-infra kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agent-substrate/substrate#4248 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
area/node area/security kind/feature
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agent-substrate/substrate#4188 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
area/security kind/feature
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
agent-substrate/substrate#4171 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[Bug]: ExternalVolumeStatus.volume_type demands a prefix of "substrate.io" which we do not own対応中かも @msau42 が 7 日前に担当しました。 オープンarea/api area/storage kind/bug ready-for-pr
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
agent-substrate/substrate#4129 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
agent-substrate/substrate の issue をすべて見る
似ている issue
-
good first issue tools
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
Edwin-metcalf/MetCode#76 ·
メンテナーはふだん 1 日以内に返信
-
-diff's removed-name budget ignores the names the -ptr pass tested対応中かも @nova-loop が今日担当しました。 オープンarea: cli bug good first issue severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
TMHSDigital/subenum#495 ·
メンテナーはふだん 1 日以内に返信
-
bug effort:s impact:med raised-by:worker risk:low to:worker
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
medici-finance/assay#8120 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
factory:subtask
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
reportedBy/community
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openchoreo/openchoreo#5751 ·
メンテナーはふだん 1 日以内に返信