fix(viewport): report a native resource limit during view build as resource_limit
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 30/100
Línea de trabajo
Start with view_error_category in src/app/panels.rs and the each_view_error_has_its_viewport_error_category test. Check .project-docs/mcp.md for the MCP-visible viewport_error category. Done means the native resource-limit case is categorized as resource_limit, other native errors remain scene_geometry, and reverting the change makes the test fail; linked PR #425 indicates work is already underway.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
Raised by a review of #399. view_error_category (src/app/panels.rs) maps ViewError::Native(NativeError::ResourceLimit) to ViewportError::SceneGeometry, so a view build that fails because an allocation or admission limit was hit is reported as scene_geometry instead of resource_limit. ViewError::ResourceLimit itself already maps to resource_limit. #399 kept the old behaviour on purpose (the catch-all _ => SceneGeometry it replaced did the same) and pins it in each_view_error_has_its_viewport_error_category, so changing it is a separate, small behaviour change.
Change
- Map
ViewError::Native(NativeError::ResourceLimit)toViewportError::ResourceLimit; keepscene_geometryfor the otherNativeerrors. - Update the pinned test case to expect
resource_limit, and check the MCP-visibleviewport_errorcategory in.project-docs/mcp.mdstill matches. - Probe: reverting the new arm must fail the test.
Related: #399, #384.
- Lenguaje dominante
- Rust
- Estrellas
- 4
- Forks
- 2
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 225
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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 cristim/AztecCraft
-
fix(operations): the NoSelection message says 'before framing' for Delete and pivot resetPosiblemente ocupada @calmasacow la tomó hoy. Abiertoarea/ui-parity effort/xs impact/few priority/p3 severity/low triaged type/bug urgency/eventually
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cristim/AztecCraft#431 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area/ui-parity effort/s impact/few priority/p3 severity/low triaged type/bug urgency/eventually
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
cristim/AztecCraft#430 ·
Los mantenedores suelen responder en 1 día
-
refactor(mcp): make the Keys error-code match exhaustive instead of a scene_error wildcardPosiblemente ocupada @cristim la tomó hace 1 día. Abiertoarea/mcp effort/xs impact/few priority/p3 severity/low triaged type/chore urgency/eventually
Dificultad 3/5 Medio día Aptitud para principiantes 25/100
cristim/AztecCraft#420 ·
Los mantenedores suelen responder en 1 día
-
fix(mcp): range-check NDC arguments on the wire value before narrowing to f32Posiblemente ocupada @cristim la tomó hace 1 día. Abiertoarea/mcp effort/s impact/few priority/p3 severity/low triaged type/bug urgency/eventually
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
cristim/AztecCraft#419 ·
Los mantenedores suelen responder en 1 día
-
fix(viewport): use a vertex-relative signed area in polygon_overlaps_rectPosiblemente ocupada @cristim la tomó hace 1 día. Abiertoarea/selection effort/xs impact/few priority/p3 severity/low triaged type/bug urgency/eventually
Dificultad 3/5 Medio día Aptitud para principiantes 22/100
cristim/AztecCraft#418 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de cristim/AztecCraft
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
ci javascript tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jonathanong/no-mistakes#3258 ·
Los mantenedores suelen responder en 1 día
-
Add to bmi docsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
eWaterCycle/bmi-rust#2 ·
-
area: cpu-engines area: fuzzer good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 91/100
hffgzktbcc-blip/ounce-core#402 ·
Los mantenedores suelen responder en 1 día
-
compiler
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
HerringtonDarkholme/hd-lang#1699 ·
Los mantenedores suelen responder en 1 día