Repository navigation
feat(world-builder): register uploaded graphics and extend palette schemas (#6) - #111
Rodrigoue9 wants to merge 14 commits into
Conversation
…rena reset functions (Bitcoindefi#26)
Code Review ✅ Approved 4 resolved / 4 findingsImplements palette entry validation with ✅ 4 resolved✅ Quality: validatePaletteEntry is never called and untested
✅ Bug: Engine graphic indices are accepted without existence check
✅ Bug: Dangling import of non-exported gracefulShutdown symbols breaks build
✅ Bug: Ping packets keep AFK players from ever being idle-kicked
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Important Your trial ends in 1 day — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more. Was this helpful? React with 👍 / 👎 | Gitar |
|
Addressed the liveness review finding in commit 09c069b:
All CI checks passing and ready for merge! 🚀 |
leocagli
left a comment
There was a problem hiding this comment.
La parte de validacion de paleta esta bien (paletteEntrySchema, el tope de grhIndex y los tests). Pero este PR no se puede mergear tal como esta:
El cambio en server/src/server.ts revierte #121. Saca lastPingAt del calculo de inactividad, y eso fue justamente lo que se corrigio porque los jugadores quedaban desconectados al bloquear la pantalla o quedarse quietos. Ese fix ya esta en produccion.
Pedido concreto: quitar todo el hunk de server/src/server.ts y dejar el PR solo con la validacion de paleta del issue #6. Si crees que los pings no deberian contar como actividad, abri un issue aparte con el argumento, no lo mezcles aca.
…epalive ping behavior
|
Hola @leocagli! 👋 Listo el cambio solicitado: en el commit
Queda listo para tu revisión final y merge. ¡Muchas gracias! 🙌 |
|
¡Hola @leocagli! 👋 Espero que hayas tenido un excelente inicio de semana. Te comento que acabo de sincronizar la rama del PR #111 con los últimos cambios de main (commit c66dd8b). Los 6/6 checks del CI de GitHub Actions están 100% en verde y el PR quedó limpio y listo para tu merge final cuando gustes. Asimismo, ya quedó abierto el PR #379 (para la Issue #10) con los 22 tests unitarios de Vitest pasando y validación BFS con rollback atómico. ¡Muchísimas gracias por el merge del PR #218! Ya tengo la wallet Stellar lista y configurada en el perfil de GrantFox para cuando tengas un momento para procesar la liberación en la plataforma. ¡Quedo a total disposición por cualquier duda o ajuste y te deseo una excelente semana! 🙌 |
|
¡Hola @leocagli! Espero que estés muy bien. 🙌 Te dejo un breve resumen de estado para cuando hagas la próxima ronda de revisiones:
También dejé propuestas técnicas detalladas en v0-piggy-city ( |
Summary
Resolves #6 by implementing
paletteEntrySchemaandvalidatePaletteEntryto validate multi-layer palette definitions, enforce non-colliding graphic index allocations (UPLOADED_GRAPHIC_INDEX_START = 1_000_000), and verify graphic existence across engine and uploaded assets.Changes
paletteEntrySchemaandvalidatePaletteEntryinapi/src/repositories/worldBuilder.ts.api/src/repositories/__tests__/paletteValidation.test.ts.Closes #6
Summary by Gitar
server/src/server.ts.This will update automatically on new commits.