Halloween: remove jewel boxes from characters who have not entered since the event closed
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 70/100
Hướng nghiên cứu
Start at internal/game/enterworld/bootstrap.go, where RemoveExpiredHalloweenBoxes is called via deps.RemoveExpiredEventBoxes, and read that filter; it stays the single owner of the rule. Then find where the store loads and saves characters (the characters table in state.db, plus deleted_characters) and decide whether the sweep runs once after the window closes or is applied on the load path. Add a test with a stored offline character whose box disappears without an entry, then confirm a read-only count of state.db returns zero box rows.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Split from #2590 (done-when 1).
What the live shard shows
The Halloween window closed at 2026-11-15T00:00:00Z. The jewel box (ITEM_ETC_E050618_TREASUREBOX) is removed at world entry only (RemoveExpiredHalloweenBoxes, through deps.RemoveExpiredEventBoxes in internal/game/enterworld/bootstrap.go). A read-only production read later on 11-15 found:
- 52 characters had entered since the close; none holds a box;
- 204 characters had not entered since the close and still hold 409 box rows between them;
- 2 deleted characters hold a box;
- account storage and the ground hold none.
So the entry sweep works, but the live state does not reach zero until every one of those characters logs in, and some never will.
Done when
- After the close, the stored records of characters who never enter again hold no box either. Either one sweep runs over the stored characters once the window has closed, or the store's load path applies the same removal (the sweep is the same filter as at entry, so
RemoveExpiredHalloweenBoxesstays the one owner). - A read-only count of state.db shows zero box rows in
characters, then the issue closes.deleted_characterseither joins the sweep or the issue says why it is left. - A test covers a stored offline character whose box leaves without an entry.
- Ngôn ngữ chính
- Go
- Star
- 97
- Fork
- 61
- Merge trung bình
- 4 giờ 14 phút
- Pull request đã merge (30 ngày)
- 913
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 opensro-dev/opensro
-
area: client enhancement priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
opensro-dev/opensro#3681 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: client bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
opensro-dev/opensro#3228 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Format one minified client file with dprint (ongoing: one file per PR)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea: client enhancement good first issue priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
opensro-dev/opensro#1 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: server bug priority: medium
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
opensro-dev/opensro#3687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ops bug priority: high
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
opensro-dev/opensro#3685 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của opensro-dev/opensro
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
unbound-force/gaze#353 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug cross-seed ready-for-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/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 64/100
OneBusAway/maglev#2102 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
affects-8.5 component/session severity/moderate sig/transaction type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Waiting start: the fixed 503 body says another instance holds the lease when that may not be soĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
Judgment-Pack/judgment-pack-gateway#474 ·
Maintainer thường phản hồi trong vòng 1 ngày