
When Context Betrays You: Deriving Contexts for Optional Operations in Go
In Go, context.Context is the standard mechanism for propagating cancellation, deadlines, and values across Goroutines and function calls. But passing context forward has a subtle trap.