Skip to content

Async watcher Subscribe call is missing auth metadata #48

@zeevdr

Description

@zeevdr

Description

sdk/src/opendecree/async_watcher.py:209-213 invokes Subscribe without passing metadata=self._metadata(). AsyncConfigClient uses a raw (un-intercepted) channel and injects metadata on every unary call; the async watcher bypasses this. Auth-enabled servers reject the Subscribe with UNAUTHENTICATED.

Acceptance criteria

  • Thread metadata through AsyncConfigWatcher
  • Pass metadata=... to Subscribe
  • Add an integration test against a real server with auth enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority: P1Current milestone worksize: SQuick win — a few hours or less

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions