Rust adapter: selective runs on real repositories

オープン
#131 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, rust

調査の方向性

Start with the Cargo adapter registration and the rust-lang/glob replay pinned in #95, and read #91's out-of-workspace manifest agreement plus #92–#95 for the adapter contract. Compare how existing adapters classify non-code paths and runtime-input tokens, then use those paths as the reference. Done means at least one historical revision in the pinned replay narrows instead of staying FULL, while the selected tests still catch the same failures as the full baseline.

索引モデルが issue の本文から書いたものです。

説明

Follow-up to #62. Once #92–#95 merge, the Rust (Cargo) adapter is registered and safe, but it cannot narrow a real repository yet: the pinned rust-lang/glob replay stayed FULL on every revision. This issue tracks the work needed for real-repository selectivity.

Scope

  • External dependency inputs. The blockers for non-workspace packages, dependency features or default-features = false, build scripts and proc macros currently run over every resolved package. Apply them only to the crates a change reaches, wherever the dependency graph can show that.
  • Runtime-input tokens. fs, unsafe, exists, metadata, process and similar words in a source file force a repo-wide full run. Narrow this to the owning crate and its dependents.
  • Out-of-workspace Cargo.toml. As agreed in #91: treat unmodeled manifests as ownership boundaries and require full validation only when the changed set or its dependents reach them. Keep the repo-wide fallback when metadata can't tell.
  • CI invocation evidence. Accept common toolchain setup and cache steps (for example dtolnay/rust-toolchain, Swatinem/rust-cache) when they don't change how cargo test runs.
  • Non-code paths. Classify README.md, docs/** and similar files the way the other adapters do, instead of forcing a full run.
  • Workspace scope. Handle default-members and a root [package], where plain cargo test covers only some members.

Done when a pinned public Rust replay narrows at least one historical revision, and the selected tests catch the same failures as the full baseline.

Maintainer: @FredApps.

主要言語
TypeScript
スター
0
フォーク
4
平均マージ
18時間 41分
マージ済み PR(30日)
48

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DiffCI/core のほかの issue

DiffCI/core の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。