You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(minimald): a box created with file_imports, github_imports or otel cannot resume #4078
minimald accepts a create whose received spec carries [[file_imports]], [[github_imports]] or [otel]. It warns about the section once and stores the spec as received (unenforced_sections_warn_once_each_naming_section, box_manager/tests.rs ~4073). Later, a resume or restart of that box parses the stored bytes as a typed BoxSpec (box_runtime/launcher.rsstored_spec, called from box_actor.rschecked_stored_spec). SpecDoc is deny_unknown_fields and has no field for those sections, so the resume fails with InvalidInput: "The settings it was created with cannot be read: …".
So the box is created, but it can never be resumed or restarted.
Who reaches it
Only a spec that another client sends. min never writes those sections, because the typed BoxSpec has no field for them, and #4067 refuses them in minimal.toml as not supported yet.
Expected
Create and resume should agree. Either minimald refuses those sections at create with exit 3 (consistent with #4067's not-supported-yet refusal), or SpecDoc keeps them so the stored spec reads back.
Activity