Artifact 97d84526bf4451120e135ebdfaa91df1cdb09e5643d9292768fb49ca7ff65ac4:
- File
leaf/agent/internal/natshdr/carrier_test.go
-
2026-04-24 16:02:07
— part of check-in
[b53032d01f]
on branch trunk
— 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. (user: [email protected], size: 2751) [annotate] [blame] [check-ins using]
-
2026-04-26 15:20:20
— part of check-in
[d59e2dece9]
on branch trunk
— Merge pull request #78 from danmestas/add-docs-site
docs: Hugo+hextra docs site with Cloudflare Workers deploy (user: [email protected], size: 2751) [annotate] [blame] [check-ins using]
-
2026-04-24 16:02:07
— part of check-in
[b53032d01f]
on branch trunk
— notify: extract shared natshdr.Carrier to kill duplicate header-carrier