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 Supabase usage collector — Management API scope + muse-dev metrics · Issue #1050 · developing-today/code

feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050

New issue
Copy link
New issue
Copy link
Closed
#2369
Closed
feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics#1050
#2369
Copy link
Assignees
dezren39
Labels
meta/follow-upFollow-up spun out of earlier workstatus:done

Description

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

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

Build the Supabase usage collector for project muse-dev (ref nltgxorqwxhgfzseiirt, org developing.today, Free):

  • Check Management API token/scope for usage endpoints (today only coordination-store access is verified). Management token is already filed in Bitwarden as supabase.* if the scope suffices.
  • Metrics: database size, egress, storage vs Free limits; billed $0 while Free; spend ceiling $30/mo is Drew's standing decision — the card must flag any approach to a paid trigger.
  • Acceptance: daily read into the hub card + snapshots, measured-at + source shown; scope gap documented in quota-view Part (b) if a new token/consent is needed.

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

  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 D
    • Session / ID: queue task 2313
    • Found via: queue claim
    • Task: Triage issue feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050 — verify the usage-hub Supabase collector is still unbuilt at current main, then route as scoped follow-up or close with evidence
    • Expectation: s — triage verdict backed by code citation at HEAD
    • Links: n/a yet
  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 D
    • Session / ID: queue task 2313
    • Found via: queue claim
    • Task: Triage verdict for feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050 — CONFIRMED, still unbuilt at current main
    • Expectation: done — verdict below, follow-up routed

    Verdict: CONFIRMED — no Supabase usage collector exists at HEAD a3cdf6c9a35df1ff8b88b7a02d62e5c04ca4c94a; the hub's Supabase card is three unmeasured metrics and a hardcoded $0.

    Evidence (fresh reads of current main, not the issue text):

    • pm-stack/aggregator/src/saas-extract.ts — supabaseMetrics is a constant extractor (MetricExtractor = () => [...]) that ignores its input entirely: database size, egress and storage are emitted with no used and no limit. Notes verbatim: "Not measured — manual dashboard read needed." (egress, storage) and "Free-plan numerical limits are not recorded in local records; account meters are not verified from this host." (database size).
    • Same file: the Supabase card's billed state is asserted, not measured — billedUsd: spec.id === "supabase" ? 0 : undefined — and its shell note reads "Free plan (muse-dev); numerical quotas unknown in local records" on a 7-day cadence shell.
    • The landed feat(quota-plane): quota-gatherer service in the PM stack — 15-minute tick, quota-current contract #1151 gatherer (scripts/gather-quota.ts) has no Supabase code; its input families are the OpenChamber quota module and file exports only. The Management API token's usage-endpoint scope has never been probed — the issue's own first step is still undone.

    Routing: follow-up enqueued as queue task 2985 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:1050, packet queue-packets/packet-1050-fix.json), in the same gatherer file-export shape as the sibling Cloudflare adapter (#1048 / task 2983): probe the Management API usage endpoints first with the existing supabase.* token (Bitwarden name reference only), then a pm-stack/supabase-export/ producer for database size / egress / storage vs Free limits with measured-at + source, an approaching-paid-trigger flag at ≥80% of a Free limit (against the standing $30/mo ceiling decision), measured — not hardcoded — billed state, and minimal aggregator wiring that prefers a fresh export and falls back to today's behaviour. Creating a new token or granting consent is explicitly out of scope: on a scope refusal the packet requires the gap documented endpoint-by-endpoint in quota-view Part (b), which is this issue's own sanctioned fallback. This issue stays open and is labelled queue/queued for that task.

  7. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 29, 2026
  8. developing-today
    added
    status:in-review
    on Oct 29, 2026
  9. dezren39
    added
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  10. 94 remaining items

  11. dezren39
    added
    status/parkedDeliberately paused with a recorded resume condition
    on Oct 29, 2026
  12. dezren39
    added a commit that references this issue on Oct 29, 2026

    fix(usage-hub): billed amount unknown when supabase billing probe una…

    36280d5
  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 B shift
    • Session / ID: queue task 2985
    • Found via: queue claim (resume of awaiting_ci park)
    • Task: Merge PR feat(usage-hub): Supabase usage collector as gatherer file-export (#1050) #2369 (Supabase usage collector for feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050) once the merge queue works again and Codex re-review of the new head is clean.
    • Expectation: Done = PR feat(usage-hub): Supabase usage collector as gatherer file-export (#1050) #2369 merged, task completed fixed_merged, labels stripped on feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050.
    • Links: PR feat(usage-hub): Supabase usage collector as gatherer file-export (#1050) #2369 — new head 36280d5. This shift found and FIXED a new Codex P2 from the 23:35Z re-review (saas-extract.ts: billed amount stayed a hardcoded $0.00 when the billing probe was unavailable): billedUsd now clears to unknown, thread replied + resolved, test added (targeted 8/8; full aggregator 349 pass / 1 known pre-existing attention fail design+impl(aggregator): triage actions on /attention - acknowledge, snooze, escalate, answer - orchestrator-mediated #1152/impl(aggregator): session actions from /sessions and /attention - poke, answer, stop - keeper/orchestrator-mediated #1156). @codex re-review of 36280d5 requested. Remaining gate: merge-queue stall ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 (main frozen at 5a34fa7 since 10:57Z). Re-parking. Do not --admin.
  14. chatgpt-codex-connector commented on Oct 29, 2026

    @chatgpt-codex-connector
    chatgpt-codex-connectorBot
    on Oct 29, 2026 – with ChatGPT Codex Connector
    More actions

    To use Codex here, create an environment for this repo.

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

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up (resume), revalidated, merging — MQ unstuck

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Session / ID: queue task 2985 (attempt 1, resume from parked at 01:00Z)
    • PR: feat(usage-hub): Supabase usage collector as gatherer file-export (#1050) #2369 queue/2985-1050-supabase-export, head 36280d5880 — OPEN, not draft, no superseding PR
    • Revalidated (2026-10-30T01:03Z): Codex re-review of 36280d5880 came back clean at 23:58Z ("Didn't find any major issues"); required check basic: proxy port fallbacks passed; branch protection requires no merge queue (required_merge_queue: null, strict: false). Issue feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050 is OPEN with no hard-stop labels (held, user/owned, do-not-merge absent).
    • Prior shift's fixes carried in this head: billedUsd clears to null when billing is unmeasured; all four Codex P2 threads replied and resolved; targeted 8/8, full suite 349/1 known pre-existing.
    • Blocker cleared: ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 (merge queue ejecting every PR) is no longer reproducing — merges landed continuously 00:24–01:00Z and main advanced to ddd5844d.
    • Action: enqueue/merge feat(usage-hub): Supabase usage collector as gatherer file-export (#1050) #2369 as a merge commit (no --admin), then complete the task and strip in-flight labels.
    • Links: PR feat(usage-hub): Supabase usage collector as gatherer file-export (#1050) #2369 · issue feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050
  17. dezren39
    closed this as completedin #2369on Oct 30, 2026
  18. developing-today
    added
    status:done
    on Oct 30, 2026
  19. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 30, 2026
  20. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — merged and closed

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Session / ID: queue task 2985 — completed fixed_merged
    • Merge: PR feat(usage-hub): Supabase usage collector as gatherer file-export (#1050) #2369 merged as a merge commit at 2026-10-30T01:05:40Z, merge SHA 4ed9ec140aed3261c7cb6f56d349104096c352d4 (head 36280d5880); no --admin, ordinary merge-queue path. Issue feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050 auto-closed as completed.
    • Verification: Codex re-review of 36280d5880 clean; required check basic: proxy port fallbacks pass; targeted aggregator tests 8/8 and exporter tests 9/9 on the laptop; full aggregator suite 349 pass with the known pre-existing failure untouched.
    • Blockers cleared: ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403's merge-queue ejections had stopped; the queue drained 38 → 20 entries while this PR moved from position 14 to merge.
    • Delivered: pm-stack/supabase-export/ file-export producer (Management API scope probe results recorded: db 1.154GB/0.5GB Free, storage 0/1, egress endpoint 404, org endpoint 403 — gap documented, no new token created) + aggregator saas-extract wiring that prefers a fresh export and otherwise reproduces the old constant metrics, with no token value in any file.
    • Labels: all in-flight labels stripped; status:done + meta/follow-up remain.
    • Links: PR feat(usage-hub): Supabase usage collector as gatherer file-export (#1050) #2369 · issue feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050
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 workstatus:done

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.