fix!: long sessions degrade — latency triples, then discard crashes on nil G.buttons
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
- 48/100
Hướng nghiên cứu
Bắt đầu tại src/lua/endpoints/discard.lua ở dòng 91 và so sánh việc tra cứu nút với mẫu tương ứng trong play.lua. Tái hiện một campaign dài bằng các seed liên tiếp đã được báo cáo, sau đó xác minh rằng discard không còn bị crash trong khi animation và latency không bị suy giảm trong suốt campaign.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
After ~70 consecutive games on one instance (menu+start between games), we
observed two stages of degradation:
-
Per-action latency roughly tripled relative to a fresh instance.
-
The
discardendpoint then began crashing on every game:discard.lua:91: attempt to index field 'buttons' (a nil value)src/lua/endpoints/discard.lua:91does
UIBox:get_UIE_by_ID("discard_button", G.buttons.UIRoot)with no nil guard —
under the degraded latency the endpoint fires while the dealt hand is still
animating andG.buttonshasn't been built yet.
Six consecutive seeds hit the crash at the end of one long campaign; the same
seeds ran clean on a fresh instance, so this is accumulation, not game content.
Likely the same underlying accumulation as coder/balatrollm#29 (game slowdown
after many rounds).
Impact
Long benchmark campaigns quietly slow down and then start failing runs for
reasons unrelated to the bot under test. Because balatrollm's executor starts
its instances once and cycles the whole task list through them, a large
multi-model campaign is exactly the workload that ages into this state.
Suggested Fix
- In
discard.lua(andplay.lua, which shares the button-lookup pattern),
wait for the button via a condition event instead of asserting on a structure
that may not exist yet mid-animation. - Consider recycling instances every N runs for long campaigns (we restart the
game between 80-seed batches and never see either symptom).
- Ngôn ngữ chính
- Python
- Star
- 80
- Fork
- 23
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 coder/balatrobot
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
coder/balatrobot#244 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
coder/balatrobot#243 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
coder/balatrobot#234 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
coder/balatrobot#233 ·
-
fix!(lua): G.GAME state survives menu+start — a previous run's won flag marks later losses as winsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
coder/balatrobot#232 ·
Tất cả issue của coder/balatrobot
Issue tương tự
-
bug
Độ 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
-
area:docs documentation effort:M ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
mczielinski/ob-analytics#423 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
infra
Độ 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
-
Độ 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 3 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
vllm-project/vllm-ascend#21033 ·
Maintainer thường phản hồi trong vòng 1 ngày