Skip to content

Show Provider Usage account identity - #3149

Merged
ymichael merged 1 commit into
mainfrom
bb/fixer-make-provider-usage-reflect-the-effective-thr_fmd2bafecv
Sep 5, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fixer-make-provider-usage-reflect-the-effective-thr_fmd2bafecv

Conversation

@ymichael

@ymichael ymichael commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Provider Usage displayed quota for a machine's direct provider login without identifying which account supplied those limits. Users with multiple provider accounts therefore could not tell which account the card described. This is the narrow account-identity prototype requested after #3100; Account Pool-aware effective-source reporting remains out of scope.

What changed

  • Preserve the existing accountEmail field through the Provider Usage plugin's normalization and RPC schema.
  • Show the provider name with a subtle, truncated account email beneath it and the plan pill at the right.
  • Keep the full email available through the element title and omit the row when no account email exists.
  • Update backend, schema, and frontend fixtures for the explicit account contract.

How you verified

  • pnpm exec turbo run test typecheck --filter=bb-plugin-provider-usage --force (4/4 tests and typecheck passed)
  • bb plugin build plugins/provider-usage
  • Targeted oxfmt --check
  • git diff --check origin/main...HEAD
  • The fixer rebuilt/reloaded the plugin and captured matching before/after UI evidence before handoff.

AGENT GENERATED

@ymichael
ymichael merged commit eac3973 into main Sep 5, 2026
16 checks passed
@ymichael
ymichael deleted the bb/fixer-make-provider-usage-reflect-the-effective-thr_fmd2bafecv branch September 5, 2026 21:11
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