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 — feat(usage-hub): v2 Vercel first read + GitHub billing collector (billing-scoped token) · Issue #1051 · developing-today/code

feat(usage-hub): v2 Vercel first read + GitHub billing collector (billing-scoped token) #1051

New issue
Copy link
New issue
Copy link
Closed
Closed
feat(usage-hub): v2 Vercel first read + GitHub billing collector (billing-scoped token)#1051
Copy link
Assignees
dezren39
Labels
meta/follow-upFollow-up spun out of earlier workqueue/parkedQueue task is parked (waiting on CI, time, or an event)status:doneuser/escalatedRequires a Drew decision or accesswork/assignedQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Oct 27, 2026
Issue body actions

Part of epic #1047. Hub design §2.2 / §5 v2.

Two related first-reads/collectors:

  1. Vercel: connector is connected but plan tier/caps are unknown in local records. First API read establishes the baseline (bandwidth, function invocations, plan limits), then a daily collector into the hub.
  2. GitHub billing: Actions billable minutes /3,000, Codespaces core-hours /180 + storage /20 GB, Packages /2 GB. Billing endpoints need a billing-scoped token — same consent class as the design+impl: org-level GitHub Project as the conceptual-project layer — orchestrator-synced, dashboard-read #910 project-token gap; do not invent a route around consent. Until the token exists, keep the card on local records (Oct minutes were comped, net $0) and state the gap on the card.
    Feeds goals goal_49a7f35a16de / goal_86b7469e123e / goal_fbdde57a43cd.
    Acceptance: both services show dated, sourced values on /quota; token need (if any) filed as a user/owned blocker, not silently dropped.

Activity

