spec icon indicating copy to clipboard operation
spec copied to clipboard

Context/resource ID should be always provided in the hostcall

Open PiotrSikora opened this issue 1 year ago • 0 comments

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.

PiotrSikora avatar Oct 03 '24 19:10 PiotrSikora