User modifies test code while it is running, which jams the inline snapshot
まだ誰も着手していません。
評価
調査の方向性
Issue にはファイル、テスト、エントリーポイントが指定されていません。テストの実行から完了まで、inline snapshot の更新フローを追跡し、その後、テスト開始後に行われた編集を検出する方法を判断してください。完了条件は、ツールがそのケースを特定し、現在の blame 取得エラーを出すのではなく、ユーザーがテストコードを変更したと報告することです。
索引モデルが issue の本文から書いたものです。
説明
- there is testcode
- then it gets compiled
- then the test starts running
- when the test completes, Selfie modifies the testcode
When selfie modifies test code, it doesn't blindly trust line numbers. It parses the literal which is present, and makes sure that it matches the value it expected before replacing it with a new value.
But just the same, all it can do right now is throw an error, and it takes all the blame. If the user modifies files between 2 and 3, there's not much we can do about it. But if the modification happens between 3 and 4, we should be able to say "hey don't do that!".
- 主要言語
- Kotlin
- スター
- 101
- フォーク
- 18
- 平均マージ
- 6日 11時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
diffplug/selfie のほかの issue
-
Selfie JVM Snapshot Garbage Collection is overly zealous when using multiple test suites in gradleオープンbug jvm
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
enhancement jvm
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
bug jvm
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
bug docs jvm
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
-
bug jvm py
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
diffplug/selfie の issue をすべて見る
似ている issue
-
node: disconnection push notification is logged as "Unknown notification" instead of the disconnect warning対応中かも @datatrigger が今日担当しました。 オープンbug 🐞 Untriaged user issue
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
valkey-io/valkey-glide#7278 ·
メンテナーはふだん 2 日以内に返信
-
design
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
mobile-dev-inc/Maestro#3659 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
sqldelight/sqldelight#6382 ·
メンテナーはふだん 1 日以内に返信