Skip to content

workflows/wasm/host: classify epoch interrupts as timeouts - #2462

Merged
cfal merged 2 commits into
mainfrom
wasm-epoch-timeout
Oct 14, 2026
Merged

cfal merged 2 commits into
mainfrom
wasm-epoch-timeout

Conversation

@cfal

@cfal cfal commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

the shared 100 ms ticker can interrupt execution before the elapsed-time heuristic recognizes a timeout, causing raw Wasmtime traps to escape as execution errors. classify timeouts using Wasmtimes interrupt trap code and the effective execution context instead, and round fractional timeout budgets up to whole ticks to avoid prematurely shortened or zero-tick deadlines.

@cfal
cfal requested a review from a team as a code owner October 13, 2026 20:35
@github-actions

Copy link
Copy Markdown
Contributor

👋 cfal, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-common

View full report

@cfal
cfal added this pull request to the merge queue Oct 14, 2026
Merged via the queue into main with commit daa34bb Oct 14, 2026
35 of 37 checks passed
@cfal
cfal deleted the wasm-epoch-timeout branch October 14, 2026 17:28
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.

3 participants