• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / tchannel-go / 3326
88%

Build:
DEFAULT BRANCH: dev
Ran 03 Aug 2017 11:50PM UTC
Jobs 4
Files 45
Run time 25s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3326

push

travis-ci

prashantv
Add tchannel.WithoutHeaders (#637)

This adds a function `tchannel.WithoutHeaders` (name TBD), which hides
TChannel Go-specific information from a Context.

This is needed to alleviate the following issue:

Existing TChannel Go services have been using the standard header
propagation behavior of TChannel Go (incoming headers are copied to
outgoing headers) happily and they start using YARPC+TChannel, or a
library that uses YARPC, to make outgoing calls to a different service.

Their expectation would be to have the headers copied over to that
outgoing call, especially if the underlying transport is TChannel. This
will not be supported in YARPC.

That leaves us with two options: silently ignore TChannel headers, or
reject outgoing requests made with TChannel contexts.

If we silently ignore TChannel headers, service owners who rely on this
behavior will suddenly start seeing hard-to-debug breakages. The number
of support tickets for this will be huge.

A better option is for YARPC to reject TChannel contexts on **all**
transports. YARPC will recommend that users remove the header
information from the context (with the use of `tchannel.WithoutHeaders`)
before passing it to YARPC. In the short-term, this adds a little work
for existing TChannel services but in the long run it saves them a lot
of time in terms of debugging.

3 of 3 new or added lines in 1 file covered. (100.0%)

4383 of 4947 relevant lines covered (88.6%)

28811.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3326.1 03 Aug 2017 11:51PM UTC 0
88.39
Travis Job 3326.1
2 3326.2 03 Aug 2017 11:50PM UTC 0
87.5
Travis Job 3326.2
3 3326.3 03 Aug 2017 11:50PM UTC 0
87.98
Travis Job 3326.3
4 3326.4 03 Aug 2017 11:50PM UTC 0
88.0
Travis Job 3326.4
Source Files on build 3326
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3326
  • dd73c1f9 on github
  • Prev Build on dev (#3317)
  • Next Build on dev (#3331)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc