`*Client.NewStream()` does not apply metadata to `Request{}`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from containerd/ttrpc
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
containerd/ttrpc#258 ·
-
Occasional streamHandler map memory leakMay be free again @fuweid claimed this 175 days ago, and no pull request is open. Open
containerd/ttrpc#236 · 1 reaction · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
containerd/ttrpc#212 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
containerd/ttrpc#203 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
containerd/ttrpc#184 · 9 comments ·
All issues in containerd/ttrpc
Similar issues
-
P3 tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
kind/feature needs-triage priority/unprioritized
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NVIDIA/k8s-test-infra#1504 ·
Maintainers usually reply within 1 day
-
Area/Infrastructure Aspect/Infra Resources Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
wso2/agent-manager#2717 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
open-policy-agent/opa#9685 · 1 comment ·
Maintainers usually reply within 1 day