Next
  1. dezren39
    added
    meta/follow-upFollow-up spun out of earlier work
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    developing-todayBot
    on Oct 27, 2026 – with developing.today
    Contributor
    More actions

    CODE-196

  3. github-actions
    assigned
    dezren39
    on Oct 27, 2026
  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Oct 29, 2026
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: queue worker (repo-worker-code), lane C shift
    • Session / ID: queue task 2315 (triage)
    • Found via: queue claim · repo-health-code-pilot
    • Task: Triage verdict — the two halves split:

    GitHub half: UNBLOCKED, premise stale. The old billing endpoints are gone (GET /users/dezren39/settings/billing/actions → 410 "This endpoint has been moved", gh.io/billing-api-updates-user), but the new unified endpoint answers with the existing gh OAuth token (scopes: admin:org, gist, repo, user, workflow — no billing-scoped token needed for the own-account usage read). Verified live 2026-10-29T02:22Z, October 2026 to date (103 items): Actions Linux 3,629 min (gross $21.77, net $0.00 — over the 3,000 included minutes but fully discounted, matching the "comped" note), Actions macOS 9 min, Actions storage 19.4 GB-hours, Codespaces compute 2.7 h, Codespaces storage ~1.4 GB-hours; every item net $0.00. A small_fix collector packet is enqueued (dedupe repo-health:v1:fix:developing-today/code:issue:1051; packet hidden_files/packet-2315-fix.json) to build the daily collector on the new endpoint and record this baseline.

    Vercel half: BLOCKED on Drew. The premise "connector is connected" does not hold for the Muse Vercel connector: /opt/hatch/bin/vercel status → auth_status: not_connected (2026-10-29). (The "vercel" entry in the OpenCode provider list is an AI-model provider, not the Vercel platform connector.) Per this issue's own acceptance, the token/connect need is filed here as a user blocker rather than dropped: Drew — connect Vercel (its own sign-in page via the connector authorize flow) and the first read + daily collector can proceed. No route around that consent will be invented.

    • Expectation: GitHub collector lands via the enqueued fix task; Vercel half waits on the connector being connected by Drew. Issue stays open with user/escalated for the Vercel half.
  6. dezren39
    added
    queue/queuedHas a queued queue task
    user/escalatedRequires a Drew decision or access
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 29, 2026
  7. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane C shift
    • Session / ID: queue task 2986 (small_fix, GitHub half of feat(usage-hub): v2 Vercel first read + GitHub billing collector (billing-scoped token) #1051)
    • Found via: queue claim · repo-health-code-pilot
    • Task: Progress + park. DONE this shift: the October 2026 baseline is recorded as a dated, sourced entry in the usage records (provider-quota-registry.md, "GitHub billing — first read (2026-10-29)": Actions Linux 3,629 min, gross $21.77, net $0.00; Codespaces 2.7 h; all net $0.00; source = unified billing usage endpoint via existing gh OAuth). REMAINING: the daily collector implementation — expected home is a new source under pm-stack/aggregator/src/sources/ feeding /quota, per the epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047 hub design. Parked rather than rushed: the aggregator source interface needs a dedicated implementation pass with its own PR + CI.
    • Expectation: Resume: implement the aggregator source (daily pull of /users/dezren39/settings/billing/usage, aggregated Actions minutes / Codespaces hours / storage, dated+sourced), PR + CI green, then complete task 2986. The Vercel half stays blocked on Drew connecting the Vercel connector (see triage note).
  8. dezren39
    added
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  9. 87 remaining items

  10. dezren39
    removed
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 29, 2026
  11. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked — keystone PR #2335 not landed

    • Agent: queue worker (repo-worker-code), Lane D shift
    • Session / ID: queue task 2986
    • State: PARKED 30 min. Fresh verify 2026-10-29T19:56:24Z: keystone PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 is still OPEN (unmerged, not in the merge queue), so PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 (OPEN, MERGEABLE/CLEAN, head c77b017) still inherits main's red fmt/clippy in its merge group. Nothing else blocks this task; the repo-wide merge-queue stall is ci: Actions check runs stuck in queued across PRs — no runner pickup since ~05:00Z 2026-10-28 #1599.
    • Resume when: PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 has merged — then re-enqueue PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236, verify merged, complete task 2986 as fixed_merged and strip queue labels here.
    • Links: PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 · keystone id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 · stall ci: Actions check runs stuck in queued across PRs — no runner pickup since ~05:00Z 2026-10-28 #1599
  12. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Oct 29, 2026
  13. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), Lane D shift
    • Session / ID: queue task 2986 (small_fix, resume)
    • Found via: queue claim
    • Task: Gate recheck: keystone PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 is still OPEN (verified minutes ago in this same shift — it was re-enqueued and ejected again by the merge-queue stall, ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403), and PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 (this task, GitHub half) is OPEN/CLEAN at c77b017 but inherits main's red fmt/clippy until id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 lands.
    • Expectation: parked 1h. Resume verbatim: id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 merged → re-enqueue feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 → verify merged → complete fixed_merged, strip queue/work labels; the Vercel half stays user/escalated.
  14. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Agent note — gate recheck, still unmet; re-parked (queue task 2986, lane C)

    Fresh gate recheck 2026-10-29T21:31Z:

    • Keystone PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 (id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151 fmt/clippy unbreak): still OPEN, unmerged. Its own basic checks pass, but it cannot land while the merge queue ejects every entry (ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403; main still frozen at 5a34fa70, no merge since ci: run nix ci on merge groups (merge-queue pilot step 1) #2233).
    • This task's PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 (GitHub billing collector): OPEN, CLEAN/MERGEABLE, head branch queue/2986-1051-github-billing-collector, its served check passes, 0 unresolved review threads. It inherits the id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151 red on the full tier until id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 lands, per the prior shift's analysis.

    Nothing on the GitHub half can progress until #2335 merges. The user/escalated label on this issue is the separate Vercel-half blocker (Drew connecting the Vercel connector) and is untouched. Task 2986 re-parked 20 min. Resume: #2335 merged → recheck PR #2236 full-tier CI + Codex state → merge → complete.

  15. dezren39
    removed
    status:in-review
    on Oct 29, 2026
  16. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 2986, shift 2026-10-29 16:04 CDT
    • Found via: queue claim (resume, gate recheck)
    • Task: Gate rechecked fresh at 21:57Z: keystone PR 2335 still OPEN/unmerged; PR 2236 still OPEN/CLEAN; the merge-queue stall ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 is still open and was confirmed live this shift (PRs 2214 and 2366 ejected minutes after enqueue). Gate unmet — no enqueue cycle burned, per the prior resume note.
    • Expectation: Resume when PR 2335 has merged (which requires ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 resolved): then verify PR 2236 merged/mergeable and complete task 2986.
    • Links: PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 · keystone id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 · blocker ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403
  17. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · GitHub billing collector ready; parked on the repo-wide merge-queue freeze (#2403)

    • Agent: queue worker repo-worker-code, OpenChamber scheduled lane. Task 2986 (resume — implementation already pushed).

    • PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 — queue/2986-1051-github-billing, head c77b0179, OPEN / CLEAN / MERGEABLE, basic: proxy port fallbacks SUCCESS, CodeRabbit neutral, 0 unresolved review threads. 6 files: scripts/collect-github-billing.ts, src/sources/github-billing.ts, src/model.ts, src/snapshot-records.ts, src/snapshots.ts, test/github-billing.test.ts — the collector reads the unified usage endpoint, so no billing token is needed (the packet premise about the old billing endpoints was already corrected by triage).

    • Gate recheck this shift (the reason this task was parked): the PR is not the problem and PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 (the fmt/clippy unbreak) is still OPEN, so nothing has moved.

    • Blocked by ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403: main frozen at 5a34fa70 since 10:57:51Z; every merge-queue entry ejected with reason=branch_protection_failure. Config enumeration and the exact reversible fix are in my note on ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 (22:12Z).

    • Parked 2 h so it resumes itself: on wake, if main advanced, re-enqueue feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236, merge, close this issue.

    • Links: PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 · ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 · task 2986

  18. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane C shift
    • Session / ID: queue task 2986, shift 2026-10-29 19:14 CDT
    • Found via: queue claim (resume of awaiting_ci park)
    • Task: Merge PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 (GitHub billing collector, closes this issue) once the merge-queue freeze clears
    • Expectation: Parked 2h — auto-resume condition unchanged
    • Findings: Gate rechecked fresh: main is still 5a34fa7 (frozen), PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 (fmt/clippy unbreak) is still OPEN, ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 is still OPEN, and PR feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 is still OPEN / CLEAN / MERGEABLE at c77b017 with its required check passing. The resume condition (main advanced) is not met, so feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236 was not re-enqueued into the ejecting merge queue.
    • Resume condition: main advances past 5a34fa7 — then re-enqueue feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236, merge, and close this issue.
  19. developing-today
    added
    status:done
    on Oct 30, 2026
  20. developing-today
    closed this as completedon Oct 30, 2026
  21. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

meta/follow-upFollow-up spun out of earlier workqueue/parkedQueue task is parked (waiting on CI, time, or an event)status:doneuser/escalatedRequires a Drew decision or accesswork/assignedQueue worker lifecycle state

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.