Skip to content

Draft: Save invocation metadata in contextvars for all requests

Shivam Bairoliya requested to merge sbairoliya/invocation_metadata into master

Before raising this MR, consider whether the following are required, and complete if so:

  • Unit tests
  • Metrics
  • Documentation update(s)

If not required, please explain in brief why not.

Description

!773 (merged) Added support for "Use contextvars to populate invocation_metadata in remote CAS/ActionCache requests". Contextvars stores the authorization header and other headers that can be used for authentication.

This will be beneficial when trying to use with remote stroage or ac

Changes proposed in this merge request:

  • Change 1
  • Change 2
  • Change 3

Validation

Please note steps the reviewer should take to be able to test this MR; any necessary setup they might need, what results they should be looking for to verify.

Issues addressed

Closes / Resolves / Addresses (delete as appropriate) issue <e.g. repo-name#x>

Edited by Shivam Bairoliya

Merge request reports