moly: Add player data import and improve runtime reliability - #1
Merged
Merged
Conversation
Add UID and JSON layout imports to Settings with previews, palette mapping, backup restoration, and matching site selection. Set the workspace version to 0.0.1 and add static CI without build steps. Order simulation dependencies, isolate browser renderer startup, coordinate settings writers, validate asset paths, and enforce pack identity and memory limits. Record checker process outcomes and run identity.
Return placement errors for invalid editing footprints and preserve drafts and stored layouts. Queue admissible pack reads, release consumed reader budgets, and reserve identity data without a decompression buffer. Stream and cancel player HTTP and file reads, check browser file sizes before opening streams, serialize import transfers, and discard stale completions. Add synthetic headless regressions and include delay fields in the existing talk test fixtures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add player layout import to Settings, set the application version to 0.0.1, and handle runtime, persistence, and asset-loading failure paths.
Changes
haruki-api.menardi.topby default, with a same-origin browser relay and optional Worker entry point. Stream native and browser import reads, check file sizes before opening streams, serialize transfers, cancel active reads, and discard stale completions.Validation
cargo test --release --workspace --lib -- --test-threads=1: 528 passed, 6 existing tests ignored. Synthetic tests cover candidate overflow, command handling, unchanged storage, delayed concurrent readers, fair admission, cancellation, HTTP limits, and stale completions.The pack byte quota covers buffers held by readers; data already handed to loaders and GPU resources are outside it. Seeking loaders can use Bevy's
VecReaderfallback. Custom images, ornaments, wallpaper, and floor appearances are retained as records but are not rendered. Successful UID fetches used captured-response replay; a valid live player UID was not available. Game assets and player data are not included.The corresponding import-resource exporter is included in empty-sekai/moly-root#1.