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

Make Stackdriver propagation module consistent with other propagations interface #436

Conversation

mayurkale22
Copy link
Member

This PR fixes two things:

  1. Stackdriver propagation exports an implementation of Propagation, while B3, Binary Format, TraceContext and Jaeger propagation exports a class constructor. Fixes B3 Propagation UX issues #340
  2. Enforce strictNullChecks and noUnusedLocals on Stackdriver propagation package. This is part of feat: enable strictNullChecks on this repo. #348

@mayurkale22 mayurkale22 force-pushed the enforce_strictNullcheck_sd_prop branch from 6a8c839 to 7792f2b Compare March 20, 2019 19:33
@mayurkale22
Copy link
Member Author

@kjin As this fixes your issue #340, It will be nice to have reviews from you.

Copy link
Contributor

@kjin kjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, in the future it would be great if the CI shows green before requesting reviews.

@mayurkale22 mayurkale22 force-pushed the enforce_strictNullcheck_sd_prop branch from 438cbfe to 0417b49 Compare March 21, 2019 00:44
@mayurkale22
Copy link
Member Author

LGTM, in the future it would be great if the CI shows green before requesting reviews.

Sure, btw current build failure wasn't related to this change.

@codecov-io
Copy link

Codecov Report

Merging #436 into master will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #436      +/-   ##
==========================================
+ Coverage    94.9%   94.97%   +0.06%     
==========================================
  Files         141      143       +2     
  Lines        9321     9407      +86     
  Branches      673      678       +5     
==========================================
+ Hits         8846     8934      +88     
+ Misses        475      473       -2
Impacted Files Coverage Δ
src/index.ts 100% <0%> (ø) ⬆️
src/v1.ts 96.66% <0%> (ø) ⬆️
test/test-v1.ts 100% <0%> (ø) ⬆️
test/test-stackdriver-format.ts 100% <0%> (ø)
src/stackdriver-format.ts 96.42% <0%> (ø)
src/stackdriver-monitoring.ts 83.33% <0%> (+3.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c95aa0...0417b49. Read the comment docs.

@mayurkale22 mayurkale22 merged commit d3e2d7c into census-instrumentation:master Mar 21, 2019
@mayurkale22 mayurkale22 deleted the enforce_strictNullcheck_sd_prop branch March 21, 2019 01:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

B3 Propagation UX issues
5 participants