Skip to content

fix(p3-shim): restore task context for deferred fused adapter starts - #2261

Merged
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
ryan-surname-p:fix/p3-delayed-subtask-context
Oct 15, 2026
Merged

vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
ryan-surname-p:fix/p3-delayed-subtask-context

Conversation

@ryan-surname-p

Copy link
Copy Markdown

Jco tracks the current component task using dynamically scoped global metadata. When a delayed path resumes in a new timer callback, that metadata has already been cleared.

The fix restores the callee’s task metadata while the delayed adapter runs, then reinstates the previous context.

@vados-cosmonic vados-cosmonic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Thanks for the fix @ryan-surname-p !

@ryan-surname-p ryan-surname-p changed the title fix(p3): restore task context for deferred fused adapter starts fix(p3-shim): restore task context for deferred fused adapter starts Oct 15, 2026
@ryan-surname-p
ryan-surname-p force-pushed the fix/p3-delayed-subtask-context branch from 12aaafe to e21ac9e Compare October 15, 2026 14:09
@vados-cosmonic

Copy link
Copy Markdown
Collaborator

Thanks for the proactive rebase! This should be in soon and I'll make a release of p3-shim then release jco as well

@vados-cosmonic
vados-cosmonic force-pushed the fix/p3-delayed-subtask-context branch from e21ac9e to aee49c8 Compare October 15, 2026 14:44
@vados-cosmonic
vados-cosmonic added this pull request to the merge queue Oct 15, 2026
Merged via the queue into bytecodealliance:main with commit 10c95b3 Oct 15, 2026
65 checks passed
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.

2 participants