ci: start each shipped tool once from its packaged plugin copy
维护者通常 1 天内回复
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 57/100
调研方向
Read tools/dev/check-family-plugins.py, especially _packaged_pyproject, and inspect the existing workflows under .github/workflows. Copy plugin tools outside the checkout and probe their entry points with the supplied uv commands; the two tools without project scripts need another probe. Done means CI verifies packaged tools can resolve and start, with the coverage scope chosen by maintainers.
由索引模型根据 Issue 内容生成。
描述
What
Nothing in CI starts a tool from its copy under plugins/magpie-*/tools/. tools/dev/check-family-plugins.py copies framework tools into plugins and rewrites each copied pyproject.toml (_packaged_pyproject) so the tool resolves without the uv workspace. The tests assert the rewritten text. plugins/pyproject.toml excludes the copied tools/ trees from mypy and pytest. I found no test or workflow that resolves or starts a tool from its copy (searched .github/workflows and tools/*/tests).
Why it matters
#1357 and part of #1937 fixed copies that uv could not resolve on a marketplace install. Each was found after it shipped.
Suggested fix
A CI job that copies the plugin tools/ trees outside the checkout and starts each tool once. On main at ff313989 this worked for two tools, with --offline:
uv run --project tools/local-tracker magpie-local-tracker --help
uv run --project tools/maildir maildir-draft-find --help
27 of the 29 copied pyproject.toml files list entry points under [project.scripts]. typed-decision and security-tracker-stats-dashboard list none and need a different probe. Whether to cover every copy or a sample, given the CI cost, is the maintainers' call.
Related
#1357, #1937
- 主要语言
- Python
- 星标
- 152
- 派生
- 133
- 平均合并
- 12 小时 39 分钟
- 30 天内合并 PR
- 384
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/magpie 的其他 Issue
-
vote-tally: date_order_mismatches compares ISO dates as text, so UTC offsets are misread可能已有人在做 @leninworld 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
release-verify-rc: the Nexus staging id shape refuses Maven's maven-NNNN ids可能已有人在做 @Anurag-S1ngh 于 3 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
-
family:tools substrate:sandbox
难度 5/5 一周以上 新手友好度 15/100
维护者通常 1 天内回复
-
capability:fix capability:intake family:docs family:security family:tools substrate:sandbox
难度 4/5 3-5 天 新手友好度 42/100
维护者通常 1 天内回复
-
feat(issue): interactive duplicate-picker pane mod for issue-deduplicate可能已有人在做 @Kaap10 于 8 天前认领。 未关闭capability:resolve enhancement family:ci family:dev family:docs family:issue family:setup family:tools substrate:framework-dev
难度 4/5 3-5 天 新手友好度 22/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
OpenFreeEnergy/openfe#2371 ·
维护者通常 2 天内回复
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)未关闭
难度 2/5 1-3 小时 新手友好度 80/100
NCATSTranslator/Babel#1269 ·
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 80/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100