Skip to content

Context/resource ID should be always provided in the hostcall #59

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
PiotrSikora opened this issue Oct 3, 2024 · 0 comments
Open
Milestone

Comments

@PiotrSikora
Copy link
Member

Currently, the effective context_id is tracked by the host, but this results in a weird asymmetry between hostcalls (without context_id) and callbacks (with context_id), and makes it harder to build higher-level interfaces on top of those hostcalls.

In order to help with migration from v0.2 to vNEXT, we should accept context_id=0 as "context_id tracked by the host". This should be advertised via settings/feature flag and eventually removed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant