winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.9k stars 194 forks source link

Simulator snapshots #4770

Open eladcon opened 10 months ago

eladcon commented 10 months ago

Feature Spec

The simulator can now import and export snapshots of it's current state. A snapshot describes the state of every resource in the simulator, allowing users to save their data and load it at a later point.

Some use cases that might be interesting with this feature:

Use Cases

see above

Implementation Notes

Resources can implement serialize and deserialize operations to import and export state, while the simulator calls the relevant operation on every resource.

Component

No response

Community Notes

github-actions[bot] commented 7 months ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!