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

fix: few ci things

Louis Beaumontfbf04ea6f1b6
diff --git a/.github/workflows/perf-long-running-end-to-end.yml b/.github/workflows/perf-long-running-end-to-end.yml
deleted file mode 100644
index 3fa5f0f98..000000000
--- a/.github/workflows/perf-long-running-end-to-end.yml
+++ /dev/null
@@ -1,113 +0,0 @@
-name: Linux Memory Test
-
-on:
- workflow_dispatch:
-
-jobs:
- test-ubuntu:
- runs-on: ubuntu-latest
- timeout-minutes: 20
-
- steps:
- - uses: actions/checkout@v4
-
- - uses: actions/cache@v4
- with:
- path: |
- ~/.cargo/bin/
- ~/.cargo/registry/index/
- ~/.cargo/registry/cache/
- ~/.cargo/git/db/
- target/
- key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
-
- - name: Set up Rust
- uses: actions-rust-lang/setup-rust-toolchain@v1
- with:
- toolchain: stable
- override: true
- cache: true
- rustflags: ""
-
- - name: Install dependencies
- run: |
- sudo apt-get update
- sudo apt-get install -y tesseract-ocr libtesseract-dev libavformat-dev libavfilter-dev libavdevice-dev ffmpeg libasound2-dev libgtk-3-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev xvfb pulseaudio gnuplot
-
- - name: Set up virtual display
- run: |
- Xvfb :99 -ac &
- echo "DISPLAY=:99" >> $GITHUB_ENV
-
- - name: Set up virtual audio
- run: |
- pulseaudio --start
- pacmd load-module module-null-sink sink_name=virtual_speaker
- pacmd load-module module-virtual-source source_name=virtual_mic
- pacmd set-default-sink virtual_speaker
- pacmd set-default-source virtual_mic
-
- - name: Build screenpipe
- run: cargo build --release
-
- - name: Run screenpipe and monitor memory
- run: |
- export DISPLAY=:99
- export PULSE_SERVER=unix:/tmp/pulse-socket
- ./target/release/screenpipe --debug &
- SCREENPIPE_PID=$!
-
- echo "Timestamp,RSS (KB),VSZ (KB)" > memory_usage.csv
-
- for i in {1..90}; do
- RSS=$(ps -o rss= -p $SCREENPIPE_PID)
- VSZ=$(ps -o vsz= -p $SCREENPIPE_PID)
- echo "$(date +%s),$RSS,$VSZ" >> memory_usage.csv
- sleep 10
- done
-
- kill $SCREENPIPE_PID
-
- - name: Generate memory usage graph
- run: |
- gnuplot <<EOF
- set terminal png size 800,600
- set output 'memory_usage_graph.png'
- set title 'Screenpipe Memory Usage Over Time'
- set xlabel 'Time (seconds)'
- set ylabel 'Memory Usage (KB)'
- set key outside
- plot 'memory_usage.csv' using 1:2 with lines title 'RSS', \
- '' using 1:3 with lines title 'VSZ'
- EOF
-
- - name: Upload memory usage data
- uses: actions/upload-artifact@v4
- with:
- name: memory-usage-data
- path: memory_usage.csv
-
- - name: Upload memory usage graph
- uses: actions/upload-artifact@v4
- with:
- name: memory-usage-graph
- path: memory_usage_graph.png
-
- - name: Check logs and data
- run: |
- echo "Checking logs..."
-
- tail -n 100 ~/.screenpipe/logs/screenpipe.$(date +%Y-%m-%d).log
-
- echo "Checking database..."
- sqlite3 ~/.screenpipe/db.sqlite ".tables"
- sqlite3 ~/.screenpipe/db.sqlite "SELECT COUNT(*) FROM ocr_text;"
- sqlite3 ~/.screenpipe/db.sqlite "SELECT COUNT(*) FROM audio_transcriptions;"
-
- - name: Upload screenpipe data
- uses: actions/upload-artifact@v4
- with:
- name: screenpipe-data
- path: |
- ~/.screenpipe/logs
- ~/.screenpipe/db.sqlite
diff --git a/.github/workflows/publish-app.yml b/.github/workflows/publish-app.yml
deleted file mode 100644
index 1f68063f5..000000000
--- a/.github/workflows/publish-app.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: Publish App Release
-
-on:
- push:
- tags:
- - "app-v*"
- workflow_dispatch:
-
-jobs:
- publish-tauri:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
-
- - name: Get version from tag
- id: get_version
- run: echo "VERSION=${GITHUB_REF#refs/tags/app-v}" >> $GITHUB_OUTPUT
- if: startsWith(github.ref, 'refs/tags/')
-
- - name: Create GitHub Release
- env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
- gh release create app-v${{ steps.get_version.outputs.VERSION }} \
- --title "App Release ${{ steps.get_version.outputs.VERSION }}" \
- --generate-notes \
- --draft=false \
- --prerelease=false
-
- - name: Publish Release
- uses: crabnebula-dev/[email protected]
- with:
- command: release publish ${{ secrets.CN_APP_SLUG }} --framework tauri
- api-key: ${{ secrets.CN_API_KEY }}
- path: ./screenpipe-app-tauri/src-tauri
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index df0942c64..744d6cdff 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -15,7 +15,6 @@ reqwest = { workspace = true }
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
-tar = "=0.4.42"
# Cross-platform audio capture
# cpal = "0.15.2"
@@ -119,3 +118,6 @@ harness = false
[[bench]]
name = "record_and_transcribe_benchmark"
harness = false
+
+[package.metadata.cargo-machete]
+ignored = ["ort-sys"]
diff --git a/screenpipe-vision/Cargo.toml b/screenpipe-vision/Cargo.toml
index 77dfc1b5f..88e01de98 100644
--- a/screenpipe-vision/Cargo.toml
+++ b/screenpipe-vision/Cargo.toml
@@ -40,7 +40,6 @@ screenpipe-core = { path = "../screenpipe-core" }
tracing-subscriber = { workspace = true }
tracing = { workspace = true }
-once_cell = "1.19"
which = "6.0"
[dev-dependencies]