feat: deploy the GTFS validation worker as s/m/l Cloud Run services
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, gcp, terraform
- 領域
- cloud, devops, infrastructure
調査の方向性
Start from the existing parquet_builder_sizes deployment and parquet_builder_task_queue definitions to see how per-size Cloud Run services, queues and env vars are wired; the CI image build and the functions-python buildpack setup answer the open question about custom containers. Read #1915 for the final size numbers before setting memory and concurrency. Done means the three validator services and queues exist in var.gcp_region, are invokable only by the tasks service account, and the snapshot service is available for releases.
索引モデルが issue の本文から書いたものです。
説明
Describe the problem
The worker from #<2> needs one deployment per size, in the same region as the datasets bucket, so validation has no cross-region transfer.
Proposed solution
- Build the worker image in CI and push it to Artifact Registry, tagged with the worker version and the validator version.
gtfs-validator-{s,m,l}-<env>Cloud Run services invar.gcp_region: concurrency 1, internal ingress, invoker limited to the tasks service account, in-memory volume per size. Start from theparquet_builder_sizeslayout; set final numbers from the measurements in #1915.- One Cloud Tasks queue per size, like
parquet_builder_task_queue. - Queue names exposed as env vars to callers and to the worker (for re-queueing on escalation).
- A
gtfs-validator-snapshot-<env>service built with the snapshot CLI jar, for validator releases (dev/qa, and prod only during a release).
Alternatives you've considered
Additional context
Open question: how custom container images are deployed today (functions-python uses buildpacks with no JRE).
- 主要言語
- Python
- スター
- 34
- フォーク
- 7
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MobilityData/mobility-feed-api のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MobilityData/mobility-feed-api#1927 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
MobilityData/mobility-feed-api#1846 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
MobilityData/mobility-feed-api#1755 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MobilityData/mobility-feed-api#1647 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MobilityData/mobility-feed-api#836 ·
メンテナーはふだん 2 日以内に返信
MobilityData/mobility-feed-api の issue をすべて見る
似ている issue
-
backend enhancement priority:P3
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
geolens-io/geolens#4161 ·
メンテナーはふだん 1 日以内に返信
-
pkg:clai2
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
pydantic/pydantic-ai#14845 ·
メンテナーはふだん 1 日以内に返信
-
Add a languageオープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
LearningCircuit/local-deep-research#9272 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
patrickballard/wheelgap#783 ·