You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a bounded ContextBaggage — a key/value container carried alongside context/trace, subject to the same limits as the context itself (max key count, max total size) to avoid transport overload.
Goal
Provide an ergonomic, bounded side-channel for auxiliary fields (tenant, region, user tags) without expanding the IContext contract on every new field.
Problem
Ad hoc baggage (e.g. W3C baggage header) has no structure or limits here. Unbounded key/value growth can overload HTTP headers/queue headers, and heavy use risks violating the principle "context is metadata, not state".
Scope
Key-value bag container that follows the current scope/ambient flow.
Bounded: configurable max number of keys and max total encoded size.
Set/Get/Remove API with static ambient facade plus injectable instance.
Activity