From 247def8e03f5e1ef33699ce4ea0ffe6d67b7043a Mon Sep 17 00:00:00 2001 From: ZeroPointSix Date: Sat, 6 Jun 2026 08:34:34 +0800 Subject: [PATCH 1/3] test: add full test scripts --- prompt-launcher/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prompt-launcher/package.json b/prompt-launcher/package.json index c243b80..542420d 100644 --- a/prompt-launcher/package.json +++ b/prompt-launcher/package.json @@ -9,7 +9,9 @@ "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", + "test": "npm run test:unit && npm run test:rust", "test:unit": "node --test", + "test:rust": "cargo test --manifest-path src-tauri/Cargo.toml", "tauri": "tauri" }, "license": "MIT", @@ -31,4 +33,4 @@ "vite": "^6.0.3", "@tauri-apps/cli": "^2" } -} +} \ No newline at end of file From 81d63f296601738979c35a30bcd281ae986e9ec4 Mon Sep 17 00:00:00 2001 From: ZeroPointSix Date: Sat, 6 Jun 2026 08:34:50 +0800 Subject: [PATCH 2/3] ci: run all tests for pull requests --- .github/workflows/ci.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd34334..08573d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,20 @@ jobs: cache: 'npm' cache-dependency-path: './prompt-launcher/package-lock.json' - - name: Install dependencies + - name: Install Rust stable + uses: dtolnay/rust-toolchain@stable + + - name: Rust cache + uses: swatinem/rust-cache@v2 + with: + workspaces: './prompt-launcher/src-tauri -> target' + + - name: Install Tauri dependencies + run: | + sudo apt-get update + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf + + - name: Install frontend dependencies working-directory: ./prompt-launcher run: npm ci @@ -37,9 +50,9 @@ jobs: working-directory: ./prompt-launcher run: npm run check - - name: Run unit tests + - name: Run all tests working-directory: ./prompt-launcher - run: npm run test:unit + run: npm run test - name: Build frontend working-directory: ./prompt-launcher From 3da6b1061883ab2222d3baf338964e82ea84ee58 Mon Sep 17 00:00:00 2001 From: CodeXWeb Date: Wed, 10 Jun 2026 21:09:59 +0000 Subject: [PATCH 3/3] chore: restore package json trailing newline --- DECISION_JOURNAL.md | 7 +++++++ prompt-launcher/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/DECISION_JOURNAL.md b/DECISION_JOURNAL.md index 355ee91..97824ff 100644 --- a/DECISION_JOURNAL.md +++ b/DECISION_JOURNAL.md @@ -75,3 +75,10 @@ - ??: ?? 2? - ??: ?? 1???? PRD ????????? - ??: ??????????????????????? UI ???? + +### 2026-06-10 21:21 UTC - CodeXWeb PR #44 review follow-up +- Source: PR #44 review comment 4670502302; patrol claim comment 4674169808. +- Scope: restored the final newline in prompt-launcher/package.json only, matching the maintainer review suggestion before merge. +- Validation: npm ci passed; npm run check passed; Node unit tests passed 11/11; npm run build passed; git diff --check passed. +- Rust/Tauri validation: attempted in the remote sandbox after installing Linux dependencies and stable Rust 1.96.0; cargo test could not complete because rustc was killed by SIGKILL while compiling glib even with --jobs 1 and reduced debug info. +- Notes: no CI workflow logic changed; no auto-merge performed. diff --git a/prompt-launcher/package.json b/prompt-launcher/package.json index 542420d..37a61ce 100644 --- a/prompt-launcher/package.json +++ b/prompt-launcher/package.json @@ -33,4 +33,4 @@ "vite": "^6.0.3", "@tauri-apps/cli": "^2" } -} \ No newline at end of file +}