feature: agentop — TOTALDURATION column that ranks an exchange with its tools
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading the agentop events table and the DURATION column implementation, then inspect the timeline fetch and tool row duration paths changed around #1805 and #1807. The proposal leaves key decisions open: whether the value is longest duration, sum, or wall-clock time, and whether the column is on by default. Once those are settled, done means the column, sorting, picker description, help overlay, and tests all match the chosen definition.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Add a TOTALDURATION column to agentop's events table. Its value for an exchange includes the time of the tools that the exchange's response asked for. Sorting on it answers "which turns, including their tools, took longest", which a DURATION sort no longer does.
Background
#1805 / #1807: under a sort, tool rows now stay under their exchange, and the exchange's own value decides where the group goes. A long tool therefore does not move its exchange up a DURATION sort. For example, a 5m28s Bash stays under its exchange's few seconds, far down a DURATION▼ sort. Before #1807 the tool ranked on its own, but then it was no longer under its exchange (#1805).
TOTALDURATION gives back the "find the slow tool" sort without moving tool rows away from their exchange.
Proposal
- Exchange row value: the longest of the exchange's own DURATION and the durations of its tool rows. This is the "group ranks by its longest member" option from the #1805 investigation.
- Tool row cell: empty. A tool row keeps its own duration in DURATION, and under a sort it stays under its exchange (#1807). So it needs no sort key of its own.
- Tool duration: the same as the DURATION cell of the tool row. A running tool counts
now − start, so its exchange moves up as the tool runs. A lost tool and an end-of-run tool count 0. - No timeline: if the timeline is not loaded, or its fetch failed, the value is the exchange's own DURATION. A tunnel row is 0, as for DURATION.
- Column: off by default, low keep rank, with a picker description and a help-overlay line. Like DURATION, it is measured from outside the agent.
toolRow.duration(removed in #1807 because nothing called it) comes back as the numeric tool duration.
Open questions
- Longest or sum? The name says "total", but the proposal above takes the longest value. A sum counts parallel tools (
∥) twice: they run at the same time and usually have the same end. A third choice is wall-clock time, from the exchange's request to its last tool's end, which counts parallel tools once and includes the model call. Pick the definition, then a name that matches it. - Default on or off? The twelve default columns already need about 180 terminal columns.
Assisted-By: Claude (Anthropic AI) [email protected]
- Ngôn ngữ chính
- Go
- Star
- 31
- Fork
- 49
- Merge trung bình
- 9 giờ 43 phút
- Pull request đã merge (30 ngày)
- 367
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 rossoctl/cortex
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
contextguru plugin: set keepalive.Record.Identity; context-guru v0.7.11 removes Record.AgentĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
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 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug laptop
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rossoctl/cortex
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
taskmanager: a failed v1alpha1 backup leaves the partial backup behindCó thể đã có người làm @arshil42 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Packaging: support mise-en-placeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
ether/etherpad-go#571 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
labeler: read a limit above math.MaxInt as math.MaxInt in nonNegative (CodeQL alerts #20 and #21)Đang mởcost:approved factory:queued factory:tracking priority:p2 rank:12 ready-for-doing task:approved tokens:50k
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
sisaku-security/sisakulint#860 · 2 bình luận ·