Title: fleet fallback: fetch_markers silently truncates at its 10-page cap (#6622 Phase 4 gap) · Issue #9012 · developing-today/code · GitHub
Open Graph Title: fleet fallback: fetch_markers silently truncates at its 10-page cap (#6622 Phase 4 gap) · Issue #9012 · developing-today/code
X Title: fleet fallback: fetch_markers silently truncates at its 10-page cap (#6622 Phase 4 gap) · Issue #9012 · developing-today/code
Description: Gap — found by the #6622 Phase 4 closing pagination inventory (#6623) pkgs/fleet/crates/fleet-queue/src/fallback.rs fetch_markers pages issue comments at per_page=100 for page in 1..=10 and breaks on a short page. The volume bound exists...
Open Graph Description: Gap — found by the #6622 Phase 4 closing pagination inventory (#6623) pkgs/fleet/crates/fleet-queue/src/fallback.rs fetch_markers pages issue comments at per_page=100 for page in 1..=10 and breaks ...
X Description: Gap — found by the #6622 Phase 4 closing pagination inventory (#6623) pkgs/fleet/crates/fleet-queue/src/fallback.rs fetch_markers pages issue comments at per_page=100 for page in 1..=10 and breaks ...
Opengraph URL: https://github.com/developing-today/code/issues/9012
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fleet fallback: fetch_markers silently truncates at its 10-page cap (#6622 Phase 4 gap)","articleBody":"## Gap — found by the #6622 Phase 4 closing pagination inventory (#6623)\n\n`pkgs/fleet/crates/fleet-queue/src/fallback.rs` `fetch_markers` pages issue comments at `per_page=100` for `page in 1..=10` and breaks on a short page. The volume bound exists (10 pages / 1000 comments — contract rule 2 satisfied), but when the loop ends by hitting the cap rather than a short page, it returns the accumulated markers **as if complete**: no error, no marker of truncation.\n\nThat matters because the markers are the fallback queue's claim/lease state (the function's own doc: \"The marker's own embedded `ts` is authoritative\"). Comments are returned chronologically, so on an issue with more than 1000 comments the *newest* markers — the live claim and heartbeat markers the lease math reads — are exactly the ones silently missing. The read feeds a safety decision (who owns this issue), which under the contract (#6622 rule 3) must fail closed or say so, never present a truncated read as the set. Contrast the same contract's operator-drain disposition (#6615: a visible truncation notice) and the janitor's fail-closed full-page rule (#6618).\n\n## Fix shape\n\nWhen the loop exits by exhausting the page cap with a full last page, fail closed with an error naming the issue (or return the truncation explicitly for the caller to surface) — never return the partial marker set as complete. A test with a stubbed >10-page comment stream pins it. Bound value (10 pages) is unchanged unless the fixer re-sizes it.\n\nFiled by the Phase 4 inventory (task 14524, lane code-b). No fix is attempted inside the inventory, per #6623's acceptance.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-12T20:23:15Z","url":"https://github.com/developing-today/code/issues/9012"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef663e2a-b27d-b18a-54a5-a319b4f2dfd0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9906:345F05:AA0E7F:E2EA9D:6B06412D |
| html-safe-nonce | 27ca212a3500a4d74445b57c9c29bfc37b5439485696d7369c3d1dba9cf50824 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTA2OjM0NUYwNTpBQTBFN0Y6RTJFQTlEOjZCMDY0MTJEIiwidmlzaXRvcl9pZCI6IjkyMDE0MzY0ODEwMjg1MDU5MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f219b2611572aaf1638fa6922ad6455f06edd5054084ae0f463566cae4cf03ad |
| hovercard-subject-tag | issue:6358319016 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/9012/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc45123d7a4ba1259cb9d667daec79edca34c564ad757d27d7687299cbdec9ec/developing-today/code/issues/9012 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc45123d7a4ba1259cb9d667daec79edca34c564ad757d27d7687299cbdec9ec/developing-today/code/issues/9012 |
| og:image:alt | Gap — found by the #6622 Phase 4 closing pagination inventory (#6623) pkgs/fleet/crates/fleet-queue/src/fallback.rs fetch_markers pages issue comments at per_page=100 for page in 1..=10 and breaks ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1bff4f6bfaa96dc9c42cacf315424c24ebb548b06142ced5e3aaccb2a42dd652 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ac613d3698d3d8565651455086e1f74da07bf277 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width