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 — ci(pm-stack): the three quota-exporter test suites (opencode-usage 4, cloudflare 35, supabase 12) run by no workflow — the #2574/#2492 regression pins are decorative · Issue #6084 · developing-today/code

ci(pm-stack): the three quota-exporter test suites (opencode-usage 4, cloudflare 35, supabase 12) run by no workflow — the #2574/#2492 regression pins are decorative #6084

New issue
Copy link
New issue
Copy link
Closed
Closed
ci(pm-stack): the three quota-exporter test suites (opencode-usage 4, cloudflare 35, supabase 12) run by no workflow — the #2574/#2492 regression pins are decorative#6084
Copy link
Assignees
dezren39
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

Problem

The three pm-stack quota-exporter test suites — pm-stack/opencode-usage-export/opencode-usage-export.test.mjs, pm-stack/cloudflare-export/cloudflare-quota-export.test.mjs, and pm-stack/supabase-export/supabase-quota-export.test.mjs — are run by no workflow, flake check, or Nix build. Each README documents only a manual local run. The exporters themselves run on production systemd timers and feed the quota plane; their regression pins execute only when a human remembers.

Evidence (verified this run, laptop primary @ aee78ac, HEAD == origin/main)

  • git grep for each suite name across the whole tree returns only the suites' own READMEs (and, for cloudflare, the test file's own header comment). No reference in .github/workflows/, the flake, the justfile, or any Nix file. pm-stack-tests.yml runs the aggregator/projector bun suites, the seed/deploy-install smokes, and (since ci(pm-stack): run the claimant and grist Python suites in pm-stack-tests (#5951) #5953) the claimant/grist Python suites — none of the three exporter suites.
  • Hand runs on the laptop this run, all green:
    • node --test pm-stack/opencode-usage-export/opencode-usage-export.test.mjs → 4 tests, 4 pass, 0 fail (~0.5 s; pins store move detection, stale/missing store failure documents and exit codes 3/4).
    • node --test pm-stack/cloudflare-export/cloudflare-quota-export.test.mjs → 35 tests, 35 pass, 0 fail (~0.6 s; pins the cloudflare-export: R2 bucket enumeration fails open — a 500/malformed buckets response publishes r2Buckets: [] in a status:ok document, and pagination past 100 buckets is silently dropped #2574 R2 bucket-enumeration "unknown, never partial" contract and the bin+pm-stack: four entry points still use the pre-#2083 raw-path entry-point check — codedb-bridge, supabase/cloudflare exporters and the claimant installer silently no-op via any symlink #4325 entry-point checks).
    • bun test in pm-stack/supabase-export/ → 12 tests, 12 pass, 0 fail (pins the supabase-export: billedFromAddons silently zeroes unpriced selected addons (and accepts negative amounts) — a paid addon reports as measured $0 #2492 fail-closed billing rules). Note the runner split: this suite imports bun: modules, so node --test fails on it with ERR_UNSUPPORTED_ESM_URL_SCHEME — wiring must run it under bun, unlike the other two.
  • What they guard is live: each exporter ships a .service/.timer pair in its directory and publishes the latest.json documents the aggregator's quota gatherer consumes (feat(quota-plane): quota-gatherer service in the PM stack — 15-minute tick, quota-current contract #1151/External-system observability: unified PM + queue + quota attribution (webhooks, hot list, session IDs, projections) #2072). The pins exist for real incidents — cloudflare-export: R2 bucket enumeration fails open — a 500/malformed buckets response publishes r2Buckets: [] in a status:ok document, and pagination past 100 buckets is silently dropped #2574 (partial bucket lists published as complete), supabase-export: billedFromAddons silently zeroes unpriced selected addons (and accepts negative amounts) — a paid addon reports as measured $0 #2492 (unpriced addons billed), bin+pm-stack: four entry points still use the pre-#2083 raw-path entry-point check — codedb-bridge, supabase/cloudflare exporters and the claimant installer silently no-op via any symlink #4325 (symlinked invocation silently no-opping) — and today none of them can catch a regression before it merges.

Why it matters

Three production data producers have test suites that are decorative. A regression in enumeration completeness, billing fail-closed behaviour, or store move detection merges silently and surfaces as wrong quota/billing data on the dashboard — the exact failure classes these suites were written to pin.

Related but distinct: #5954 (pm-stack-tests.yml itself is disabled_manually in Actions) and #5993 (the pm-git-sync/tailnet script suites, a different set of suites in the same workflow). This issue is about the three exporter suites being absent from every check; wherever they are wired, #5954's enablement is what lets that check actually execute.

Acceptance criteria

  • An automated check runs all three exporter suites on changes under pm-stack/opencode-usage-export/, pm-stack/cloudflare-export/, and pm-stack/supabase-export/ (a step in pm-stack-tests.yml following its existing explicit-file, fail-if-missing pattern, or an equivalent check).
  • The two node suites run under node --test; the supabase suite runs under bun test (it cannot run under node — see evidence).
  • The check passes on current main (4 + 35 + 12 tests at filing).
  • Breaking a pinned behaviour (e.g. publishing a partial bucket list as complete, cloudflare-export: R2 bucket enumeration fails open — a 500/malformed buckets response publishes r2Buckets: [] in a status:ok document, and pagination past 100 buckets is silently dropped #2574) makes the check fail.

Activity

Next
  1. dezren39
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    source/creatorFiled by the new-issue-creator job
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1746

  3. dezren39
    added
    priority/normalOrdinary priority (the default)
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · state: filed

    • Agent: new-issue-creator (new-issue-creator-code-b)
    • Session / ID: cron job new-issue-creator-code-b, run 2026-11-04 23:50 CST
    • Found via: filed this run
    • Task: Filed this issue — the three pm-stack quota-exporter test suites run by no workflow; verified by git grep across the tree plus hand runs on the laptop @aee78ac310 (opencode-usage 4/4 via node --test, cloudflare 35/35 via node --test, supabase 12/12 via bun test).
    • Expectation: effort xs/s — wire all three suites into an automated check on changes to their directories (supabase under bun, the other two under node); done when the check passes on current main and a cloudflare-export: R2 bucket enumeration fails open — a 500/malformed buckets response publishes r2Buckets: [] in a status:ok document, and pagination past 100 buckets is silently dropped #2574-style regression fails it.
    • Links: packet hidden_files/packet-6084-triage.json (queue repo-health-code-pilot)
  5. dezren39
    added
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · queue duplicate check: the enqueue command was invoked twice this run (its first output was truncated in my log). Confirmed task 9883 enqueued for this issue; if a second task with dedupe_key repo-health:v1:triage:developing-today/code:issue:6084 exists, the second claimant should supersede/close it as a duplicate.

  7. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  8. 59 remaining items

  9. developing-today
    added
    queue/queuedHas a queued queue task
    and removed
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  10. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-f
    • Session / ID: task 12917
    • Found via: queue claim
    • Task: Fix ci(pm-stack): the three quota-exporter test suites (opencode-usage 4, cloudflare 35, supabase 12) run by no workflow — the #2574/#2492 regression pins are decorative #6084 — wire the three quota-exporter test suites into pm-stack-tests.yml.
    • Revalidation: issue ci(pm-stack): the three quota-exporter test suites (opencode-usage 4, cloudflare 35, supabase 12) run by no workflow — the #2574/#2492 regression pins are decorative #6084 OPEN, no held/user/owned/do-not-merge/do-not-auto-edit labels. Existing open PR ci(pm-stack): wire the three quota-exporter suites into CI for #6084 #6928 (branch queue/9883-6084-wire-exporters-ci, from orphaned task 9883 work, published by the git-hygiene sweep) already implements exactly this wiring — single-file diff to .github/workflows/pm-stack-tests.yml. No competing PR will be created; this task will verify PR ci(pm-stack): wire the three quota-exporter suites into CI for #6084 #6928 (tests + negative pin demonstration on the laptop), disposition it, and merge under the standing criteria if verified.
    • Expectation: done = PR ci(pm-stack): wire the three quota-exporter suites into CI for #6084 #6928 verified and merged (closing ci(pm-stack): the three quota-exporter test suites (opencode-usage 4, cloudflare 35, supabase 12) run by no workflow — the #2574/#2492 regression pins are decorative #6084) or parked with a named resume condition.
  11. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 8, 2026
  12. dezren39
    closed this as completedin 2784051on Nov 8, 2026
  13. dezren39
    added a commit that references this issue on Nov 8, 2026

    Merge pull request #6928 from developing-today/queue/9883-6084-wire-e…

    da9982b
  14. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 8, 2026
  15. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-f
    • Session / ID: task 12917
    • Outcome: fixed_merged — PR ci(pm-stack): wire the three quota-exporter suites into CI for #6084 #6928 merged as da9982b (verified: origin/main's pm-stack-tests.yml now carries the exporter wiring).
    • What happened: PR ci(pm-stack): wire the three quota-exporter suites into CI for #6084 #6928 (from task 9883's orphaned work, published by the git-hygiene sweep) already contained exactly this fix. This task revalidated it, merged current main into its branch (resolving the trigger paths conflict by keeping both the claimant and exporter paths), verified it, dispositioned a Codex P1, and merged it — no competing PR was created.
    • Verification (laptop, at the merged head): opencode-usage suite 12/12 under node --test, cloudflare suite 35/35 under node --test, supabase suite 12/12 under bun test. Negative demonstration: breaking the cloudflare-export: R2 bucket enumeration fails open — a 500/malformed buckets response publishes r2Buckets: [] in a status:ok document, and pagination past 100 buckets is silently dropped #2574 partial-bucket pin (publishing the partial list on a failed page) turned 2 cloudflare tests red; reverted, never committed.
    • Codex: round 1 on the rebased head found one P1 (runner Node 22 node:sqlite ExperimentalWarning vs the suite's empty-stderr import assertion) — fixed in 25d09c7 by adding setup-node@v7 node-version 24 before the exporter steps, replied on the thread; round 2 completed with no findings.
    • CI note: the workflow's own checks stayed QUEUED because pm-stack-tests.yml is disabled_manually (issue ci(pm-stack): pm-stack-tests.yml is disabled_manually in Actions — no suite in it can run #5954) — the suites execute in CI once ci(pm-stack): pm-stack-tests.yml is disabled_manually in Actions — no suite in it can run #5954 re-enables the workflow; until then the laptop runs above are the test evidence, per the PR comment.
  16. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 8, 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

app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

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.