Closed StuartHarris closed 10 months ago
Hello, thanks for the report. I see a bug in the cloud implementation that would impact the 2.0 variables interface. Should be fixed in a couple of hours.
I believe this is fixed now. Please reopen if you continue seeing problems.
Hi there. I'm not sure how to run a Spin 2 app that uses variables in Fermyon Cloud. The new API
spin_sdk::variables::get("var_name")?
results in 500 error, with no logs. And the old API (spin_sdk::config::get()
) is no longer available.The new API works locally with Spin 2.0.0, but not in Fermyon Cloud, and it took a while to track it down, because it seems logs are no longer written when the workload panics.
Thanks for any help (totally get it's bleeding edge :-) )!
spin --version
)spin 2.0.0 (e4bb235 2023-11-03)
spin plugins list --installed
)cloud 0.5.1 [installed] js2wasm 0.6.1 [installed] py2wasm 0.3.2 [installed]