GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fleet-paperwork: installations() fetches only page 1 of /app/installations — with 103 installations the developing-today org is page 2, so every App-route write fails 'no installation found' · Issue #7930 · developing-today/code

fleet-paperwork: installations() fetches only page 1 of /app/installations — with 103 installations the developing-today org is page 2, so every App-route write fails 'no installation found' #7930

New issue
Copy link
New issue
Copy link
Closed
#8065
Closed
fleet-paperwork: installations() fetches only page 1 of /app/installations — with 103 installations the developing-today org is page 2, so every App-route write fails 'no installation found'#7930
#8065
Copy link
Labels
app/fleet-paperworkPackage/app: fleet-paperwork (infra/ in this repo)effort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/creatorFiled by the new-issue-creator jobstatus/needs-triageNot yet triaged; needs a first looktask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@developing-today
developing-today
bot
opened on Nov 9, 2026
Issue body actions

fleet-paperwork: installations() fetches only page 1 of /app/installations — with 103 installations the developing-today org is page 2, so every App-route write fails 'no installation found'

Summary

infra/fleet-paperwork/fleet_paperwork.py is the fleet's rate-limit fallback
for GitHub writes: when the user token hits GitHub's secondary rate limit,
issue/comment/PR writes are retried as the developing.today GitHub App
(App ID 5454422). That route is currently down for the developing-today
org
: AppClient.installations() fetches exactly one page of
/app/installations (per_page=100, no page parameter, no pagination
loop), and the app now has 103 installations, so the first page (100,
newest first) no longer contains the developing-today org installation.
Every App command for developing-today/* dies with
no installation of the app found for owner 'developing-today' before it
can mint a token.

Evidence (verified live 2026-11-09, code @ origin/main 13eb408)

infra/fleet-paperwork/fleet_paperwork.py:

  • installations() (lines 251–263): a single
    GET /app/installations?per_page=100 — no page loop, and the result is
    cached as if complete. installation_for() (lines 265–272) then searches
    only that truncated list.
  • The same file paginates correctly in two sibling places:
    assert_repo_in_scope() loops /installation/repositories?per_page=100&page=N
    (line ~296), and find_by_exact_title() pages the Search API
    (line ~385, "the scan pages through the matches … so an exact-title issue
    past the first page is still found"). installations() is the one list
    fetch that does not page.

Live reproduction (laptop, 2026-11-09T02:47–02:52Z):

  • fleet_paperwork.py check lists exactly 100 installations; the
    developing-today org is not among them (only developing-today-vendor,
    developing-today-fork, developing-today-vendored are).
  • fleet_paperwork.py create --repo developing-today/code … fails:
    no installation of the app found for owner 'developing-today'.
  • Fetching the same endpoint with page=2 returns the remaining
    installations — 103 across 2 pages — including the org installation.
    With the paginated list, the identical create and comment calls
    succeeded and verified by readback (issue id(world): parse_wants accepts a non-object args — a scalar/array args collapses to no arguments, silently widening records.read to every record #7929 and its agent note,
    comment 6731084039, were filed through this route during the run that
    found this).
  • Independent corroboration the same hour: another fleet lane recorded
    "app route down" in its run bookkeeping (sweep.log, 2026-11-09T02:53:00Z)
    and parked its GitHub writes in the action outbox instead.

Context: the user token was under a secondary rate limit at the time
(gh api create → HTTP 403 "You have exceeded a secondary rate limit",
request ID 302F:25BDF8:44D395:E39792:6AF134FA, 2026-11-09 02:50:35 UTC) —
exactly the situation this tool exists for — so both write paths were
unavailable at once and only the paginated workaround restored the App
route.

Why it matters

The App route is the documented fallback (Drew, 2026-11-03) that keeps
fleet GitHub writes flowing when the user token is rate-limited. With it
silently capped at page 1, any owner whose installation falls off the
first page — today the org that owns three of the four fleet repos — loses
the fallback entirely, and every affected write degrades to the action
outbox or is lost to a silent no-op on the limited token. The failure
mode is also deceptive: "no installation found" reads as the app is not
installed on the org
, which sends diagnosis toward re-installation
instead of a one-line pagination gap. The installation count only grows,
so more owners will fall off page 1 over time.

Related: #6623 (repo-wide pagination inventory — this is a live instance
of that contract failing, in the fleet's own fallback tool); #6864
(closed; response-shape validation in the same file — different defect);
#7903 (comment subcommand 422 — different defect).

Acceptance criteria

  • installations() pages /app/installations until a short page (or the reported total) is reached, so the returned list is complete regardless of installation count.
  • fleet_paperwork.py check reports all 103+ installations, including developing-today, and create/comment/token/api for developing-today/code succeed end-to-end (verified by the tool's own readback) without any workaround.
  • A regression test covers the multi-page case (e.g. a stubbed two-page installations response where the target owner is only on page 2), following the file's existing test patterns if any, or a new one alongside the tool.
  • Pacing/caching behavior is preserved: the paginated fetch still happens once per client (the _installations cache), and no other command's behavior changes.

Activity

  1. developing-today
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    status/needs-triageNot yet triaged; needs a first look
    source/creatorFiled by the new-issue-creator job
    priority/highImportant and time-sensitive
    queue/queuedHas a queued queue task
    effort/sSmall: expected under 2 hours of work
    app/fleet-paperworkPackage/app: fleet-paperwork (infra/ in this repo)
    on Nov 9, 2026
  2. developing-today commented on Nov 9, 2026

    @developing-today
    developing-todayBot
    on Nov 9, 2026 – with developing.today
    ContributorAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator job (lane A, slug new-issue-creator-code-a)
    • Session / ID: cron job new-issue-creator-code-a, run 2026-11-08 20:35 CST
    • Found via: filed this run
    • Task: Paginate AppClient.installations() in infra/fleet-paperwork/fleet_paperwork.py — it fetches only page 1 of /app/installations (100 of 103), so the developing-today org installation is never found and every App-route write for developing-today/* fails.
    • Expectation: effort/s — done when the acceptance criteria in the issue body pass: paginated fetch, check lists the org, and an App create/comment for developing-today/code verifies end-to-end with no workaround.
    • Links: verified live this run — check listed exactly 100 installations without the org; the unpatched create died with "no installation of the app found for owner 'developing-today'"; a paginated fetch returns 103 installations across 2 pages and the identical create/comment calls then succeeded with readback (this issue and issue id(world): parse_wants accepts a non-object args — a scalar/array args collapses to no arguments, silently widening records.read to every record #7929 were filed through it). Corroboration: another lane recorded "app route down" in sweep.log at 2026-11-09T02:53:00Z. Related: issue Phase 4 of #6622 — closing pagination inventory: disposition every paginated loop in the repo against the complete/bounded/honest contract #6623 (pagination inventory), issue fleet-paperwork: API response bodies are shape-trusted — a wrong-shape 200/error body crashes every command with a raw Attribute/KeyError, including inside http()'s own error handler #6864 (closed; response-shape, different defect).
  3. developing-today commented on Nov 9, 2026

    @developing-today
    developing-todayBot
    on Nov 9, 2026 – with developing.today
    ContributorAuthor
    More actions

    Fresh confirmation from lane openchamber-b shift, 2026-11-08 evening (2026-11-09T02:45-03:00Z):

    • fleet queue fallback verbs for developing-today-forks/openchamber worked with an app token minted at shift start, then token mint began failing 5/5 with: no installation of the app found for owner developing-today-forks.
    • Paginated read of GET /app/installations (per_page=100, pages 1-2) returns 103 installations; developing-today-forks and developing-today are both on page 2. A local monkey-patch of AppClient.installations to walk pages minted a working token immediately (token length 383, heartbeat/PR/merge/release all succeeded with it).
    • Impact this shift: user token was simultaneously secondary-rate-limited for content creation, so the App route was the only write path; without the workaround, two merged fixes (openchamber PR id: investigate: hosted data option — per-user stores, Google SSO, static/local-storage variants, container-spend limits #2045 for ci(cf-container-hello): run the #955 hardening suite in a workflow (#1439) #1627, PR id: design: ID serverless edition v1 (Cloudflare Workers) #2046 for id: design: abuse-control primitives v1 for ID comms #2033) could not have posted heartbeats, PRs, or releases.

    agent-note:v1 - Agent: repo-queue-worker-shift-openchamber-b - state: confirmed - issue: code#7930

  4. dezren39
    added a commit that references this issue on Nov 9, 2026

    Merge pull request #8065 from developing-today/fix/7930-installations…

    338a6e1
  5. dezren39
    closed this as completedin #8065on Nov 9, 2026
  6. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    Member
    More actions

    Fixed and merged.

    PR: #8065 — fix(fleet-paperwork): page through all /app/installations (#7930)
    Merge commit: 338a6e125af537d3c99086bb47007621c500bbb0 (merge commit, verified on origin/main)

    Change: AppClient.installations() in infra/fleet-paperwork/fleet_paperwork.py now pages through all of /app/installations (per_page=100&page=N), stopping at a short or empty page — mirroring the existing pagination loop in assert_repo_in_scope. The endpoint returns a top-level array with no total_count, so page length is the stop signal. Per-entry shape validation is unchanged and now applies to every page; results are still cached on the client. Nothing else changed.

    Tests: 3 new cases in infra/fleet-paperwork/tests/test_fleet_paperwork.py (multi-page collection + page-2 owner resolution for developing-today / developing-today-forks; short first page = exactly one call; exact multiple of 100 = one trailing empty page). Full file: python3 -m unittest tests.test_fleet_paperwork — 35 tests, OK.

    Live verification (laptop, fleet_paperwork.py check, read-only resolution + installation-token mint via the scope check; no App-route writes needed):

    • Before (unpatched): 100 installations, exit 1 — no installation of the app found for owner 'developing-today'
    • After: 103 installations across 2 pages; developing-today resolves to installation 174792676, developing-today-forks to 178565858; developing-today/code and developing-today-forks/opencode both verified in installation scope.

    The App rate-limit fallback route for developing-today/* is live again. Queue task 14295 is assigned to the direct lane (not this fix's claim) and is left for that lane to complete against this PR.

  7. developing-today commented on Nov 9, 2026

    @developing-today
    developing-todayBot
    on Nov 9, 2026 – with developing.today
    ContributorAuthor
    More actions

    Live proof from the merged fix (PR #8065, merge commit 338a6e1): this comment is posted through the fleet-paperwork App route itself.

    Independent re-verification on the laptop just now:

    • check --repo developing-today/code: exit 0, 103 installations listed, developing-today (installation 174792676) resolves, repo in installation scope.
    • check --repo developing-today-forks/opencode: exit 0, 103 installations listed, developing-today-forks (installation 178565858) resolves, repo in installation scope.
    • Module tests: 35/35 OK (including the 3 new multi-page cases).

    The page-2 owners resolve again — the App fallback route is restored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/fleet-paperworkPackage/app: fleet-paperwork (infra/ in this repo)effort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/creatorFiled by the new-issue-creator jobstatus/needs-triageNot yet triaged; needs a first looktask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.