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 broken Linux Integration Test workflow

Louis Beaumontd8deaa9c0f7b
diff --git a/.github/workflows/linux-integration-test.yml b/.github/workflows/linux-integration-test.yml
deleted file mode 100644
index 81ddc8254..000000000
--- a/.github/workflows/linux-integration-test.yml
+++ /dev/null
@@ -1,80 +0,0 @@
-name: Linux Integration Test
-
-on:
- push:
- branches: [ main ]
- pull_request:
- branches: [ main ]
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
-
-jobs:
- test-linux:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
-
- - name: Set up Rust
- uses: actions-rust-lang/setup-rust-toolchain@v1
- with:
- toolchain: stable
- override: true
- cache: true
- rustflags: ""
-
- - name: Install dependencies
- run: .github/scripts/install_dependencies.sh
-
- - name: Verify Tesseract installation
- run: .github/scripts/verify_tesseract.sh
-
- - name: Build CLI
- run: cargo build --release
-
- - name: Set up virtual display with window manager
- run: .github/scripts/setup_display.sh
-
- - name: Setup audio
- run: .github/scripts/setup_audio.sh
-
- - name: Run Screenpipe
- run: .github/scripts/run_screenpipe.sh
-
- - name: Test OCR
- run: .github/scripts/test_ocr.sh
-
- - name: Test Audio Capture
- run: .github/scripts/test_audio_capture.sh
-
- - name: Stop screenpipe
- run: .github/scripts/stop_screenpipe.sh
-
- - name: Check for crashes and expected behavior
- run: .github/scripts/check_logs.sh
-
- - name: Check final storage usage
- run: du -ha ~/.screenpipe/data
-
- - name: Upload logs
- uses: actions/upload-artifact@v4
- if: always()
- with:
- name: screenpipe-logs
- path: screenpipe_output.log
-
- - name: Upload captured data
- uses: actions/upload-artifact@v4
- if: always()
- with:
- name: screenpipe-data
- path: |
- ~/.screenpipe/data/
-
- - name: Upload test image
- uses: actions/upload-artifact@v4
- if: always()
- with:
- name: test-image
- path: test_image.png
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 1e4d79a51..37e6ea5d3 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -6733,7 +6733,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screenpipe-app"
-version = "2.0.193"
+version = "2.0.197"
dependencies = [
"anyhow",
"async-stream",
diff --git a/screenpipe-app-tauri/src-tauri/src/sidecar.rs b/screenpipe-app-tauri/src-tauri/src/sidecar.rs
index 9db584b46..4c0522f24 100644
--- a/screenpipe-app-tauri/src-tauri/src/sidecar.rs
+++ b/screenpipe-app-tauri/src-tauri/src/sidecar.rs
@@ -245,7 +245,7 @@ pub async fn spawn_screenpipe(
) -> Result<(), String> {
// Check permissions before spawning
let permissions_check = do_permissions_check(false);
- let store = app.state::<SettingsStore>();
+ let store = SettingsStore::get(&app).ok().flatten().unwrap_or_default();
let disable_audio = store.disable_audio;
// Always check screen recording permission - this is required and needs restart
@@ -275,7 +275,10 @@ pub async fn spawn_screenpipe(
}
async fn spawn_sidecar(app: &tauri::AppHandle, override_args: Option<Vec<String>>) -> Result<CommandChild, String> {
- let store = app.state::<SettingsStore>();
+ // Read from persisted store instead of managed state to get latest settings
+ let store = SettingsStore::get(app)
+ .map_err(|e| format!("Failed to get settings: {}", e))?
+ .unwrap_or_default();
let audio_transcription_engine = store.audio_transcription_engine.clone();
@@ -647,7 +650,7 @@ impl SidecarManager {
// Check if sidecar is already running - but verify it's actually alive
if self.child.is_some() {
// Do a quick health check to verify the process is still running
- let store = app.state::<SettingsStore>();
+ let store = SettingsStore::get(app).ok().flatten().unwrap_or_default();
let port = store.port;
let health_url = format!("http://localhost:{}/health", port);
@@ -674,7 +677,7 @@ impl SidecarManager {
// Check permissions before spawning
let permissions_check = do_permissions_check(false);
- let store = app.state::<SettingsStore>();
+ let store = SettingsStore::get(app).ok().flatten().unwrap_or_default();
let disable_audio = store.disable_audio;
// Always check screen recording permission - this is required and needs restart