decision(delete-user-data): kit/extension parity – event source is per function, not per instance
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- firebase, typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 978
- Fork
- 433
- Merge trung bình
- 20 giờ 44 phút
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của firebase/extensions
-
decision(storage-resize-images): kit/extension parity – ALLOWED_EVENT_TYPES is ignored, the kit reads EXT_SELECTED_EVENTSCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdecision kits
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
firebase/extensions#3273 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(storage-resize-images): kit README's Multiple instances section fails in an installed projectĐang mởkits type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
firebase/extensions#3271 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kits type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
firebase/extensions#3270 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(storage-resize-images): kit/extension parity – BUCKET_REGION offers europe-north2 and northamerica-south1, which can't deployCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởkits type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
firebase/extensions#3268 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(storage-resize-images): kit/extension parity – onCompletion event no longer carries the object nameCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởkits type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
firebase/extensions#3266 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của firebase/extensions
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaitin/MonkeyCode#1437 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rtdb-info-connected-order test: unhandled 'connection is closed' rejection fails the CLI suiteĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
carbon-design-system/carbon-ai-chat#2615 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
e2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
redhat-developer/rhdh-plugin-export-overlays#4486 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: fileUploadMatrix.test.ts URL case does a real DNS lookup and fails offlineCó thể đã có người làm @r2jaff đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ComposioHQ/composio#5054 ·
Maintainer thường phản hồi trong vòng 1 ngày