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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
chore: M1 debug workflow - build + crash diagnostics + signing check
Louis Beaumont406c07010dde
diff --git a/.github/workflows/debug-macos-m1.yml b/.github/workflows/debug-macos-m1.ymlindex 2bded1acd..18dece9a3 100644--- a/.github/workflows/debug-macos-m1.yml+++ b/.github/workflows/debug-macos-m1.yml@@ -1,4 +1,4 @@-name: Debug macOS M1 (tmate SSH)+name: Debug macOS M1 (build + crash diagnostics)on:workflow_dispatch:@@ -38,8 +38,7 @@ jobs:targets: aarch64-apple-darwin- name: Install dependencies- run: |- brew install ffmpeg wget+ run: brew install ffmpeg wget- name: Install frontend dependenciesworking-directory: apps/screenpipe-app-tauri@@ -58,13 +57,52 @@ jobs:working-directory: apps/screenpipe-app-taurienv:MACOSX_DEPLOYMENT_TARGET: "10.15"+ CFLAGS: "-mmacosx-version-min=10.15 -mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8"+ CXXFLAGS: "-mmacosx-version-min=10.15 -mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8"run: |- bunx tauri build --target aarch64-apple-darwin --features metal,official-build 2>&1 | tee /tmp/build.log || true+ bunx tauri build --target aarch64-apple-darwin --features metal,official-build 2>&1 | tee /tmp/build.logecho "=== Build artifacts ==="find src-tauri/target -name "*.dmg" -o -name "*.app" -type d 2>/dev/null | head -20- - name: Setup tmate session- uses: mxschmitt/action-tmate@v3+ - name: Check signing of built app+ if: always()+ run: |+ echo "=== Checking app signing ==="+ APP=$(find apps/screenpipe-app-tauri/src-tauri/target -name "*.app" -type d 2>/dev/null | head -1)+ if [ -n "$APP" ]; then+ echo "Found app: $APP"+ codesign -dvv "$APP" 2>&1 || echo "NOT SIGNED"+ echo "=== Gatekeeper check ==="+ spctl --assess --type execute --verbose "$APP" 2>&1 || echo "GATEKEEPER REJECTED"+ else+ echo "No .app found"+ fi++ echo "=== Checking CLI binary ==="+ CLI=$(find apps/screenpipe-app-tauri/src-tauri/target -name "screenpipe" -type f -not -path "*/deps/*" 2>/dev/null | head -1)+ if [ -n "$CLI" ]; then+ echo "Found CLI: $CLI"+ codesign -dvv "$CLI" 2>&1 || echo "NOT SIGNED"+ fi++ - name: Try running the app binary+ if: always()+ run: |+ echo "=== Attempting to run screenpipe binary ==="+ BIN=$(find apps/screenpipe-app-tauri/src-tauri/target/aarch64-apple-darwin/release -name "screenpipe-app" -type f 2>/dev/null | head -1)+ if [ -n "$BIN" ]; then+ echo "Running: $BIN"+ timeout 15 "$BIN" 2>&1 || echo "Exit code: $?"+ else+ echo "No binary found, checking what exists:"+ ls -la apps/screenpipe-app-tauri/src-tauri/target/aarch64-apple-darwin/release/ 2>/dev/null | head -20+ fi++ - name: Upload logs+ if: always()+ uses: actions/upload-artifact@v4with:- limit-access-to-actor: true- timeout-minutes: 90+ name: m1-debug-logs+ path: |+ /tmp/build.log+ retention-days: 3