feat: deploy the GTFS validation worker as s/m/l Cloud Run services
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 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 小时
- 30 天内合并 PR
- 21
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 个 reaction ·
维护者通常 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 ·