Link state errors to the operation that established the relevant state
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Start with the E_A3_07_ScannerOutputStage example and trace how verifier provenance metadata reaches the error DTO and extension link. Check how state transitions and @StateSet/@StateRefinement information are currently represented, then verify the acceptance cases: preserved origins, separate receiver origins, constructor origins, and no link for ambiguous branches. Confirm that existing verification results remain unchanged.
索引モデルが issue の本文から書いたものです。
説明
Problem
A state error points to the rejected call, but often leaves the developer searching for the earlier operation that established the receiver's relevant state. In E_A3_07_ScannerOutputStage, preview.setTiling(...) fails at line 59 because preview.setTilingMode(MODE_COPY_FROM_METADATA) at line 53 left its tiling state at startTiling. Intervening compression calls make that connection harder to spot.
Proposed first version
Track the source location of the call or construction that establishes a receiver's state in a particular @StateSet. Carry that origin through operations that preserve that state set. When a state error occurs, include a clickable “State established here” location only when the origin is unambiguous. Record the user-code call site after resolving the resulting state, rather than the location of the @StateRefinement declaration.
Start with straight-line code and a known resulting state. For the scanner example, the link should lead to line 53. If the origin cannot be established reliably, keep the current error without a link.
This needs verifier provenance metadata carried to the error DTO and an extension link to display it. Existing source mappings alone do not provide a reliable transition history. The feature is deterministic and does not require an LLM.
Acceptance criteria
- Calls affecting another state set do not replace the tiling origin.
- Two receivers, such as
archiveandpreview, retain separate origins. - Constructor-established states can point to construction where applicable.
- Branches with different possible origins, or transitions whose resulting state cannot be resolved reliably, do not produce a misleading single link.
- Existing verification results remain unchanged.
Priority and scope
Lower priority, technically difficult enhancement. A conservative first version is preferable to guessing an origin in complex control flow.
- 主要言語
- Java
- スター
- 67
- フォーク
- 36
- 平均マージ
- 7日 48分
- マージ済み PR(30日)
- 2
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
liquid-java/liquidjava のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
liquid-java/liquidjava#297 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
liquid-java/liquidjava#296 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
liquid-java/liquidjava#295 ·
-
Add a flag -a to show all verification conditions sent to the smt solver再び着手できるかも @CatarinaGamboa が 119 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
liquid-java/liquidjava#240 · 担当者 1 名 ·
-
enhancement ide
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
liquid-java/liquidjava#206 ·
liquid-java/liquidjava の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
go 🏃 testing 🧪
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
valkey-io/valkey-glide#7239 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/copilot-sdk#2793 ·
メンテナーはふだん 1 日以内に返信