fix(rpc): billing exports and tests failing (24 fails)
@sundaram2021 がすでに取り組んでいます。
2026年9月21日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, typescript
- 領域
- payments, testing-qa
調査の方向性
Start by running bun test packages/rpc and inspect packages/rpc/src/utils/billing.test.ts, especially the failing resolveBillingOwner cases and the getBillingCustomerId import at line 161. Compare the test expectations with the current billing utilities and determine whether the intended API was renamed or removed. Done means the billing tests pass with zero failures and the expected billing-owner coverage works.
索引モデルが issue の本文から書いたものです。
説明
Summary
packages/rpc billing utils have 24 failing tests, leaving billing owner resolution with no working coverage.
What's the issue
bun test packages/rpc reports 94 pass, 36 skip, 24 fail. Failures are in resolveBillingOwner (11 cases) and getBillingCustomerId is not a function in packages/rpc/src/utils/billing.test.ts:161. The test imports a function that no longer exists, indicating a renamed or removed export without updating tests.
Proposed fix
- Restore or re-export getBillingCustomerId / resolveBillingOwner with the expected signatures, or update billing.test.ts to the new API.
- Ensure bun test packages/rpc passes with zero fails before merging billing changes.
- 主要言語
- TypeScript
- スター
- 1.2k
- フォーク
- 227
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
🐛 bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
LibreChat-AI/LibreChat#17733 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
TypeStrong/typedoc#3150 ·
-
accessibility bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
Normalize image-source MIME types before SVG dispatch対応中かも @HarsH-1877 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
tscircuit/image-utils#58 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信