decision(delete-user-data): kit/extension parity – event source is per function, not per instance
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- firebase, typescript
調査の方向性
Read kits/delete-user-data/src/events.ts and the documented behavior in kits/delete-user-data/README.md; compare these with the extension publisher in functions/src/index.ts. Decide whether to pass an instance level source or record the current behavior as an accepted difference under Decisions in #3249. Done means the chosen resolution is implemented or documented and subscribers have a consistent, explicit expectation for source.
索引モデルが issue の本文から書いたものです。
説明
delete-user-data kit/extension parity. Priority: low. Event subscribers that filter on source stop matching.
Difference
- Extension: every event has one
sourceper instance://firebaseextensions.googleapis.com/extensions/projects/<p>/instances/<id>. - Kit:
sourceis the publishing function,projects/<p>/locations/<region>/services/kit-<id>-<function>, so one instance emits three different sources (clearData,handleSearch,handleDeletion). Types and payloads are identical. The kit README already documents this.
Reproduced
Captured events from both sides on the same channel: the type and data match, and only source differs, as described above.
Code
- Extension: the platform sets
EVENTARC_CLOUD_EVENT_SOURCEper instance; publishes at index.ts#L106. - Kit: no
sourcepassed, so firebase-admin uses the CLI's per-functionEVENTARC_CLOUD_EVENT_SOURCE(events.ts#L58-L66); documented in README.md#L205-L216.
Resolution
Two options:
- Pass one
sourceper instance inpublishDeletionEvent(firebase-admin usesevent.sourcewhen it's set), so subscribers can still filter on one instance. - Keep the documented behaviour and record it as an accepted difference under "Decisions" in #3249.
- 主要言語
- TypeScript
- スター
- 979
- フォーク
- 436
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/extensions のほかの issue
-
kits parity type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
firebase/extensions#3303 ·
メンテナーはふだん 1 日以内に返信
-
kits parity type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
firebase/extensions#3301 ·
メンテナーはふだん 1 日以内に返信
-
documentation kits parity
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
firebase/extensions#3300 ·
メンテナーはふだん 1 日以内に返信
-
kits parity type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
firebase/extensions#3296 ·
メンテナーはふだん 1 日以内に返信
-
kits parity type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
firebase/extensions#3294 ·
メンテナーはふだん 1 日以内に返信
firebase/extensions の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
components-web-app/docs#307 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
localstack/localstack-mcp-server#112 ·
メンテナーはふだん 1 日以内に返信
-
area:frontend kind:bug priority:p1 ready
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
PhyberApex/kuroshiro#1687 ·
メンテナーはふだん 1 日以内に返信
-
Performance (Web Vitals) collector: LCP/FCP from background tabs are not discarded, inflating p75オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
umami-software/umami#4720 ·
メンテナーはふだん 3 日以内に返信