Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

[wip] chore: bump tarpc from 0.26.2 to 0.27.1#20135

Closed
dependabot[bot] wants to merge 3 commits intomasterfrom
dependabot/cargo/tarpc-0.27.1
Closed

[wip] chore: bump tarpc from 0.26.2 to 0.27.1#20135
dependabot[bot] wants to merge 3 commits intomasterfrom
dependabot/cargo/tarpc-0.27.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Sep 23, 2021

Bumps tarpc from 0.26.2 to 0.27.1.

Changelog

Sourced from tarpc's changelog.

0.27.1 (2021-09-22)

Breaking Changes

The Opentelemetry dependency is updated to version 0.16.x.

0.27.0 (2021-09-22)

This version was yanked due to tarpc-plugins version mismatches.

0.26.0 (2021-04-14)

New Features

Tracing

tarpc is now instrumented with tracing primitives extended with OpenTelemetry traces. Using a compatible tracing-opentelemetry subscriber like Jaeger, each RPC can be traced through the client, server, amd other dependencies downstream of the server. Even for applications not connected to a distributed tracing collector, the instrumentation can also be ingested by regular loggers like env_logger.

Breaking Changes

Logging

Logged events are now structured using tracing. For applications using a logger and not a tracing subscriber, these logs may look different or contain information in a less consumable manner. The easiest solution is to add a tracing subscriber that logs to stdout, such as tracing_subscriber::fmt.

Context

  • Context no longer has parent_span, which was actually never needed, because the context sent in an RPC is inherently the parent context. For purposes of distributed tracing, the client side of the RPC has all necessary information to link the span to its parent; the server side need do nothing more than export the (trace ID, span ID) tuple.
  • Context has a new field, SamplingDecision, which has two variants, Sampled and Unsampled. This field can be used by downstream systems to determine whether a trace needs to be exported. If the parent span is sampled, the expectation is that all child spans be exported, as well; to do otherwise could result in lossy traces being exported. Note that if an Openetelemetry tracing subscriber is not installed, the fallback context will still be used, but the Context's sampling decision will always be inherited by the parent Context's sampling decision.
  • Context::scope has been removed. Context propagation is now done via

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies rust Pull requests that update Rust code labels Sep 23, 2021
@CriesofCarrots CriesofCarrots changed the title chore: bump tarpc from 0.26.2 to 0.27.1 [wip] chore: bump tarpc from 0.26.2 to 0.27.1 Sep 23, 2021
@CriesofCarrots
Copy link
Copy Markdown
Contributor

This may break downstream

dependabot Bot and others added 2 commits September 23, 2021 14:03
Bumps [tarpc](https://github.com/google/tarpc) from 0.26.2 to 0.27.1.
- [Release notes](https://github.com/google/tarpc/releases)
- [Changelog](https://github.com/google/tarpc/blob/master/RELEASES.md)
- [Commits](https://github.com/google/tarpc/commits/v0.27.1)

---
updated-dependencies:
- dependency-name: tarpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@stale
Copy link
Copy Markdown

stale Bot commented Oct 2, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale Bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Oct 2, 2021
@CriesofCarrots CriesofCarrots removed the stale [bot only] Added to stale content; results in auto-close after a week. label Oct 2, 2021
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Oct 11, 2021

A newer version of tarpc exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@CriesofCarrots
Copy link
Copy Markdown
Contributor

@dependabot recreate

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Dec 9, 2021

Superseded by #21739.

@dependabot dependabot Bot closed this Dec 9, 2021
@dependabot dependabot Bot deleted the dependabot/cargo/tarpc-0.27.1 branch December 9, 2021 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant