Skip to content

feat(aggregator): rename the main ChatGPT pool openai -> openai.main - #5089

Merged
dezren39 merged 1 commit into
mainfrom
fleet/openai-main-pool
Nov 3, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fleet/openai-main-pool

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Follows the config rename (PR #5085). Pool ids are the OpenCode config provider ids (POOL NAMING note, 2026-11-03), and the config now defines openai.main for the main ChatGPT account.

  • serviceIdFor: the codex gatherer door now files under openai.main.
  • POOL_SPECS: id openai → openai.main, plan label "ChatGPT (Main — drewrypope)" for symmetry with the alternate entry.
  • Usage snapshot records write serviceId openai.main.
  • The pre-rename snapshot series stays in the store under openai, unrewritten, per the naming convention.
  • Full aggregator suite: 1390 pass / 0 fail (tests updated only where they bound the old pool id; synthetic overlay fixtures keep their arbitrary ids).

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

Follows the config rename (PR #5085): pool ids are the OpenCode
config provider ids (POOL NAMING note, 2026-11-03), and the config
now defines openai.main for the main account. The codex gatherer
door now files under openai.main, POOL_SPECS carries the new id,
and usage snapshot records write the new serviceId. The pre-rename
series stays in the store under openai, unrewritten, per the naming
convention. Tests updated where they bound the old pool id;
synthetic overlay fixtures keep their arbitrary ids.
@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 19:25
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

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 1 minute.

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: 18d5d83d-7a2d-49f8-b1ae-0506ba6b7b5c
Commits

Reviewing files that changed from the base of the PR and between 785247a and b224973.

Files selected for processing: 6
  • pm-stack/aggregator/src/quota-extract.ts
  • pm-stack/aggregator/src/quota-gather-map.ts
  • pm-stack/aggregator/src/snapshot-records.ts
  • pm-stack/aggregator/test/quota-gather-map.test.ts
  • pm-stack/aggregator/test/quota.test.ts
  • pm-stack/aggregator/test/snapshot-writers.test.ts
  • 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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T19:28:33.353782Z b224973 PR opened
ℹ️ 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.

@dezren39
dezren39 merged commit bb4624b into main Nov 3, 2026
1 check passed
@dezren39
dezren39 deleted the fleet/openai-main-pool branch November 3, 2026 19:26

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

Copy link
Copy Markdown

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: b224973afa

ℹ️ 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".

},
{
id: "openai",
id: "openai.main",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update burn attribution to use the renamed pool ID

When the scraped OpenCode server has active sessions using openai, openai-codex, or chatgpt, this rename silently removes them from the main ChatGPT quota card. In pm-stack/aggregator/scripts/collect-fleet-feed.ts, poolFor still returns "openai" for these providers (lines 189–192), while the collector attaches activeSessions only when that result exactly matches pool.id (line 639). Update the burn mapper alongside this rename so previously attributed sessions continue to appear under openai.main.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant