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): wire the three quota-exporter suites into CI for #6084 by dezren39 · Pull Request #6928 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 7, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Opened by the git hygiene sweep (issue #1371) from previously-unpushed work: this finished commit (2784051, 2026-11-05) sat only as a local branch ref in the laptop primary clone after its worktree was retired; the change is not in main in substance (verified: main's pm-stack-tests.yml has no quota-exporter wiring). Pushed and PR'd by the sweep so the work is published and reviewable.

Refs #6084


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Tests
    • Automated checks now cover additional quota export components and run when those components change.
    • The checks also confirm that the Supabase exporter test is present before running it.
    • The test job has a longer time limit to accommodate the expanded coverage.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
developing-today[bot]
ci(pm-stack): wire the three quota-exporter suites into CI for #6084
2784051
- Add opencode-usage-export suite (node --test, 4 tests)
- Add cloudflare-export suite (node --test, 35 tests)
- Add supabase-export suite (bun test, 12 tests)
- Update workflow triggers to run on changes to exporter directories
- Increase timeout from 15 to 20 minutes to accommodate new tests

Fixes #6084
@dezren39
dezren39 requested a review from a team as a code owner November 7, 2026 17:20
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T11:19:41.491474Z 25d09c7 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Nov 7, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 07170bd8-21cc-432e-8f7b-bb78b5a2f786
Commits

Reviewing files that changed from the base of the PR and between 2784051 and 25d09c7.

Files selected for processing: 1

  • .github/workflows/pm-stack-tests.yml

No actionable comments were generated in the recent review.

Walkthrough

The workflow now runs for changes to three quota exporter directories. It adds test runs for the exporters, updates the job name, and increases the timeout from 15 to 20 minutes.

Changes: Quota exporter CI coverage

Layer / File(s) Summary
Exporter workflow coverage
.github/workflows/pm-stack-tests.yml
The workflow path filters now include the three quota exporter directories. The job runs tests for the OpenCode usage, Cloudflare, and Supabase exporters. The Supabase test step fails if its expected test file is missing.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related issues

  • Issue 6084 concerns adding CI runs and path triggers for the three exporter suites.

Possibly related PRs

  • developing-today/code#2228 adds the Cloudflare quota exporter and its Node test suite, which this workflow now runs.
Merge Risk: Minimal · previous review 27840

The change adds CI coverage for the three quota exporters. No merge-blocking issue is identified from the supplied evidence; merge after normal checks pass.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly summarizes the addition of three quota-exporter test suites to CI.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0ac369fe-d34b-472f-9c8f-4df9963dc85a
Commits

Reviewing files that changed from the base of the PR and between 1fabdbc and 2784051.

Files selected for processing: 1

  • .github/workflows/pm-stack-tests.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today developing-today Bot mentioned this pull request Nov 8, 2026
Unowned PR batch from branch disposition (2026-11-07) #7297
Open
This was referenced Nov 8, 2026
pm-stack(aggregator): Meta keeper re-arm is all-or-nothing — a partial .backup rename is never restored and the alert falsely says no backups exist #6366
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
Closed
repo-worker-code-k
Merge remote-tracking branch 'origin/main' into queue/9883-6084-wire-…
c663703
…exporters-ci

# Conflicts:
#	.github/workflows/pm-stack-tests.yml
@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · verified, merge-ready (task 12917, lane code-f)

This PR already contained exactly the #6084 wiring (single-file diff to .github/workflows/pm-stack-tests.yml); it was based on a stale main and conflicted on the trigger paths: block. I merged current origin/main (e1b77bb) into the branch (merge commit c663703), resolving the paths conflict by keeping BOTH main's pm-stack/opencode-claimant/** and this PR's three exporter paths in both push and pull_request. PR is now MERGEABLE at head c663703.

Verification (run on the laptop at the merged head — the same commands the new CI steps run):

  • node --test pm-stack/opencode-usage-export/opencode-usage-export.test.mjs — 12/12 pass (the suite grew from 4 to 12 tests on main since 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 was filed)
  • node --test pm-stack/cloudflare-export/cloudflare-quota-export.test.mjs — 35/35 pass
  • bun test in pm-stack/supabase-export — 12/12 pass

Negative demonstration (acceptance: a broken pin must turn the check red): temporarily changed listR2Buckets in cloudflare-quota-export.mjs to publish the partial bucket list (buckets: names) on a non-200 page instead of null — the #2574 pins failed as designed (33 pass / 2 fail: "an HTTP 500 on buckets keeps metrics and marks enumeration unknown" and "a later-page failure publishes unknown, never the partial list"). Change reverted; tree clean; the break was never committed.

Codex review on this PR: completed, no findings (has_any_findings: false).

Dependency note (#5954): pm-stack-tests.yml is disabled_manually in Actions — until #5954 is resolved, no step in this workflow executes in CI regardless of this wiring. That enablement is #5954's scope, not this PR's; the wiring here is complete and verified locally, and merging now means the suites run as soon as the workflow is re-enabled (and on any manual workflow_dispatch).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 8, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c6637037d3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/pm-stack-tests.yml
# Quota exporter suites for #6084
# opencode-usage-export: node --test (4 tests)
- name: Test opencode-usage-export suite
run: node --test pm-stack/opencode-usage-export/opencode-usage-export.test.mjs

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 8, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Handle SQLite warnings before enabling the OpenCode suite

On the Ubuntu 24.04 runner image, the default Node runtime is 22, whose node:sqlite implementation emits an experimental warning when imported. The newly invoked suite's import-only test spawns a child that imports the exporter, which imports node:sqlite, and then requires the child's stderr to be empty (opencode-usage-export.test.mjs:56–67). Consequently, this step fails even when the exporter works correctly, and the subsequent Cloudflare and Supabase steps are skipped. Make warning handling compatible with that assertion, ensuring any suppression also reaches the spawned child through its inherited environment.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Nov 8, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed — thank you, verified and correct. The workflow had setup-bun but no setup-node, so the exporter steps would have run under the Ubuntu 24.04 runner's default Node 22, whose node:sqlite import prints an ExperimentalWarning to stderr; the import test in opencode-usage-export.test.mjs asserts the child's stderr is empty, so the step would have failed on CI while passing locally under Node 24 (where all three suites pass: 12 + 35 + 12).

Commit 25d09c7 adds a "Set up Node 24 for the quota exporter suites" step (actions/setup-node@v7, node-version: 24 — the repo's existing convention, e.g. github-backup-tests.yml) immediately before the exporter steps, with the reasoning recorded in a comment in the workflow. YAML re-validated after the edit and the opencode suite re-run green under Node 24.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-code-k
ci(pm-stack): run quota exporter suites under Node 24 (Codex P1 on #6928
25d09c7
)

The runner default Node 22 prints an ExperimentalWarning when
opencode-usage-export.mjs imports node:sqlite, and the suite's
import test asserts the child stderr is empty — the new step would
have failed on CI while passing on Node 24. Add setup-node@v7
node-version 24 (repo convention) before the exporter steps.
Also refresh the opencode suite count comment (4 -> 12 on main).
@dezren39
dezren39 merged commit da9982b into main Nov 8, 2026
3 of 8 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/9883-6084-wire-exporters-ci branch November 8, 2026 11:20
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.