Skip to content

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

Closed

Description

@PiotrSikora

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.

Activity

  1. added this to the v0.3.0 milestone on Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions