Commit 4f89905
fix(review): address PR #121 review feedback
Address review comments from copilot-pull-request-reviewer:
- client.go: add messaging.operation.type="publish" to producer span
attributes in publishWithSpan to match documented semconv schema
- client.go: add messaging.operation.type="process" to consumer span
attributes in SubscribeWithTransportMessenger to match documented
semconv schema
- client.go: remove unconditional span.SetStatus(codes.Ok) after handler
returns; leave status unset on success per OTel spec, only set Error
on panic/failures
- tracing_test.go: rename subtest to "Set/Get round-trip preserves
values" — the body only exercises carrier.Set/Get, not a propagator
Resolves 4 review threads.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Issue: LFXV2-1743
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>1 parent 923c34f commit 4f89905
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| |||
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
200 | | - | |
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments