`*Client.NewStream()` does not apply metadata to `Request{}`

Open
#159 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
go
Domain
api

Research direction

Start in client.go at the linked *Client.Call() implementation and compare it with *Client.NewStream(). Confirm how metadata is applied to Request{} in Call, then make NewStream behave consistently and verify that stream requests retain the client metadata.

Written by the indexing model from the issue text.

Description

*Client.Call() apply metadata to Request{}:
https://github.com/containerd/ttrpc/blob/faba5896a9c4d7b65495cb9b2c02531feb1434d6/client.go#L162-L164

But *Client.NewStream() does not have this block - so metadata not applyed.

Please add this block to *Client.NewStream().
Thank you!

Dominant language
Go
Stars
674
Forks
90
Avg merge
16h 32m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/ttrpc

All issues in containerd/ttrpc

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.