[Bug]: Router hides the final resume error when the retry budget expires
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 75/100
Hướng nghiên cứu
Đọc cmd/atenet/internal/router/ingress/resumer.go, đặc biệt là flightResult, và kiểm tra ingress test client hiện có cùng các bài kiểm thử sử dụng testing/synctest. Tái hiện chuỗi sự kiện khi bật parking, sau đó kiểm tra rằng khi hết ngân sách thử lại, lỗi cuối cùng NotFound được trả về thay vì lỗi ResourceExhausted trước đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened?
With request parking enabled, the router can return an earlier capacity error even after a retry returns NotFound. The client then gets HTTP 503 instead of 404.
This is reproducible in a unit test. When the budget has expired, flightResult returns the saved lastRetryErr instead of the final RPC error.
Expected Behavior
Return the final non-retryable error, even if the RPC finishes after the retry budget expires.
Steps to Reproduce
Using the existing ingress test client and testing/synctest:
- Enable parking with a 300 ms budget.
- Return
ResourceExhaustedfrom the firstResumeActorcall. - On the next call, sleep for 300 ms and return
NotFound. - The resumer returns
ResourceExhaustedinstead ofNotFound.
expected terminal error rpc error: code = NotFound desc = actor not found, got rpc error: code = ResourceExhausted desc = no free workers available
Sandbox Runtime
Both / Runtime Agnostic. Reproduced in a unit test; no cluster involved.
Agent Substrate Version / Commit SHA
main at fa858d0fdbec0e942e43667dba75194665a2ff38, macOS arm64, Go 1.27.0.
Additional Context
Related to #1562, but this case already returns an error the router considers non-retryable.
- Ngôn ngữ chính
- Go
- Star
- 5.7k
- Fork
- 612
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 541
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
-
[bug bash] Actor logs are controlled by Kubernetes RBAC on the pool namespace, not atespace rolesĐang mởarea/cli area/security bug-bash kind/docs
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 80/100
agent-substrate/substrate#3242 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/security bug-bash kind/docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
agent-substrate/substrate#3235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug-bash kind/docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
agent-substrate/substrate#3234 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[bug-bash] README and setup-gcp conflicts on Kubernetes beta APIs enablementCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug-bash kind/docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
agent-substrate/substrate#3233 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/security bug-bash kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agent-substrate/substrate#3232 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của agent-substrate/substrate
Issue tương tự
-
[BUG]Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
kagent-dev/kagent#3385 · 1 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 78/100
theagentrouter/agent-router#2926 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
meta
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
last9/last9-mcp-server#443 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
ray-project/kuberay#5454 ·
-
deriveTargetPodsForParentNP continues with an empty PolicyEndpoint on non-NotFound Get errorsĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
aws/aws-network-policy-agent#723 ·
Maintainer thường phản hồi trong vòng 1 ngày