`release_view` fetches only the first 500 bounty tickets, so lower-severity `before`/`decide` gate tickets are invisible in release planning
Report
Summary
The release page ("Every before and decide ticket") fetches only
the first 500 bounty tickets by severity: release_view
(desk/services/tickets.py:557-562) calls list_tickets(..., Filters(kind="bounty", status="all", limit=500)) once, with no
paging, then filters mainnet_gate in ("before","decide") in Python;
list_tickets caps at .limit(min(max(f.limit,1),500)) (:378).
Contrast services/triage.py all_tickets, which pages explicitly.
The real ticket counter is already past XE-1700, so bounty tickets
already exceed 500 — the gate view is already dropping tickets today.
Impact
- Invisible release gates. Lower-severity
before/decidetickets — the ones that must block or be decided before a release — never appear in the release-planning view once the first 500 rows are filled with higher-severity orlatertickets. A release can proceed while gate tickets exist that nobody saw. - Scope limit (stated plainly). The tickets themselves still exist and are visible in other views; only the release-gate view drops them. No data loss, no privilege issue.
Severity reasoning
- Low, not Medium: the tickets are not lost, only hidden from one
planning view, and the view is a team-internal surface. But the
view's stated purpose is exactly "every
beforeanddecideticket", and it already fails that purpose live (ticket count > 500). A planning view that silently omits the gates it exists to show is a real defect. - Low, not Minor: the omission is silent and already live, and it strikes the release-gate workflow directly.
Root cause
release_view fetches one capped page and filters in Python instead
of paging through all bounty tickets (the way all_tickets does).
Reproduction
A. Python harness (primary evidence — PASS)
Harness /tmp/desk4/h1_sqlite.py (real SQLite DB, real service
code). Seeded 600 bounty tickets (first 500 gate=later, newest 100
gate=before, all tier minor). count_tickets = 600,
list_tickets(limit=500) returned 500 (XE-0001..XE-0500),
release_view showed 0 of the 100 before tickets. Harness
prints BUG CONFIRMED.
Dedup note
Checked against the live public report list at https://bounty.xe.network
(166 public tickets, checked 2026-11-09). No title or body match for
release_view, mainnet_gate, or a 500-row cap in the release view.
No known report covers this defect.
Suggested fix direction
- Page through all bounty tickets in
release_view(asall_ticketsdoes), or filtermainnet_gatein the query so the 500-row cap applies to gate tickets only.
References (file:line, desk @ 186af22)
| Location | What it shows |
|---|---|
desk/services/tickets.py:557-562 |
release_view: single list_tickets(limit=500), then Python-side gate filter |
desk/services/tickets.py:378 |
list_tickets caps at .limit(min(max(f.limit,1),500)) |
desk/services/triage.py (all_tickets) |
Pages explicitly — the pattern release_view lacks |
/tmp/desk4/h1_sqlite.py |
Verification harness (BUG CONFIRMED) |
Payout address
052e33e0ed9c43e2bdf07faff9a90d25642b51d53d96f49f5d45b81f6584b3da
NOTE — operator must confirm this payout address (or replace it with their own) before submission. This is the hunt testnet wallet generated for faucet/PoC work; it is the address the reporter intends to receive any award at, pending operator confirmation.
Thread
Thank you for this report. We have read it against the code and it is being handled. The assessment and any award follow the fix. https://bounty.xe.network/XE-1794