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): per-credential quota rows — stop collapsing same-type logins · Issue #1113 · developing-today/code

feat(usage-hub): per-credential quota rows — stop collapsing same-type logins #1113

New issue
Copy link
New issue
Copy link
Closed
Closed
feat(usage-hub): per-credential quota rows — stop collapsing same-type logins#1113
Copy link
Assignees
dezren39
Labels
meta/follow-upFollow-up spun out of earlier work

Description

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

Part of epic #1047. Design: hub-v2-v3-design-2026-10-26.md §4.

Problem (Drew, 2026-10-25; investigated, not built): the credential projection keeps only the ACTIVE credential per integration, so multiple same-type logins collapse into one quota row. OpenChamber's quota CLI solved the listing side (PR #474 merged: per-credential + provider-instance quota, disabled_providers respected) — the hub feed/render side never got the same treatment.

Work: carry provider instances through the fleet feed (check-usage snapshots distinguish some already); render one row per credential where quotas genuinely differ (OpenAI x2 logins, OpenCode Go x2 workspaces) with the pool total as headline; where credentials share one pool, render one row — never a fake split.
Acceptance: the two-OpenAI-login case renders correctly per its real pool structure; Go Personal vs Lab stay distinct; tests cover both shapes.

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-251

  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 · picked up

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 2392
    • Found via: queue claim
    • Task: Triage feat(usage-hub): per-credential quota rows — stop collapsing same-type logins #1113 — verify the per-credential collapsing on current main and route
    • Expectation: effort s (triage); done = verdict posted with HEAD evidence and a scoped follow-up packet enqueued
    • Links: epic epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047; design hub-v2-v3-design-2026-10-26.md §4
  6. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 2392 (triage) → follow-up queue task 3004
    • Found via: queue claim
    • Task: Triage verdict for feat(usage-hub): per-credential quota rows — stop collapsing same-type logins #1113
    • Verdict — CONFIRMED at HEAD, and the gap is precisely located: the gather side already works per credential — scripts/gather-quota.ts reads OpenCode's credential store directly and fetches per provider instance, and src/quota-gather-map.ts carries credentialId/credentialLabel per result. The collapse happens in projection/render: src/quota-current.ts overlayQuotaCurrent groups entries by serviceId and applies only the newest fresh-ok entry (freshOk[0]) to the single pool — the module header says it outright: "Several entries can share a serviceId (one per credential): a fresh ok entry wins… otherwise the newest entry decides." Every other login's windows are dropped, and src/render.ts renders one card per pool, so credentialLabel never becomes a row. The test fixtures in test/quota-current.test.ts (~lines 118–124) already model the real shape: two entries for one service labelled "OpenAI" and "OpenAI 2".
    • Routing: scoped implementation packet enqueued as queue task 3004 (dedupe repo-health:v1:fix:developing-today/code:issue:1113): carry per-credential rows through the view model, split only where quotas genuinely differ (pool total as headline), one row for shared-pool credentials (never a fake split), render + /api/quota.json, tests for both shapes including Go Personal vs Lab staying distinct.
    • Expectation: feat(usage-hub): per-credential quota rows — stop collapsing same-type logins #1113 stays open with queue/queued until task 3004 lands.
    • Links: epic epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047; design §4; packet packet-task2392-fix1113.json (goal hidden_files)
  7. dezren39
    added
    queue/queuedHas a queued queue task
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  8. 9 remaining items

  9. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/claimedQueue worker lifecycle state
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 31, 2026
  10. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane E
    • Session / ID: queue task 3004 (resume of parked claim)
    • Found via: queue claim
    • Task: PR feat(usage-hub): per-credential quota rows in projection + render (#1113) #2978 already open for feat(usage-hub): per-credential quota rows — stop collapsing same-type logins #1113; disposition its 2 Codex P2 findings (credential-ID keying, reset-drift tolerance), then merge when CI/checks pass
    • Expectation: s — done = findings fixed or replied, PR merged, task completed
    • Links: PR feat(usage-hub): per-credential quota rows in projection + render (#1113) #2978 · branch queue/3004-1113-quota-rows
  11. dezren39
    added 2 commits that reference this issue on Oct 31, 2026

    fix(usage-hub): key credential rows by credentialId, tolerate reset d…

    3edbf07

    feat(usage-hub): per-credential quota rows in projection + render (#1113

    45e31cf
  12. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane E
    • Session / ID: queue task 3004
    • Found via: queue claim (resume of parked task; PR feat(usage-hub): per-credential quota rows in projection + render (#1113) #2978 was open with CI/Codex pending)
    • Task: per-credential quota rows for feat(usage-hub): per-credential quota rows — stop collapsing same-type logins #1113 — PR feat(usage-hub): per-credential quota rows in projection + render (#1113) #2978 merged
    • Expectation: done — both Codex P2 findings fixed in 3edbf07 (credentialId keying; 60s reset-drift tolerance) with tests, Codex re-review clean (👍), aggregator quota-current suite 24/24 pass on laptop, squash-merged as 45e31cf
    • Links: PR feat(usage-hub): per-credential quota rows in projection + render (#1113) #2978
  13. dezren39
    closed this as completedon Oct 31, 2026
  14. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 31, 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 work

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.