Repository navigation
feat(aggregator): rename the main ChatGPT pool openai -> openai.main - #5089
Conversation
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.
|
Warning Review limit reachedYou'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. View limit details
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. CodeRabbit Verify
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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", |
There was a problem hiding this comment.
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 👍 / 👎.
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.mainfor the main ChatGPT account.serviceIdFor: the codex gatherer door now files underopenai.main.openai→openai.main, plan label "ChatGPT (Main — drewrypope)" for symmetry with the alternate entry.openai.main.openai, unrewritten, per the naming convention.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.