fix(rpc): billing exports and tests failing (24 fails)

オープン
#863 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

@sundaram2021 がすでに取り組んでいます。

2026年9月21日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
bun, typescript

調査の方向性

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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。