Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Propagate request id on incoming and outgoing requests #582

Merged
merged 3 commits into from
Jul 13, 2023

Conversation

EngHabu
Copy link
Contributor

@EngHabu EngHabu commented Jul 1, 2023

TL;DR

Parses out incoming request id if set on grpc or http headers and set it on the context as well as on outgoing metadata for all grpc calls that happen within the same context.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Tracking Issue

fixes flyteorg/flyte#3577

@codecov
Copy link

codecov bot commented Jul 1, 2023

Codecov Report

Merging #582 (d47d6a0) into master (b93457f) will increase coverage by 1.49%.
The diff coverage is n/a.

❗ Current head d47d6a0 differs from pull request most recent head db7d6bd. Consider uploading reports for the commit db7d6bd to get more accurate results

@@            Coverage Diff             @@
##           master     #582      +/-   ##
==========================================
+ Coverage   58.70%   60.19%   +1.49%     
==========================================
  Files         168      168              
  Lines       16307    13326    -2981     
==========================================
- Hits         9573     8022    -1551     
+ Misses       5884     4454    -1430     
  Partials      850      850              
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 155 files with indirect coverage changes

katrogan
katrogan previously approved these changes Jul 13, 2023
@EngHabu EngHabu marked this pull request as ready for review July 13, 2023 19:11
@EngHabu EngHabu enabled auto-merge (squash) July 13, 2023 19:41
katrogan
katrogan previously approved these changes Jul 13, 2023
Signed-off-by: Haytham Abuelfutuh <[email protected]>
@EngHabu EngHabu merged commit fb359bc into master Jul 13, 2023
@EngHabu EngHabu deleted the request-id-http branch July 13, 2023 20:13
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Housekeeping] Add a RequestID field to contextutils and logger
2 participants