Repository navigation
Use AWS-LC for Rust playground OTLP TLS - #20073
Conversation
Select the same supported TLS provider on both Cargo feature paths while retaining native-root certificate verification. Document the upstream optional lockfile dependency limitation. Co-authored-by: Copilot App <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20073Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20073" |
Tests selector1 / 99 PR test projects · 0 PR jobs · 0 advisory-only targets, from 2 changed files. Selected PR test projects (1 / 99)
Selected PR jobs (0)none Advisory workflow impact (0)none How these were chosen — grouped by what changed📄 📄 Job reasonsnone Selection computed for commit |
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
The TLS-provider migration lacks committed cross-platform build/integration coverage, with native platform behavior still unverified.
Review tier: Lite (auto)
Findings: None
Note
Copilot is running an experiment and ran this review at Lite.
What changed in this PR
Migrates the Rust playground’s OTLP/gRPC TLS backend from ring to AWS-LC while retaining certificate validation, native roots, and HTTP support.
Changes:
- Selects
tls-aws-lcfor OpenTelemetry and tonic. - Regenerates the lockfile with AWS-LC dependencies.
- Documents build requirements and the remaining inactive ring lockfile entry.
| File | Summary |
|---|---|
playground/rust/app/README.md |
Documents TLS behavior, requirements, and validation. |
playground/rust/app/Cargo.toml |
Switches TLS provider features to AWS-LC; committed CI coverage is still needed. |
playground/rust/app/Cargo.lock |
Records AWS-LC dependencies and the remaining inactive ring entry. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
✅ No documentation update needed. Step 5 branch taken
Triggered signalsNo signals triggered ( Allowlist justificationAll 3 changed files match the
This PR swaps the TLS crypto backend ( |
Description
The Rust playground uses
ring, which was flagged by dependency scanning. This switches its OTLP TLS backend to AWS-LC and updates the lockfile, preserving telemetry and native-root certificate validation.Remaining blocker:
ringis no longer compiled, but Cargo still lists it as an inactive optional dependency in the lockfile due to rust-lang/cargo#10801. This is not yet a complete fix for lockfile-based scanning.Linux build and smoke checks passed, including telemetry delivery and rejection of untrusted certificates and hostname mismatches. Windows/macOS and full AppHost startup were not tested. Platform requirements and dependency details are in the sample README.
Checklist
<remarks />and<code />elements on your triple slash comments?