<!-- XE-1794 · `release_view` fetches only the first 500 bounty tickets, so lower-severity `before`/`decide` gate tickets are invisible in release planning · testnet -->
*Markdown view of <https://bounty.xe.network/XE-1794>. The page is the record; this is the same page for reading.*

XE-1794 · Bounty

# \`release\_view\` fetches only the first 500 bounty tickets, so lower-severity \`before\`/\`decide\` gate tickets are invisible in release planning

Triaging
claimed Minor
web
filed 2026-11-09 04:31 UTC
by Darkarmy921

Verdict
:   published when the fix ships

Tier
:   published when the fix ships

Claimed
:   Minor

Area
:   Other

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-14 22:57 UTC

Told
:   2026-11-10 14:00 UTC

### Patches

None linked.

### History

- [211829](https://bounty.xe.network/log/211829) 2026-11-14 22:57 UTC proposal.adopted
- [211828](https://bounty.xe.network/log/211828) 2026-11-14 22:57 UTC ticket.award
- [84118](https://bounty.xe.network/log/84118) 2026-11-10 14:00 UTC proposal.adopted
- [84117](https://bounty.xe.network/log/84117) 2026-11-10 14:00 UTC reply.sent
- [83980](https://bounty.xe.network/log/83980) 2026-11-10 14:00 UTC proposal.adopted
- [83979](https://bounty.xe.network/log/83979) 2026-11-10 14:00 UTC ticket.status new → triaging
- [83683](https://bounty.xe.network/log/83683) 2026-11-10 14:00 UTC proposal.adopted
- [83682](https://bounty.xe.network/log/83682) 2026-11-10 14:00 UTC proposal.adopted
- [83681](https://bounty.xe.network/log/83681) 2026-11-10 14:00 UTC ticket.facts
- [83680](https://bounty.xe.network/log/83680) 2026-11-10 14:00 UTC proposal.adopted
- [83679](https://bounty.xe.network/log/83679) 2026-11-10 14:00 UTC ticket.facts
- [83678](https://bounty.xe.network/log/83678) 2026-11-10 14:00 UTC proposal.adopted

[Full history](https://bounty.xe.network/log?ref=XE-1794) · [JSON](https://bounty.xe.network/v1/tickets/XE-1794) · [markdown](https://bounty.xe.network/XE-1794.md)

### 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`/`decide`
  tickets — 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 or `later` tickets. 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 `before` and `decide`
  ticket", 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` (as
  `all_tickets` does), or filter `mainnet_gate` in 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

**Joseph Denne**team2026-11-10 14:00 UTCdesk

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
