Link state errors to the operation that established the relevant state
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 67
- Forks
- 36
- Merge medio
- 7 d 48 min
- PR fusionados (30 d)
- 2
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de liquid-java/liquidjava
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
liquid-java/liquidjava#297 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
liquid-java/liquidjava#296 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
liquid-java/liquidjava#295 ·
-
Add a flag -a to show all verification conditions sent to the smt solverQuizá libre de nuevo @CatarinaGamboa la tomó hace 118 días y no hay ningún pull request abierto. Abiertoenhancement
liquid-java/liquidjava#240 · 1 asignado ·
-
enhancement ide
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
liquid-java/liquidjava#206 ·
Todos los issues de liquid-java/liquidjava
Issues similares
-
P2 testing
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
area/core kind/bug status/triage team/core-shared
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
checkstyle/checkstyle#21755 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
spring-projects/spring-integration#11495 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día