{"id":"XE-1794","kind":"bounty","visibility":"public","source":"web","source_repo":"","source_ref":"","source_url":"","reporter_id":451,"title":"`release_view` fetches only the first 500 bounty tickets, so lower-severity `before`/`decide` gate tickets are invisible in release planning","area":"other","claimed_tier":"minor","assessed_tier":null,"verdict":null,"duplicate_of":null,"tracked":false,"internal_ref":"","internal_url":null,"status":"triaging","closed_reason":null,"github_state":"","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-09T04:31:14.410419+00:00","updated_at":"2026-11-14T22:57:04.296924+00:00","source_created_at":null,"told_at":"2026-11-10T14:00:35.119243+00:00","status_changed_at":"2026-11-10T14:00:33.424559+00:00","url":"https://bounty.xe.network/XE-1794","body":"## Summary\r\n\r\nThe release page (\"Every `before` and `decide` ticket\") fetches only\r\nthe first 500 bounty tickets by severity: `release_view`\r\n(`desk/services/tickets.py:557-562`) calls `list_tickets(...,\r\nFilters(kind=\"bounty\", status=\"all\", limit=500))` once, with no\r\npaging, then filters `mainnet_gate in (\"before\",\"decide\")` in Python;\r\n`list_tickets` caps at `.limit(min(max(f.limit,1),500))` (`:378`).\r\nContrast `services/triage.py` `all_tickets`, which pages explicitly.\r\nThe real ticket counter is already past XE-1700, so bounty tickets\r\nalready exceed 500 — the gate view is already dropping tickets today.\r\n\r\n## Impact\r\n\r\n- **Invisible release gates.** Lower-severity `before`/`decide`\r\n  tickets — the ones that must block or be decided before a release —\r\n  never appear in the release-planning view once the first 500 rows\r\n  are filled with higher-severity or `later` tickets. A release can\r\n  proceed while gate tickets exist that nobody saw.\r\n- **Scope limit (stated plainly).** The tickets themselves still\r\n  exist and are visible in other views; only the release-gate view\r\n  drops them. No data loss, no privilege issue.\r\n\r\n## Severity reasoning\r\n\r\n- **Low, not Medium:** the tickets are not lost, only hidden from one\r\n  planning view, and the view is a team-internal surface. But the\r\n  view's stated purpose is exactly \"every `before` and `decide`\r\n  ticket\", and it already fails that purpose live (ticket count >\r\n  500). A planning view that silently omits the gates it exists to\r\n  show is a real defect.\r\n- **Low, not Minor:** the omission is silent and already live, and it\r\n  strikes the release-gate workflow directly.\r\n\r\n## Root cause\r\n\r\n`release_view` fetches one capped page and filters in Python instead\r\nof paging through all bounty tickets (the way `all_tickets` does).\r\n\r\n## Reproduction\r\n\r\n### A. Python harness (primary evidence — PASS)\r\n\r\nHarness `/tmp/desk4/h1_sqlite.py` (real SQLite DB, real service\r\ncode). Seeded 600 bounty tickets (first 500 gate=`later`, newest 100\r\ngate=`before`, all tier minor). `count_tickets` = 600,\r\n`list_tickets(limit=500)` returned 500 (XE-0001..XE-0500),\r\n`release_view` showed **0** of the 100 `before` tickets. Harness\r\nprints `BUG CONFIRMED`.\r\n\r\n## Dedup note\r\n\r\nChecked against the live public report list at https://bounty.xe.network\r\n(166 public tickets, checked 2026-11-09). No title or body match for\r\n`release_view`, `mainnet_gate`, or a 500-row cap in the release view.\r\nNo known report covers this defect.\r\n\r\n## Suggested fix direction\r\n\r\n- Page through all bounty tickets in `release_view` (as\r\n  `all_tickets` does), or filter `mainnet_gate` in the query so the\r\n  500-row cap applies to gate tickets only.\r\n\r\n## References (file:line, desk @ 186af22)\r\n\r\n| Location | What it shows |\r\n|---|---|\r\n| `desk/services/tickets.py:557-562` | `release_view`: single `list_tickets(limit=500)`, then Python-side gate filter |\r\n| `desk/services/tickets.py:378` | `list_tickets` caps at `.limit(min(max(f.limit,1),500))` |\r\n| `desk/services/triage.py` (`all_tickets`) | Pages explicitly — the pattern `release_view` lacks |\r\n| `/tmp/desk4/h1_sqlite.py` | Verification harness (`BUG CONFIRMED`) |\r\n\r\n## Payout address\r\n\r\n```\r\n052e33e0ed9c43e2bdf07faff9a90d25642b51d53d96f49f5d45b81f6584b3da\r\n```\r\n\r\n**NOTE — operator must confirm this payout address (or replace it with\r\ntheir own) before submission.** This is the hunt testnet wallet generated\r\nfor faucet/PoC work; it is the address the reporter intends to receive\r\nany award at, pending operator confirmation.","patch_refs":[],"thread":[{"id":2135,"source":"desk","source_ref":"reply:1502","author":"Joseph Denne","team":true,"body":"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","created_at":"2026-11-10T14:00:19.792775+00:00"}]}