Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,30 @@ 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

- name: Run Svelte/TypeScript checks
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
Expand Down
7 changes: 7 additions & 0 deletions DECISION_JOURNAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 2 additions & 0 deletions prompt-launcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading