feat(observability): preserve cross-client trace continuity #35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| name: Build and test (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install Rust | |
| shell: bash | |
| run: | | |
| rustup set profile minimal | |
| rustup update stable | |
| rustup default stable | |
| - name: Check workspace | |
| run: cargo check --workspace --all-targets | |
| - name: Check examples | |
| run: cargo check --manifest-path examples/Cargo.toml --all-targets | |
| - name: Run library tests | |
| run: cargo test --workspace --lib | |
| quality: | |
| name: Quality | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install Rust | |
| shell: bash | |
| run: | | |
| rustup set profile minimal | |
| rustup update stable | |
| rustup default stable | |
| rustup component add clippy rustfmt | |
| - name: Install repository tools | |
| uses: jdx/mise-action@9e7f7633ff6f6d6048a9418a68d48f288f50eb14 # v4.2.3 | |
| with: | |
| version: 2026.8.2 | |
| install_args: github:open-telemetry/weaver | |
| cache: false | |
| - name: Verify semantic conventions | |
| run: mise run --skip-tools semconv:check | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| - name: Run Clippy | |
| run: cargo clippy --workspace --all-features -- -D warnings |