Library callers can pass ids the grammar would refuse
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- testing-qa
Línea de trabajo
Start by reading the shared ID grammar and the exported gate() and mintReceipt() entry points. Trace the listed ID fields through both library boundaries and check the ground truth contract for the required behavior. Done means every screen or surface ID is validated with a typed error naming its field and position, without echoing the ID.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What
The shared id grammar is enforced where files are read: config, route sidecar, docs manifest, requirements, and noise budget keys. The exported gate() and mintReceipt() accept ids directly: coverage.affected[].screenId, drafts[].screenId, floor.entries[].screenId, waivers[].surface, cleanlyScannedScreens, checked, applicability[].screenId, and the config object handed to mintReceipt(). None is re-checked on the library path.
Direction
Validate every screen or surface id field at the boundary of both exported functions, refusing with a typed error that names the field and position and never echoes the id. The contract in the ground truth states this boundary explicitly.
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 2 h 48 min
- PR fusionados (30 d)
- 8
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
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 usabl-dev/usabl
-
area: engine bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
-
Stop hook allows a stop on an unknown verdict, and the self-check prints IDLE for a null verdictAbiertoarea: assistants bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
area: engine bug security
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Overlay: browser context failures are counted per plugin, not per browser, and close is not sharedAbiertoarea: overlay bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
area: engine enhancement performance
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Todos los issues de usabl-dev/usabl
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
db-ux-design-system/core-web#8613 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug:new
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
callstackincubator/simlock#934 ·
Los mantenedores suelen responder en 1 día
-
Log page not working after errorAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
gchq/LD-Explorer#286 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
foxglove/mcap#1907 · 1 comentario ·
Los mantenedores suelen responder en 1 día