Files
Kim Altintop b391d7333d Persist host type update and honor stored value after restart (#4549)
Fixes two issues that would prevent updating a database while also
changing the host type:

- We never actually updated the `ModuleKind` in `st_module` (hardcoded
to wasm)
- We never actually honored the value from `st_module` when
instantiating a module

To do so, the `Program` type from the datastore crate now carries the
`ModuleKind`, forcing call sites to make a decision.

Small adjustments to the smoketests / guard crate where made when
writing the test for this.

# Expected complexity level and risk

1

# Testing

- [x] Added smoketest
2026-03-07 22:00:59 +00:00
..
2026-01-06 22:22:57 +00:00