pregate: safe handling of removed non-test paths and source renames (follow-up to #3529)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- dart, javascript, python, typescript
調査の方向性
Read the GSTA-137 review outputs adversarial-native-5a1577b.txt and fix-check2.txt, then trace how lanes reports PREGATE_NO_LANE for removed paths. The issue calls for a design that detects extensionless, dotted-module, and computed references safely, including old names from source renames. Done means removed source paths and rename old names are handled without waiving paths that remaining tests or code still reference.
索引モデルが issue の本文から書いたものです。
説明
Follow-up to #3529 / #3534 (GSTA-137). #3534 waives only removed tests. Every other removed path still fails lanes with PREGATE_NO_LANE until a test or a dependencies entry covers it. That includes a deleted source file nothing uses and a renamed source file's old name, so dead-code cleanups and source renames still need a hand-written entry.
Why it was narrowed. Earlier cycles of #3534 waived a removed JS, TS, Python or Dart file when no remaining file imported it or mentioned its basename. Review kept finding references that check missed, and each one passed pregate while a remaining test failed after merge:
- a computed
path.join(__dirname, 'lib', 'value.js') importlib.import_module("app.handlers")python3 -m tools.clinode lib/cliin package.json
Main refuses all four. The controller (GStack Minder) narrowed plan item D3 to removed tests only.
What a safe design needs. It needs reference detection that fails closed for extensionless, dotted-module and computed references. One option is to resolve a removed source file's old name the way an edit to it would be resolved, then run those tests instead of waiving it. It also needs the same treatment for a source rename's old name.
Evidence: GSTA-137 review outputs adversarial-native-5a1577b.txt and fix-check2.txt.
- 主要言語
- TypeScript
- スター
- 143k
- フォーク
- 21k
- 平均マージ
- 5時間 25分
- マージ済み PR(30日)
- 791
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
garrytan/gstack のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
garrytan/gstack#4971 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
garrytan/gstack#4768 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 3/5 1〜2日 初心者へのやさしさ 60/100
garrytan/gstack#4766 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
S3
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
garrytan/gstack#4765 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
garrytan/gstack#4764 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
garrytan/gstack の issue をすべて見る
似ている issue
-
bug Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
scottbenton/Iron-Link#541 ·
メンテナーはふだん 1 日以内に返信
-
hosts settings: the SSH address field and the separate User field are two ways to name one SSH userオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
prime-radiant-inc/evener#8161 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nicobailon/pi-subagents#3420 ·
メンテナーはふだん 1 日以内に返信
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yオープン01 type: bug 99 tag: UX Accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信