chore(release): 6.2.0#162
Conversation
Cut 6.2.0 (minor): TUI email masking (#160) and workspace-aware usage quota dedupe + test isolation hardening (#161). - Bump version to 6.2.0 (package.json, package-lock.json, .codex-plugin/plugin.json) - Sync stale .release-please-manifest.json 6.0.0 -> 6.2.0 - Review polish: correct inverted dedupe-direction comments (lib/tools/codex-limits.ts, test/index.test.ts); the #161 recovery test now exercises the deduped-out-active path; add explicit maskEmail:false coverage for formatPromptStatusText
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
📝 WalkthroughWalkthroughVersion 6.2.0 release bumps version strings across plugin manifest, package.json, and release-please manifest. Deduplication behavior documentation in codex-limits tooling is clarified with expanded comments, and corresponding test setup and expectations in the index test are updated. A new test for email masking in prompt status output is added. ChangesVersion 6.2.0 Release
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Release v6.2.0 — bundles the two feature PRs (already squash-merged to
main) plus review polish and the version bump.Included (already on main)
feat: opt-in TUI email masking —maskEmail/maskEmailInQuotaDetailsconfig keys +CODEX_TUI_MASK_EMAIL/CODEX_TUI_MASK_EMAIL_DETAILSenv overrides. Defaults off.fix: workspace-aware usage-quota dedupe (keys onaccountId+organizationId, freshest credential wins, sparse/disabled-slot hardening) + rotation-test isolation fix.This branch
6.2.0inpackage.json,package-lock.json,.codex-plugin/plugin.json..release-please-manifest.json(6.0.0→6.2.0).lib/tools/codex-limits.tsandtest/index.test.ts(dedupe keeps the freshest/last occurrence, not the first).activeIndex→ earlier occurrence) instead of a direct hit.maskEmail: falsecoverage forformatPromptStatusText.Validation
npm test→ 2398 passed / 1 skipped (85 files). CI re-gates here.Notes
Squash-merge to cut the release; tag
v6.2.0+ GitHub release follow.Summary by CodeRabbit
Chores
Tests
note: greptile review for oc-chatgpt-multi-auth. cite files like
lib/foo.ts:123. confirm regression tests + windows concurrency/token redaction coverage.Greptile Summary
this is a release-packaging pr for v6.2.0, bundling two already-merged features (opt-in tui email masking, workspace-aware quota dedupe) with version bumps and review polish applied here since the fork prs couldn't be edited.
6.2.0acrosspackage.json,package-lock.json,.codex-plugin/plugin.json, and.release-please-manifest.json; corrects an inverted dedupe-direction comment inlib/tools/codex-limits.ts(keeps last/freshest occurrence, not first) matching the actualMap-overwrite logic indeduplicateUsageAccountIndicestest/index.test.ts:activeIndexwas set to 1 (the surviving deduplicated entry), which meant[active]matched via directi === activeIndexrather than exercising thesharesActiveCredentialrecovery path; flipping toactiveIndex = 0now genuinely triggers the warn + workspace-identity recovery pathmaskEmail: falsecoverage intest/tui-status.test.tsforformatPromptStatusText; the test is valid though slightly redundant with the existing default-flag caseConfidence Score: 4/5
safe to merge — all changes are comment corrections, a test logic fix, and version bumps with no production code path changes
the only substantive change is the test fix flipping activeIndex from 1 to 0, which correctly exercises the workspace-identity recovery path that was silently bypassed before; the production comment correction in codex-limits.ts matches what codex-usage.ts actually does; no token handling, concurrency, or windows filesystem concerns introduced
test/tui-status.test.ts has a minor coverage gap for the maskEmail:false + accountLabel combination, but nothing blocking
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[deduplicateUsageAccountIndices] --> B[uniqueIndices = last occurrence per workspace key] B --> C{activeIndex in uniqueIndices?} C -- yes --> D[i === activeIndex → direct match\nshow active marker] C -- no --> E[logWarn: deduped out] E --> F{sharesActiveCredential?\naccountUsageKey === activeUsageKey} F -- yes --> G[displayIndex = activeIndex\nrecover active marker onto surviving entry] F -- no --> H[no active marker on this entry] G --> I[fetch quota with account at i\nlabel from account at displayIndex] D --> I H --> I I --> J[render output]Prompt To Fix All With AI
Reviews (1): Last reviewed commit: "chore(release): 6.2.0" | Re-trigger Greptile