rustcdc 0.6.7

Embeddable Rust CDC library focused on correctness-first capture primitives
Documentation
name: nightly

on:
  schedule:
    # Run every night at 02:00 UTC
    - cron: "0 2 * * *"
  workflow_dispatch:

permissions:
  actions: read
  contents: read

jobs:
  soak-matrix:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@master
        with:
          toolchain: stable
      - uses: Swatinem/rust-cache@v2
      - name: Run fault injection soak matrix (includes ignored)
        run: |
          set -o pipefail
          mkdir -p target
          cargo test --test fault_injection_soak_matrix \
            --features postgres,test-harnesses \
            -- --include-ignored 2>&1 | tee target/soak-matrix-results.txt
        env:
          # Intentionally set to "0" for nightly soak: this run executes
          # long-duration ignored tests (e.g. extended fault injection) on
          # ephemeral CI runners without a persisted Criterion baseline.
          # Authoritative release-policy enforcement (BENCHMARK_ENFORCE_RELEASE_POLICY=1)
          # runs exclusively in the release-evidence job on push/PR.
          BENCHMARK_ENFORCE_RELEASE_POLICY: "0"
      - name: Upload soak results
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: nightly-soak-results-${{ github.run_id }}
          path: target/soak-matrix-results.txt
          retention-days: 30