feat(world-builder): register uploaded graphics and extend palette schemas (#6) - #111
feat(world-builder): register uploaded graphics and extend palette schemas (#6)#111Rodrigoue9 wants to merge 12 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! 🚀 |
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.