feat(observability): structured termination reason for every run
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- observability
Hướng nghiên cứu
The issue names no files, tests, or entry points. Start by locating the trajectory/result payload and the termination paths that produce it, then define how each proposed reason maps to a terminated run. Done means every terminated run carries a machine-readable termination record in the result artifact, with timeout and backend errors distinguishable.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
When a run ends abnormally, the result payload carries no machine-readable cause. Operators are left doing forensic fingerprinting — e.g. inferring "launch stall" from n_messages == 0 && elapsed ≈ watchdog timeout, or diffing timestamps to separate "gateway rejected the request" from "agent deadlocked internally" from "model stopped making progress".
In batch usage this is the single largest operational cost: for one incident class, roughly half of the debugging time went into merely classifying failures before any actual fixing could start.
Proposal
Every terminated run should emit a structured termination record in the result artifact itself (not only in logs), e.g.:
{
"finish_reason": "llm_call_timeout",
"detail": { "last_error": "...", "http_status": 429, "turn": 17 }
}
Suggested enum, minimally:
completed— normal finishmax_turns/budget_exhaustedcontext_limit_salvaged— see #152llm_call_timeoutvsbackend_error(code)— these two being distinguishable is the core askno_progress— loop-break / degeneration interventionsaborted— external kill
Design notes:
- The record belongs on the trajectory/result payload so downstream consumers can filter programmatically.
- Pairs naturally with a heartbeat/progress event stream (#153): heartbeat covers the run's lifetime, termination reason covers its end.
- Ngôn ngữ chính
- Python
- Star
- 4.1k
- Fork
- 94
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 216
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 EverMind-AI/Raven
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
EverMind-AI/Raven#1413 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat: allow users to build ui-web and ui-tui with `bun`Có thể làm lại được @0warning0error đã nhận 8 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
EverMind-AI/Raven#1283 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
EverMind-AI/Raven#121 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix: Feishu channel status wrongly reports missing credentials and "not connected" while WebSocket is liveCó thể đã có người làm @pcbeingused333 đã nhận 1 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 18/100
EverMind-AI/Raven#1399 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
WebUI tab froze silently while gateway stayed healthy (heartbeat stopped 1h49m); reproducible /auth refresh dead-end fixed in #1392Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
EverMind-AI/Raven#1393 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của EverMind-AI/Raven
Issue tương tự
-
`gitlab_importer_v2` pipeline failing due to malformed YAML fileCó thể đã có người làm @Gowri213 đã nhận hôm nay. Đang mởbug Pipeline: Failure Priority: high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
aboutcode-org/vulnerablecode#2523 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
intuitem/ciso-assistant-community#5380 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
confluentinc/cp-ansible#2767 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
mesa/mesa#4223 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 2 ngày