ateapi: set actor template and sandbox class on the step.AssignWorker span
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 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开始时添加要求的三个属性,包括被拒绝的分配;确认 span 暴露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 小时
- 30 天内合并 PR
- 128
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 天内回复