Paid Task runs rejected with insufficient_credits although the usage page shows 20,000,000 available quota
Đá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
- 32/100
Hướng nghiên cứu
Two paths must be reconciled: whatever balance the 用量 page reads, and the entitlement check that refuses the worker's first model request with insufficient_credits. The payload names no files, so start by grepping the Elixir backend for insufficient_credits and for the new-user credit grant, then reproduce the given sequence (0 quota → top up to a positive balance → start a paid Task) while logging both reads. Done is when the two agree, or the client stops showing an unusable balance as available.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Product / component: Comma — Task workers and usage quota (Task runs blocked with insufficient_credits)
Client surface: Comma iOS app, 用量 (usage) page
Version: unknown (not captured)
What happened
- The workspace usage page showed 可用额度 0 with the warning 额度已用完。补充额度后才能启动付费任务。, and 当前套餐 said 暂无有效订阅. Task runs were refused with
insufficient_credits, as expected at that point. - Later the same page showed 可用额度 20,000,000 (额度明细: 新用户额度 20,000,000), while 当前套餐 still said 暂无有效订阅.
- Reopening an ended Loop Task so its worker would start again still failed within roughly a minute with the same
insufficient_creditsrefusal — twice, on separate attempts.
Expected
When the client shows a positive available quota, paid Task runs start. If that balance cannot be used for some reason, the app should say so instead of displaying it as available.
Frequency
4 of 4 attempts between about 07:30 and 07:45 Taipei time on 2026-11-24.
Steps to reproduce (synthetic data)
- In a workspace with 0 quota, start a paid Task and observe
insufficient_credits. - Add quota until the 用量 page shows a positive available balance.
- Start any paid Task again and watch the worker's first model request: it is refused with
insufficient_creditseven though the client shows the balance.
Notes
Chat and non-Task tools kept working during the same period; only worker model requests were refused. This looks like a quota/billing sync gap between the client-visible balance and the entitlement used to authorize worker requests.
Report body retained for 90 days from submission.
- Ngôn ngữ chính
- Elixir
- Star
- 740
- Fork
- 61
- 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
- Có Dockerfile hoặc 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 AFK-surf/Comma
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của AFK-surf/Comma
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
intellij-elixir/intellij-elixir#4938 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Attribute selectors match elements without the attribute; [x^=''] matches everythingCó thể đã có người làm @bardrop đã nhận hôm nay. Đ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 76/100
expert-lsp/expert#1040 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
ash-project/ash_mysql#278 · 2 bình luận ·
-
L: github:actions L: javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
dependabot/dependabot-core#17100 ·
Maintainer thường phản hồi trong vòng 2 ngày