Steps to reproduce
- Start a preset creation from a configuration with a literal env value:
env:
- MODEL_LABEL=some-value
- Interrupt it.
- Resume from a shell where
MODEL_LABEL is not set: dstack preset resume <id>.
Actual behaviour
Environment variable MODEL_LABEL is not set
The session record stores env by name only, so on resume the literal reads back as a passthrough that must resolve from the local environment.
Expected behaviour
dstack preset resume <id> resumes with MODEL_LABEL=some-value from the recorded configuration.
Steps to reproduce
MODEL_LABELis not set:dstack preset resume <id>.Actual behaviour
The session record stores env by name only, so on resume the literal reads back as a passthrough that must resolve from the local environment.
Expected behaviour
dstack preset resume <id>resumes withMODEL_LABEL=some-valuefrom the recorded configuration.