ci: streamline GitHub Actions test coverage and runtime
维护者通常 1 天内回复
@Patrick-SCH03 已经在做这个了。
开始于 2026年8月30日。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 45/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, github-actions, python
- 领域
- build-system, ci-cd, devops, testing-qa
调研方向
先比较所列出的工作流:unit-tests、smoke_tests.yml、check_skip_tests.yml 和 master_only.yml,然后检查 sdk/python/tests/unit,查找被描述为功能性或类似集成测试的测试。选择一个独立的清理方向,在修改前运行受影响的工作流或测试;当减少了冗余或低信号的 CI,同时没有丢失所述的覆盖范围或必需的检查时,即可认为工作完成。
由索引模型根据 Issue 内容生成。
描述
Context
The current GitHub Actions setup gives us good coverage, but it is doing more work than we probably need on every PR and master push. Recent master runs show the largest costs are in the master-only integration/build workflow, with full Python integration across 3.10/3.11/3.12 and a very slow feature-server-dev Docker build. PR CI also has some low-signal jobs that look redundant with other checks.
Observations
unit-testsruns the full Python unit suite across Python 3.10, 3.11, 3.12 on Ubuntu plus 3.11 and 3.12 on macOS.- Several files under
sdk/python/tests/unitbehave more like local functional/integration tests: subprocess CLI calls,feast init/apply, Spark setup, Docker/testcontainers, feature server startup, etc. smoke_tests.ymlinstalls full CI dependencies on Python 3.10/3.11/3.12 just to importfeast.cli.check_skip_tests.ymlexists as a reusable docs/examples/community skip gate, but the main unit/linter/smoke workflows do not call it.master_only.ymlruns full integration plus benchmark upload across the same Python version matrix.- The
feature-server-devDocker build is the master workflow long pole and should get its own cache/layering/toolchain audit.
Suggested Cleanup Tracks
-
Low-risk CI hygiene
- Collapse or remove the redundant smoke workflow.
- Add path/doc-only skipping for low-risk workflows.
- Move benchmark publishing out of blocking master integration, or limit it to one Python version.
-
Test-suite restructuring
- Keep pure unit tests as the default fast PR gate.
- Move or mark local functional tests separately: CLI subprocess, feature repo apply/init, Spark, Docker/testcontainers, and feature server startup.
- Run that local functional slice on one Python/OS combination.
-
Matrix policy
- Keep full unit coverage on one primary Python version.
- Use smaller compatibility smoke/subset checks for other Python versions and macOS.
- Run full compatibility coverage nightly or on release-sensitive paths.
-
Master integration/build improvements
- Consider full integration on Python 3.11, with smaller compatibility coverage for 3.10/3.12.
- Split benchmark collection into a scheduled or non-blocking job.
- Audit
feature-server-devDocker build caching, Node version alignment, image context, and layer ordering.
This issue is intentionally broad so contributors can pick off independent pieces without needing to solve the whole CI design in one PR.
- 主要语言
- Python
- 星标
- 7.4k
- 派生
- 1.5k
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 107
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
feast-dev/feast 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
BigQuery data quality monitoring fails: PRIMARY KEY placed outside the column list in monitoring table DDL可能已有人在做 @liron-velocity 于 50 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
get_online_features silently drops a join key value when it shares a name with an OnDemandFeatureView's RequestSource field可能已有人在做 @OHMFOHS 于 99 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
kind/bug priority/p2
难度 1/5 1 小时以内 新手友好度 90/100
feast-dev/feast#6778 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
accepted
难度 2/5 1-3 小时 新手友好度 68/100
future-agi/future-agi#6392 ·
维护者通常 1 天内回复
-
memmapped_arange ignores the start value and drops the last point above the memmap threshold可能已有人在做 @prathameshfuke 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
StingraySoftware/HENDRICS#213 ·
-
Bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复