Tags and Properties for Check-in b53032d01f
- sym-leaf/v0.0.2=ctx-aware slog handler + NATS traceparent propagation added by [9022241c7d] on 2026-04-24 16:03:14
- sym-trunk propagates to descendants
Context
|
2026-04-24
| ||
| 16:03 | • Edit [b53032d01f]: Add tag "leaf/v0.0.2" with note "ctx-aware slog handler + NATS traceparent propagation". artifact: 9022241c7d user: [email protected] | |
| 16:02 |
notify: extract shared natshdr.Carrier to kill duplicate header-carrier
Two copies of natsHeaderCarrier existed (leaf/agent/nats.go and leaf/agent/notify/pubsub.go), both carrying the same latent case-sensitive Get bug that was fixed in Task 6. Extract the type to leaf/agent/internal/natshdr so the next bug can be fixed once. While consolidating, drop the 4-tier fallback in Get in favor of a single EqualFold scan. Header maps are tiny (typically 3 entries) and tiers 1-3 were subsumed by tier 4 anyway. The new implementation is demonstrably correct and easier to read. check-in: b53032d01f user: [email protected] tags: trunk, leaf/v0.0.2 | |