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分
- マージ済み PR(30日)
- 384
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 15/100
apache/magpie#2176 · コメント 1 件 ·
メンテナーはふだん 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
apache/magpie#2075 · コメント 1 件 ·
メンテナーはふだん 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 日以内に返信
-
404 on sample dataオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100