Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

fix(firestore-send-email): kit/extension parity – kit cannot deploy for databases in northamerica-south1 or europe-north2

オープン 初心者向け
#3,296 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
firebase, typescript
領域
backend, cloud

調査の方向性

kits/firestore-send-email/src/region.tsから始め、既存のnam5/eur3マッピングとリージョンの処理を比較してください。kits/firestore-send-email/src/config.tsでDATABASE_REGIONがどのように使われているか確認してください。引用されたセクションのREADMEの文言を、実際の動作に合わせて更新してください。両方の未対応リージョンがサポート対象のCloud Functionsロケーションにデプロイされ、Firestoreトリガーがデータベースのリージョンにとどまることが完了の条件です。

索引モデルが issue の本文から書いたものです。

説明

kits parity type: bug

firestore-send-email kit/extension parity. Priority: medium. The kit can't be deployed for databases in northamerica-south1 or europe-north2.

Difference
  • Extension: the function runs in the extension's location (us-central1 by default). Only the Eventarc trigger uses DATABASE_REGION, so both regions in its option list work.
  • Kit: the function itself is placed in DATABASE_REGION. Only the multi-regions are remapped; regional values are used as-is. Cloud Functions (2nd gen) isn't available in northamerica-south1 or europe-north2, so the deploy fails. Both regions are still offered in the kit's DATABASE_REGION list, and there is no workaround: a blank value puts the function in us-central1, but no longer next to the database.
Reproduced
  • The Cloud Functions v2 locations list for the test project (40 entries) includes neither region.
  • A kit instance deployed with DATABASE_REGION=europe-north2 fails: generateUploadUrl had HTTP Error: 403, Location europe-north2 is not found or access is unauthorized.
Code
Resolution

Map these two locations to the nearest region that offers Cloud Functions, as is already done for nam5/eur3. The Firestore trigger still fires in the database's own region. Also correct the README's "used as-is" wording.

主要言語
TypeScript
スター
979
フォーク
436
平均マージ
2日 13時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

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

firebase/extensions のほかの issue

firebase/extensions の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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