Skip to content

Suspended executions wasm#2195

Draft
cedric-cordenier wants to merge 1 commit into
mainfrom
suspended-executions-wasm
Draft

Suspended executions wasm#2195
cedric-cordenier wants to merge 1 commit into
mainfrom
suspended-executions-wasm

Conversation

@cedric-cordenier

Copy link
Copy Markdown
Contributor

Requires

Supports


switch {
case containsCode(err, wasm.CodeSuccess):
if any(exec.response) == nil {
@cedric-cordenier cedric-cordenier force-pushed the suspended-executions-wasm branch 8 times, most recently from 25df6f9 to c191bd4 Compare June 25, 2026 15:27
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

⚠️ API Diff Results - github.com/smartcontractkit/chainlink-common

⚠️ Breaking Changes (1)

pkg/workflows/wasm/host (1)
  • module — Old is comparable, new is not

✅ Compatible Changes (1)

pkg/workflows/wasm/host.ModuleConfig (1)
  • SuspensionEnabled — ➕ Added

📄 View full apidiff report

@cedric-cordenier cedric-cordenier force-pushed the suspended-executions-wasm branch 3 times, most recently from cf6ee05 to 2e51ee3 Compare June 26, 2026 10:54
Suspends a guest by trapping await_capabilities when an awaited capability
response is not yet ready, waits for the response, and resumes by
re-instantiating the guest in a fresh store while preserving the fuel/epoch
budget. Gated by ModuleConfig.SuspensionEnabled. Adds the suspended_executions
and non_deterministic_input standard tests.
@cedric-cordenier cedric-cordenier force-pushed the suspended-executions-wasm branch from 2e51ee3 to cc6a317 Compare June 26, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant