Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/issues/17916382ada24536 # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # Pipeline polling misses open PRs after the first 50 Closed · #732 · open 2026-10-24 06:46 UTC · closed 2026-11-01 21:23 UTC (reason completed) Imported from GitHub aien-dev/aien-sovereign-core-mv#732, by drakestapleton drakestapleton wrote on 2026-10-24 06:46 UTC At Core main `2f28ee89a26be1d326e29a85982bbc1c5714e437`, `github_heads_cached` requests only `pulls?state=open&per_page=50`; there is no pagination. A fresh live API read returns 50 Omega PRs, includes #515, and omits the still-open #500. The initial merge-desk inventory had 67 Omega PRs; even after six documented closures, it exceeds one page. ## Problem and ownership The all-open PR desk cannot rely on automatic polling to discover every branch. Older open PRs can remain outside the watched set. ChatGPT coordinates this repair under aien-dev/aien-architecture-mv#190; the aien-test/pipeline implementation owner should prepare the bounded pagination repair. This issue does not establish that the Spark worker is offline. At the audit, the receipt repository last published at 06:20:05Z and the new #619/#515 heads had no published Spark status; actual heartbeat/journal inspection is still needed. ## Required change Enumerate every open PR page while retaining the existing conditional-request cache and main-head handling. Preserve deduplication, error reporting, and the current draft behavior. Do not merely raise the fixed page size and retain another silent truncation limit. Do not rewrite the trusted Spark clone origins or signed repository identities as part of this change. ## Acceptance and evidence - Offline fake-API controls cover more than 50 and more than 100 open PRs, including the last page's head. - Controls cover unchanged 304 responses, changed later pages, a shrinking list, duplicates, and an error on a later page. A failed page must not be silently presented as a complete list. - Retain bounded polling/rate behavior and show the exact command/API contract. - Obtain independent source review, required preflight and exact-head signed pipeline qualification before merge. - Record actual installed worker version separately from merged source. ## Immediate dispatch Use the existing explicit trigger queue for reviewed published candidates, including Omega #500, while this repair qualifies. Do not start duplicate workers or enqueue every held/draft proposal indiscriminately. The active queue and Spark handoff remain in aien-dev/aien-architecture-mv#190 and #724. drakestapleton wrote on 2026-10-24 18:24 UTC Current ownership/scope check, 2026-10-24. This pagination repair remains open. The original `aien-test/src/worker.rs` first-50 polling defect is not proven installed/fixed by the newly merged Core #739/#740/#741 Alpha-policy work. Main `tools/aien-local-ci/pipeline.sh` after #740 also reads only `pulls?state=open&per_page=100` when looking for labeled merge candidates (at present Core 48 open, Omega 60, so not truncating either one). Please preserve the existing owner and add bounded >100/read-failure coverage to the appropriate poller/merger consumer instead of assuming the policy change repairs enumeration; do not expand trigger scope automatically. No Spark-worker version or lease read-back has been established. Material desk delta . did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:17 UTC Recovered GitHub comment. Original comment `6507722106` Pagination repair is on branch `fix/sc-732-paginate-open-prs` at `55318deab854e68ddcc9264faa8a07910d4a972f` (not merged; this issue stays open until that commit is on main). `github_heads_cached` followed only `pulls?state=open&per_page=50`. It now follows `Link: rel="next"` at `per_page=100`, keeps the ETag cache (a 304 still walks the next page remembered with that ETag), dedups, and returns an error if a later page fails or the list still has a next page after 20 pages. A short page is not treated as the whole list. Host evidence (PASS): `taskset -c 10-14 nice -n 19 ionice -c3 cargo test -p aien-test --lib --offline -- open_pulls_past_the_first_page link_next_reads an_unchanged_list a_list_longer_than_one_page -- --test-threads=1` → 4 passed, 0 failed. The long-list test covers 101 open PR heads, the last page's head, a cross-page duplicate, a 304, a changed later page, and a 404 on a later page. Negative control: once page 1 drops the next link, page 2 is not fetched. Not run: hosted CI, independent review, exact-head signed pipeline qualification. DCO pending Drake. PR open is with the desk. Sign in to comment