Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

ci: remove cpal-pin-guard

Louis Beaumontc102baeddcae
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0fb89c776..d3ec0d352 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,44 +31,6 @@ env:
GIT_LFS_SKIP_SMUDGE: 1
jobs:
- cpal-pin-guard:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - name: Guard cpal Windows audio pin
- shell: bash
- run: |
- set -euo pipefail
- manifest="crates/screenpipe-audio/Cargo.toml"
- expected_url='git = "https://github.com/divanshu-go/cpal.git"'
- expected_branch='branch = "windows-aec"'
- expected_lock_source='source = "git+https://github.com/divanshu-go/cpal.git?branch=windows-aec#eeae0269bec7b4fc6e21c461624a0fa0e7acdc82"'
- cpal_line="$(grep -E '^cpal = ' "$manifest" || true)"
-
- if [[ "$cpal_line" != *"$expected_url"* || "$cpal_line" != *"$expected_branch"* ]]; then
- echo "::error file=${manifest},line=25::cpal source changed. Run the Windows audio RMS smoke on Win11 24H2 Communications-class hardware before merging, then update this guard with the verified source."
- echo "current cpal line: ${cpal_line:-<missing>}"
- exit 1
- fi
-
- cpal_lock_source() {
- local lockfile="$1"
- awk '
- $0 == "[[package]]" { in_package = 1; is_cpal = 0 }
- in_package && $0 == "name = \"cpal\"" { is_cpal = 1 }
- in_package && is_cpal && /^source = / { print; exit }
- ' "$lockfile"
- }
-
- for lockfile in Cargo.lock apps/screenpipe-app-tauri/src-tauri/Cargo.lock; do
- lock_source="$(cpal_lock_source "$lockfile")"
- if [[ "$lock_source" != "$expected_lock_source" ]]; then
- echo "::error file=${lockfile}::cpal lock source changed. Run the Windows audio RMS smoke on Win11 24H2 Communications-class hardware before merging, then update this guard with the verified lock source."
- echo "current cpal lock source: ${lock_source:-<missing>}"
- exit 1
- fi
- done
-
test-ubuntu:
runs-on: ubuntu-latest
env: