Cross-target clippy (check rs_cross) is a quarter of each local check
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
調査の方向性
Start by reading sh/rs/cross-lint.sh and the just check and just ci definitions to see how rs_cross runs and where --all-targets is set. Compare the two options in the issue against the native nightly lanes and landing worker gate; done means choosing and implementing a scope change that reduces local check time while documenting where cross-target test errors will be caught.
索引モデルが issue の本文から書いたものです。
説明
Problem
Over 7 hours of agent work on one 32-core host, just check and just ci in moq worktrees used 33 core-hours across 81 runs, a mean of about 25 CPU-minutes per run. The wall and CPU seconds per module summaries from 45 of those runs split it like this:
| Phase | Share of CPU | Mean CPU-min per run |
|---|---|---|
test rs |
40% | 12.2 |
check rs_cross |
23% | 6.6 |
check rs |
17.5% | 5.0 |
check js |
6% | 3.1 |
rs_cross's local narrowing to "selected crates that name a platform" saves little: it averaged 7.7 CPU-min underjust checkand 6.1 underjust ci.- In sampled
clippy-driverprocesses, test targets (--test) made up about 79% of cross-target clippy time (1.81 of 2.29 core-hours). Libs and bins made up the other 21%.
Options
- Drop
--all-targetsfromsh/rs/cross-lint.sh. macOS and Windows would lint libs, bins and examples, and leave test targets to the nightly native lanes. That cuts about three quarters of the phase, roughly 15% of every check. - Or run
rs_crossonly in the landing worker's gate, not in a localjust check.
Either way, a platform-gated error in a test target would surface later: in the nightly native lanes with the first option, or in the queue with the second.
(Written by Claude Opus 5.5 with high effort)
- 主要言語
- Rust
- スター
- 1.6k
- フォーク
- 251
- 平均マージ
- 10時間 10分
- マージ済み PR(30日)
- 822
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
moq-dev/moq のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
moq-dev/moq#10463 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
moq-dev/moq#10460 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
quest
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
moq-dev/moq#10373 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
quest
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
moq-dev/moq#10336 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
Test connection's password prompt says the password is never saved, also for a keychain profileオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
area: settings bug Haiku review: no-score ui
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MMFoundation/WallpaperMachine#346 ·
メンテナーはふだん 1 日以内に返信
-
Make the HTTP server's keep-alive and headers timeouts configurable対応中かも @mattgodbolt が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
compiler-explorer/compiler-explorer#9902 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信