ateapi: set actor template and sandbox class on the step.AssignWorker span
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- backend, observability
Hướng nghiên cứu
Bắt đầu với cmd/ateapi/internal/controlapi/workflow_resume.go tại đầu đoạn được trích dẫn và các tham chiếu đến template và lớp sandbox, sau đó đọc workflow.go:59-60 và phần “No keys” trong docs/guides/observability.md để hiểu hành vi từ chối. Thêm ba thuộc tính được yêu cầu khi step.AssignWorker bắt đầu, kể cả với các trường hợp phân bổ bị từ chối; xác nhận span hiển thị ate.template.atespace, ate.template.name và ate.sandbox.class.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 8.7k
- Fork
- 969
- Merge trung bình
- 5 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 128
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của agent-substrate/substrate
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
agent-substrate/substrate#4308 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area/dev-infra kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agent-substrate/substrate#4248 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area/node area/security kind/feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agent-substrate/substrate#4188 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area/security kind/feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
agent-substrate/substrate#4171 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug]: ExternalVolumeStatus.volume_type demands a prefix of "substrate.io" which we do not ownCó thể đã có người làm @msau42 đã nhận 7 ngày trước. Đang mởarea/api area/storage kind/bug ready-for-pr
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
agent-substrate/substrate#4129 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của agent-substrate/substrate
Issue tương tự
-
good first issue tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Edwin-metcalf/MetCode#76 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
-diff's removed-name budget ignores the names the -ptr pass testedCó thể đã có người làm @nova-loop đã nhận hôm nay. Đang mởarea: cli bug good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
TMHSDigital/subenum#495 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
deskclose human-decided leaves the legacy decision-needed label and applies no human-decidedĐang mởbug effort:s impact:med raised-by:worker risk:low to:worker
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
medici-finance/assay#8120 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
factory:subtask
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
reportedBy/community
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openchoreo/openchoreo#5751 ·
Maintainer thường phản hồi trong vòng 1 ngày