Scott Fleener
7343c72948
feat(tracing): Allow trace collector to be unmeshed
...
The proxy currently treats the trace collector endpoint as a control plane component, mostly to prevent a circular dependency in the service stack. This means that we've had to manually supply a mesh identity in the form of a service account name, usually through an extension's injector.
However, this isn't strictly required as the control plane stack works just fine when the endpoint is unmeshed. This is realistically only useful for the trace collector which don't benefit much from being meshed, so this change only allows the collector to omit a mesh identity.
Signed-off-by: Scott Fleener <scott@buoyant.io>
2025-06-06 10:53:50 -04:00
dependabot[bot]
3aa53596f7
build(deps): bump hyper-util from 0.1.13 to 0.1.14 ( #3948 )
...
Bumps [hyper-util](https://github.com/hyperium/hyper-util ) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.13...v0.1.14 )
---
updated-dependencies:
- dependency-name: hyper-util
dependency-version: 0.1.14
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-05 06:51:50 -07:00
katelyn martin
67dc85a367
chore(app/test): remove unused dependencies ( #3932 )
...
`linkerd-app-test` relies on some dependencies that are unused.
this commit removes these dependencies from the crate's manifest.
see #3928 and #3929 .
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-06-02 15:10:53 -07:00
katelyn martin
ea6f407c57
fix(http/retry): `PeekTrailersBody<B>` retains first frame ( #3947 )
...
see linkerd/linkerd2#14050 .
this change fixes a logical bug with
`linkerd_http_retry::peek_trailers::PeekTrailersBody::<B>::read_body(..)`.
`read_body(..)` constructs a `PeekTrailersBody<B>`, by polling the inner
body to see whether or not it can reach the end of the stream by only
yielding to the asynchronous runtime once.
in linkerd/linkerd2-proxy#3559 , we restructured this middleware's
internal modeling to reflect the `Frame<T>`-oriented signatures of the
`http_body::Body` trait's 1.0 interface.
unfortunately, this included a bug which could cause the first frame in
a stream to be discarded if the second `Body::poll_frame()` call
(_invoked via `now_or_never()`_) returns `Pending`. this could cause
non-deterministic errors for users when sending traffic to HTTPRoutes
and GRPCRoutes with retry annotations applied.
this change rectifies this problem, ensuring that the first frame is not
discarded when attempting to peek a body's trailers.
to confirm that this works as expected, additional test coverage is
introduced that confirms that the data and trailers of the inner body
are passed through faithfully.
---
* feat(http/retry): additional `PeekTrailersBody<B>` test coverage
this commit introduces additional test coverage to
`linker_http_retry::peek_trailers::PeekTrailersBody<B>`.
this body middleware is used to facilitate transparent http retries, and
allows callers to possibly inspect the trailers for a response, by
polling an `http_body::Body`.
this commit introduces additional unit test coverage that confirms that
the data and trailers of the inner body are passed through faithfully.
Signed-off-by: katelyn martin <kate@buoyant.io>
* feat(http/retry): another `PeekTrailersBody<B>` test case
this commit introduces some additional coverage for bodies that return
`Pending` when polled a second time.
Signed-off-by: katelyn martin <kate@buoyant.io>
* fix(http/retry): `PeekTrailersBody<B>` retains first frame
this commit fixes a logical bug with
`linkerd_http_retry::peek_trailers::PeekTrailersBody::<B>::read_body(..)`.
`read_body(..)` constructs a `PeekTrailersBody<B>`, by polling the inner
body to see whether or not it can reach the end of the stream by only
yielding to the asynchronous runtime once.
in linkerd/linkerd2-proxy#3559 , we restructured this middleware's
internal modeling to reflect the `Frame<T>`-oriented signatures of the
`http_body::Body` trait's 1.0 interface.
unfortunately, this included a bug which could cause the first frame in
a stream to be discarded if the second `Body::poll_frame()` call
(_invoked via `now_or_never()`_) returns `Pending`. this could cause
non-deterministic errors for users when sending traffic to HTTPRoutes
and GRPCRoutes with retry annotations applied.
this commit rectifies this problem, ensuring that the first frame is not
discarded when attempting to peek a body's trailers.
Signed-off-by: katelyn martin <kate@buoyant.io>
---------
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-06-02 09:53:24 -07:00
dependabot[bot]
c36bef6b47
build(deps): bump num_cpus from 1.16.0 to 1.17.0 ( #3946 )
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: num_cpus
dependency-version: 1.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 08:51:23 -04:00
dependabot[bot]
12822d1848
build(deps): bump cc from 1.2.24 to 1.2.25 ( #3945 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.2.24 to 1.2.25.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.24...cc-v1.2.25 )
---
updated-dependencies:
- dependency-name: cc
dependency-version: 1.2.25
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 08:51:10 -04:00
dependabot[bot]
66b5f330c3
build(deps): bump prettyplease from 0.2.32 to 0.2.33 ( #3944 )
...
Bumps [prettyplease](https://github.com/dtolnay/prettyplease ) from 0.2.32 to 0.2.33.
- [Release notes](https://github.com/dtolnay/prettyplease/releases )
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.2.32...0.2.33 )
---
updated-dependencies:
- dependency-name: prettyplease
dependency-version: 0.2.33
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 08:50:58 -04:00
dependabot[bot]
423b5c07e6
build(deps): bump parking_lot from 0.12.3 to 0.12.4 ( #3943 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.3...parking_lot-v0.12.4 )
---
updated-dependencies:
- dependency-name: parking_lot
dependency-version: 0.12.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 08:18:04 -04:00
dependabot[bot]
0a17238d10
build(deps): bump parking_lot_core from 0.9.10 to 0.9.11 ( #3942 )
...
Bumps [parking_lot_core](https://github.com/Amanieu/parking_lot ) from 0.9.10 to 0.9.11.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/core-0.9.10...parking_lot_core-v0.9.11 )
---
updated-dependencies:
- dependency-name: parking_lot_core
dependency-version: 0.9.11
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 08:17:37 -04:00
dependabot[bot]
cbfef553ce
build(deps): bump lock_api from 0.4.12 to 0.4.13 ( #3941 )
...
Bumps [lock_api](https://github.com/Amanieu/parking_lot ) from 0.4.12 to 0.4.13.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/lock_api-0.4.12...lock_api-v0.4.13 )
---
updated-dependencies:
- dependency-name: lock_api
dependency-version: 0.4.13
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 08:17:20 -04:00
dependabot[bot]
6233b47dd3
build(deps): bump libloading from 0.8.7 to 0.8.8 ( #3940 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.8.7 to 0.8.8.
- [Commits](https://github.com/nagisa/rust_libloading/commits )
---
updated-dependencies:
- dependency-name: libloading
dependency-version: 0.8.8
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-29 10:44:53 -04:00
dependabot[bot]
19bfb14f1f
build(deps): bump pprof from 0.14.0 to 0.15.0 ( #3938 )
...
Bumps [pprof](https://github.com/tikv/pprof-rs ) from 0.14.0 to 0.15.0.
- [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tikv/pprof-rs/commits )
---
updated-dependencies:
- dependency-name: pprof
dependency-version: 0.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 11:13:34 -04:00
dependabot[bot]
c6eea70f1a
build(deps): bump hyper-util from 0.1.12 to 0.1.13 ( #3939 )
...
Bumps [hyper-util](https://github.com/hyperium/hyper-util ) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.12...v0.1.13 )
---
updated-dependencies:
- dependency-name: hyper-util
dependency-version: 0.1.13
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 11:13:08 -04:00
dependabot[bot]
96d7c25704
build(deps): bump the boring group with 3 updates ( #3937 )
...
Bumps the boring group with 3 updates: [boring](https://github.com/cloudflare/boring ), [tokio-boring](https://github.com/cloudflare/boring ) and [boring-sys](https://github.com/cloudflare/boring ).
Updates `boring` from 4.16.0 to 4.17.0
- [Release notes](https://github.com/cloudflare/boring/releases )
- [Changelog](https://github.com/cloudflare/boring/blob/master/RELEASE_NOTES )
- [Commits](https://github.com/cloudflare/boring/compare/v4.16.0...v4.17.0 )
Updates `tokio-boring` from 4.16.0 to 4.17.0
- [Release notes](https://github.com/cloudflare/boring/releases )
- [Changelog](https://github.com/cloudflare/boring/blob/master/RELEASE_NOTES )
- [Commits](https://github.com/cloudflare/boring/compare/v4.16.0...v4.17.0 )
Updates `boring-sys` from 4.16.0 to 4.17.0
- [Release notes](https://github.com/cloudflare/boring/releases )
- [Changelog](https://github.com/cloudflare/boring/blob/master/RELEASE_NOTES )
- [Commits](https://github.com/cloudflare/boring/compare/v4.16.0...v4.17.0 )
---
updated-dependencies:
- dependency-name: boring
dependency-version: 4.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: boring
- dependency-name: tokio-boring
dependency-version: 4.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: boring
- dependency-name: boring-sys
dependency-version: 4.17.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: boring
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 08:23:55 -04:00
dependabot[bot]
1450af00d8
build(deps): bump the opentelemetry group with 2 updates ( #3934 )
...
Bumps the opentelemetry group with 2 updates: [opentelemetry](https://github.com/open-telemetry/opentelemetry-rust ) and [opentelemetry_sdk](https://github.com/open-telemetry/opentelemetry-rust ).
Updates `opentelemetry` from 0.29.1 to 0.30.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases )
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/opentelemetry-0.29.1...opentelemetry-0.30.0 )
Updates `opentelemetry_sdk` from 0.29.0 to 0.30.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases )
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/opentelemetry_sdk-0.29.0...opentelemetry_sdk-0.30.0 )
---
updated-dependencies:
- dependency-name: opentelemetry
dependency-version: 0.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry_sdk
dependency-version: 0.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 07:17:39 -07:00
dependabot[bot]
27f62ad034
build(deps): bump mio from 1.0.3 to 1.0.4 ( #3933 )
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/tokio-rs/mio/releases )
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/mio/commits )
---
updated-dependencies:
- dependency-name: mio
dependency-version: 1.0.4
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 09:35:24 -04:00
dependabot[bot]
fefa7c0cbf
build(deps): bump socket2 from 0.5.9 to 0.5.10 ( #3936 )
...
Bumps [socket2](https://github.com/rust-lang/socket2 ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/rust-lang/socket2/releases )
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/socket2/commits )
---
updated-dependencies:
- dependency-name: socket2
dependency-version: 0.5.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 09:33:06 -04:00
katelyn martin
b3549bc767
chore(app/test): remove unused functions ( #3929 )
...
`linkerd-app-test` exposes some functions that we never use elsewhere.
this commit removes these functions.
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-23 09:25:12 -07:00
katelyn martin
c00ce3241b
chore(app/test): remove unused `service` submodule ( #3928 )
...
`linkerd_app_test::service` contains facilities that are unused.
this commit removes this submodule from the `linkerd-app-test` library.
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-23 09:25:00 -07:00
dependabot[bot]
21fd4ec51b
build(deps): bump rustversion from 1.0.20 to 1.0.21 ( #3931 )
...
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.20...1.0.21 )
---
updated-dependencies:
- dependency-name: rustversion
dependency-version: 1.0.21
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-23 08:38:35 -04:00
dependabot[bot]
fa0c104931
build(deps): bump cc from 1.2.23 to 1.2.24 ( #3930 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.2.23 to 1.2.24.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.23...cc-v1.2.24 )
---
updated-dependencies:
- dependency-name: cc
dependency-version: 1.2.24
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-23 08:38:10 -04:00
katelyn martin
cab7adc456
chore(meshtls/boring): sort dependencies ( #3927 )
...
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-22 16:20:58 -04:00
katelyn martin
478e1e151f
chore(deps): bump DavidAnson/markdownlint-cli2-action ( #3923 )
...
* chore(docs): address `no-generic-link-test` lint (#3923 )
this addresses errors observed by dependabot when upgrading to the
latest version of `markdownlint`.
there is a new lint, added in DavidAnson/markdownlint#1459 , that
introduces forbidden link text to discourage generic `here` text in
links.
this fixes sentences that included a link labeled "here".
* https://github.com/linkerd/linkerd2-proxy/pull/3918
* https://github.com/linkerd/linkerd2-proxy/actions/runs/15043224730/job/42279610780?pr=3918
* https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
* https://github.com/DavidAnson/markdownlint/pull/1459
* https://github.com/DavidAnson/markdownlint/issues/681
```
Summary: 3 error(s)
Error: docs/FUZZING.md:17:13 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
Error: docs/FUZZING.md💯 2 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
Error: README.md:90:2 MD059/descriptive-link-text Link text should be descriptive [Context: "[here]"] https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
Error: Failed with exit code: 1
```
Signed-off-by: katelyn martin <kate@buoyant.io>
* build(deps): bump DavidAnson/markdownlint-cli2-action (#3923 )
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action ) from 19.1.0 to 20.0.0.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases )
- [Commits](05f32210e8...992badcdf2 )
---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
dependency-version: 20.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
---------
Signed-off-by: katelyn martin <kate@buoyant.io>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-22 13:16:37 -07:00
dependabot[bot]
1eeae37018
build(deps): bump jiff from 0.2.13 to 0.2.14 ( #3926 )
...
Bumps [jiff](https://github.com/BurntSushi/jiff ) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/BurntSushi/jiff/releases )
- [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.13...jiff-static-0.2.14 )
---
updated-dependencies:
- dependency-name: jiff
dependency-version: 0.2.14
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-21 10:29:08 -04:00
dependabot[bot]
83d4eacb27
build(deps): bump hyper-util from 0.1.11 to 0.1.12 ( #3925 )
...
Bumps [hyper-util](https://github.com/hyperium/hyper-util ) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.11...v0.1.12 )
---
updated-dependencies:
- dependency-name: hyper-util
dependency-version: 0.1.12
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-20 09:15:20 -04:00
dependabot[bot]
ddc590f38b
build(deps): bump the icu4x group with 2 updates ( #3924 )
...
Bumps the icu4x group with 2 updates: [icu_properties](https://github.com/unicode-org/icu4x ) and [icu_properties_data](https://github.com/unicode-org/icu4x ).
Updates `icu_properties` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
Updates `icu_properties_data` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: icu_properties
dependency-version: 2.0.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: icu4x
- dependency-name: icu_properties_data
dependency-version: 2.0.1
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: icu4x
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-20 09:14:43 -04:00
dependabot[bot]
0f42f15102
build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 ( #3920 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](ad3126e916...18283e04ce )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: 5.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 16:21:34 -04:00
dependabot[bot]
20f47ad9de
build(deps): bump errno from 0.3.11 to 0.3.12 ( #3922 )
...
Bumps [errno](https://github.com/lambda-fairy/rust-errno ) from 0.3.11 to 0.3.12.
- [Release notes](https://github.com/lambda-fairy/rust-errno/releases )
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.11...v0.3.12 )
---
updated-dependencies:
- dependency-name: errno
dependency-version: 0.3.12
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 10:01:34 -04:00
dependabot[bot]
7abe88119c
build(deps): bump cc from 1.2.22 to 1.2.23 ( #3921 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.2.22 to 1.2.23.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.22...cc-v1.2.23 )
---
updated-dependencies:
- dependency-name: cc
dependency-version: 1.2.23
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 10:01:02 -04:00
katelyn martin
37c0f96cfc
nit(app): consolidate `impl Config` blocks ( #3919 )
...
this is a trivial, cosmetic change.
`Config` has two consecutive `impl` blocks in the `linkerd-app` library.
these do not include distinct generics or trait bounds, so the methods
contained therein do not need to live in two distinct `impl` blocks.
this commit consolidates these blocks.
while we are performing this change, we add two `=== impl T ===`
banners, which are used throughout the project as greppable strings to
find methods and trait implementations for a given type.
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-16 09:37:02 -04:00
dependabot[bot]
79e10775f0
build(deps): bump generator from 0.8.4 to 0.8.5 ( #3917 )
...
Bumps [generator](https://github.com/Xudong-Huang/generator-rs ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/Xudong-Huang/generator-rs/releases )
- [Commits](https://github.com/Xudong-Huang/generator-rs/compare/0.8.4...0.8.5 )
---
updated-dependencies:
- dependency-name: generator
dependency-version: 0.8.5
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-14 09:29:51 -04:00
dependabot[bot]
a2eadec54a
build(deps): bump resolv-conf from 0.7.3 to 0.7.4 ( #3916 )
...
Bumps [resolv-conf](https://github.com/hickory-dns/resolv-conf ) from 0.7.3 to 0.7.4.
- [Release notes](https://github.com/hickory-dns/resolv-conf/releases )
- [Commits](https://github.com/hickory-dns/resolv-conf/compare/v0.7.3...v0.7.4 )
---
updated-dependencies:
- dependency-name: resolv-conf
dependency-version: 0.7.4
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 09:53:37 -04:00
katelyn martin
7b7ffbc69d
chore(deps): define `tracing` workspace dependency ( #3834 )
...
this commit hoists `tracing`, used liberally throughout our project,
such that it is managed as a single workspace dependency.
this will be helpful someday when a 0.2 release happens.
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-12 16:00:34 -04:00
katelyn martin
00b5de1936
refactor(proxy/http): a concrete `orig_proto` error ( #3901 )
...
this commit introduces a concrete error type for the `orig_proto`
upgrade layer.
this layer is used by the proxy's http client to transparently upgrade
outbound http/1 traffic to http/2. rather than boxing errors, we define
a concrete error type to facilitate inspecting errors in the future.
for now, the top-level http client continues to box errors thrown by the
"orig_proto" upgrade client.
see also, #3894 (ea75ac0 ).
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-12 15:59:56 -04:00
katelyn martin
d3a176446c
fix: report error causes properly ( #3915 )
...
the `linkerd-error` crate includes two functions that can be used to
examine the cause of a dynamic, boxed error. for example, here is the
`is_caused_by()` function, used in some of our error recovery logic:
```rust
/// Determines whether the provided error was caused by an `E` typed error.
pub fn is_caused_by<E: std::error::Error + 'static>(
mut error: &(dyn std::error::Error + 'static),
) -> bool {
loop {
if error.is::<E>() {
return true;
}
error = match error.source() {
Some(e) => e,
None => return false,
};
}
}
```
we rely on [`thiserror`](https://github.com/dtolnay/thiserror/ ) to
generate boilerplate code for our error structures. this includes an
attribute called `transparent` that will delegate down to an inner
error.
however, this delegation means that the causal chains inspected by
the function above might not properly identify an inner error. this
test, for example, fails:
```rust
// linkerd/dns/src/lib.rs
#[derive(Debug, Clone, Error)]
#[error("invalid SRV record {:?}", self.0)]
struct InvalidSrv(rdata::SRV);
#[derive(Debug, Error)]
enum SrvRecordError {
#[error(transparent)]
Invalid(#[from] InvalidSrv),
#[error("failed to resolve SRV record: {0}")]
Resolve(#[from] hickory_resolver::ResolveError),
}
#[test]
fn srv_record_reports_cause_correctly() {
let srv = "foobar.linkerd-dst-headless.linkerd.svc.cluster.local."
.parse::<hickory_resolver::Name>()
.map(|name| rdata::SRV::new(1, 1, 8086, name))
.expect("a valid domain name");
let error = SrvRecordError::Invalid(InvalidSrv(srv));
let error: Box<dyn std::error::Error + 'static> = Box::new(error);
assert!(linkerd_error::is_caused_by::<InvalidSrv>(&*error));
assert!(linkerd_error::cause_ref::<InvalidSrv>(&*error).is_some());
}
```
the `transparent` attribute will delegate directly down to `InvalidSrv`
when `Error::source()` is invoked. this means that our downcasting logic
in `linkerd-error` used to ascertain causes of dynamic, boxed errors
will fail to identify a `SrvRecordError` as being caused by an
`InvalidSrv`.
by replacing the `transparent` attribute with a `"{0}"` display
attribute, we continue to transparently show the inner error when
printed as a string, but will include `InvalidSrv` in the causal chain.
this branch replaces `transparent` attributes in an assortment of
error variants.
---
* test(dns): add a failing test
this commit adds a failing unit test. this test shows that dns errors
might not report their cause correctly, due to thiserror's `transparent`
attribute passing directly through to `InvalidSrv`'s cause.
Signed-off-by: katelyn martin <kate@buoyant.io>
* fix(dns): replace `error(transparent)` attribute
this commit fixes the failing unit test introduced in the previous
commit.
the `transparent` attribute will delegate directly down to `InvalidSrv`
when `Error::source()` is invoke. this means that our downcasting logic
in `linkerd-error` used to ascertain causes of dynamic, boxed errors
will fail to identify a `SrvRecordError` as being caused by an
`InvalidSrv`.
by replacing the `transparent` attribute with a `"{0}"` display
attribute, we continue to transparently show the inner error when
printed as a string, but will include `InvalidSrv` in the causal chain.
Signed-off-by: katelyn martin <kate@buoyant.io>
* fix: errors report inner sources
this commit performs the same transformation as the previous commit,
replacing `transparent` with equivalent pass-through `"{0}"` display
strings, adding `#[source]` where needed.
Signed-off-by: katelyn martin <kate@buoyant.io>
---------
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-12 15:52:06 -04:00
katelyn martin
015c499891
refactor(app/outbound): `Connect` fields are not pub ( #3895 )
...
this structure exposes its fields, but those fields are never accessed
elsewhere, aside from test code.
this commit removes the `pub` directives from the address and tls
fields. in their stead, test interfaces are added to allow the
`tagged_transport` test suite to function.
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-12 15:38:59 -04:00
katelyn martin
ea75ac0126
refactor(proxy/http): http/1 client is a `Service<T>` ( #3894 )
...
this is a small mechanical refactor to the http/1 client.
our http/2 and "orig_proto" clients are tower services. our http/1
client, on the other hand, exposes a concrete inherent method `request`.
to be consistent, this changes our http client to treat this http/1
client as a service as well.
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-12 15:38:26 -04:00
katelyn martin
3a795967af
nit(app/integration): sort cargo dependencies ( #3887 )
...
this alphabetizes dependencies in `linkerd-app-integration`'s
manifest.
Signed-off-by: katelyn martin <kate@buoyant.io>
2025-05-12 15:37:52 -04:00
dependabot[bot]
c5c2c24b0d
build(deps): bump libloading from 0.8.6 to 0.8.7 ( #3914 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.8.6 to 0.8.7.
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.6...0.8.7 )
---
updated-dependencies:
- dependency-name: libloading
dependency-version: 0.8.7
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 10:00:18 -04:00
dependabot[bot]
971ec0e14d
build(deps): bump multimap from 0.10.0 to 0.10.1 ( #3913 )
...
Bumps [multimap](https://github.com/havarnov/multimap ) from 0.10.0 to 0.10.1.
- [Commits](https://github.com/havarnov/multimap/commits )
---
updated-dependencies:
- dependency-name: multimap
dependency-version: 0.10.1
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 10:00:01 -04:00
dependabot[bot]
f45a6185f6
build(deps): bump tempfile from 3.19.1 to 3.20.0 ( #3912 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.19.1 to 3.20.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.1...v3.20.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-version: 3.20.0
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 09:58:57 -04:00
dependabot[bot]
6ea7f158a5
build(deps): bump aws-lc-rs from 1.13.0 to 1.13.1 ( #3911 )
...
Bumps [aws-lc-rs](https://github.com/aws/aws-lc-rs ) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/aws/aws-lc-rs/releases )
- [Commits](https://github.com/aws/aws-lc-rs/compare/v1.13.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: aws-lc-rs
dependency-version: 1.13.1
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-09 13:12:34 -04:00
dependabot[bot]
0e9f9443b8
build(deps): bump cc from 1.2.21 to 1.2.22 ( #3910 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.2.21 to 1.2.22.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.21...cc-v1.2.22 )
---
updated-dependencies:
- dependency-name: cc
dependency-version: 1.2.22
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-09 13:12:23 -04:00
dependabot[bot]
34dae165d6
build(deps): bump idna_adapter from 1.2.0 to 1.2.1 ( #3909 )
...
Bumps [idna_adapter](https://github.com/hsivonen/idna_adapter ) from 1.2.0 to 1.2.1.
- [Commits](https://github.com/hsivonen/idna_adapter/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: idna_adapter
dependency-version: 1.2.1
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-09 13:12:15 -04:00
dependabot[bot]
9063a6df66
build(deps): bump backtrace from 0.3.74 to 0.3.75 ( #3907 )
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.74 to 0.3.75.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.74...0.3.75 )
---
updated-dependencies:
- dependency-name: backtrace
dependency-version: 0.3.75
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-07 10:21:51 -04:00
dependabot[bot]
a9ce356bf8
build(deps): bump jiff from 0.2.12 to 0.2.13 ( #3906 )
...
Bumps [jiff](https://github.com/BurntSushi/jiff ) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/BurntSushi/jiff/releases )
- [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.12...jiff-static-0.2.13 )
---
updated-dependencies:
- dependency-name: jiff
dependency-version: 0.2.13
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 11:11:16 -04:00
dependabot[bot]
dd432b3143
build(deps): bump tokio from 1.44.2 to 1.45.0 ( #3905 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.44.2 to 1.45.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.2...tokio-1.45.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.45.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 10:52:23 -04:00
dependabot[bot]
d35e12facb
build(deps): bump jiff from 0.2.11 to 0.2.12 ( #3900 )
...
Bumps [jiff](https://github.com/BurntSushi/jiff ) from 0.2.11 to 0.2.12.
- [Release notes](https://github.com/BurntSushi/jiff/releases )
- [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.11...jiff-static-0.2.12 )
---
updated-dependencies:
- dependency-name: jiff
dependency-version: 0.2.12
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 09:19:42 -04:00
dependabot[bot]
430eb75667
build(deps): bump the hickory group with 2 updates ( #3899 )
...
Bumps the hickory group with 2 updates: [hickory-resolver](https://github.com/hickory-dns/hickory-dns ) and [hickory-proto](https://github.com/hickory-dns/hickory-dns ).
Updates `hickory-resolver` from 0.25.1 to 0.25.2
- [Release notes](https://github.com/hickory-dns/hickory-dns/releases )
- [Changelog](https://github.com/hickory-dns/hickory-dns/blob/main/OLD-CHANGELOG.md )
- [Commits](https://github.com/hickory-dns/hickory-dns/compare/v0.25.1...v0.25.2 )
Updates `hickory-proto` from 0.25.1 to 0.25.2
- [Release notes](https://github.com/hickory-dns/hickory-dns/releases )
- [Changelog](https://github.com/hickory-dns/hickory-dns/blob/main/OLD-CHANGELOG.md )
- [Commits](https://github.com/hickory-dns/hickory-dns/compare/v0.25.1...v0.25.2 )
---
updated-dependencies:
- dependency-name: hickory-resolver
dependency-version: 0.25.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: hickory
- dependency-name: hickory-proto
dependency-version: 0.25.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: hickory
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 09:18:40 -04:00
dependabot[bot]
025f0a19cb
build(deps): bump the symbolic group with 2 updates ( #3896 )
...
Bumps the symbolic group with 2 updates: [symbolic-common](https://github.com/getsentry/symbolic ) and [symbolic-demangle](https://github.com/getsentry/symbolic ).
Updates `symbolic-common` from 12.15.4 to 12.15.5
- [Release notes](https://github.com/getsentry/symbolic/releases )
- [Changelog](https://github.com/getsentry/symbolic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/symbolic/compare/12.15.4...12.15.5 )
Updates `symbolic-demangle` from 12.15.4 to 12.15.5
- [Release notes](https://github.com/getsentry/symbolic/releases )
- [Changelog](https://github.com/getsentry/symbolic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/symbolic/compare/12.15.4...12.15.5 )
---
updated-dependencies:
- dependency-name: symbolic-common
dependency-version: 12.15.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: symbolic
- dependency-name: symbolic-demangle
dependency-version: 12.15.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: symbolic
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-02 11:00:55 -04:00