nativelink icon indicating copy to clipboard operation
nativelink copied to clipboard

Add OriginContext to track data across modules

Open allada opened this issue 1 year ago • 0 comments

Adds OriginContext that can have data set on it about the origin and read out in any module at any time. This is designed to allow us to track "requests" (usually network requests) as it traverses through the system.

The most immediate use is to track what hashing algorithm was requested for VerifyStore and verify the data using it.

In the future we'll likely use this for other things, like tracking a "user" and emit what resources that user used over time and emit it to another system based on a config.


This change is Reviewable

allada avatar Apr 24 '24 09:04 allada