The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(release): the release gate passes again (D14)
purple8b0dd8daf04c
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lockindex fb3ad1cf..21e10b1e 100644--- a/src-tauri/Cargo.lock+++ b/src-tauri/Cargo.lock@@ -126,9 +126,9 @@ dependencies = [[[package]]name = "async-executor"-version = "1.14.0"+version = "1.13.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a"+checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8"dependencies = ["async-task","concurrent-queue",diff --git a/src-tauri/deny.toml b/src-tauri/deny.tomlindex 72266628..611acc32 100644--- a/src-tauri/deny.toml+++ b/src-tauri/deny.toml@@ -15,16 +15,20 @@ unmaintained = "workspace"unsound = "workspace"yanked = "deny"ignore = [- # zip 4.6.1, pulled in by tauri-plugin-updater 2.10.1 (the newest 2.x).+ # zip 4.6.1, pulled in by tauri-plugin-updater (2.12.0 today, the newest 2.x).# Our own zip dependency is on 9.x and not affected. The updater only# unpacks on Windows, and only an archive whose minisign signature it has# already checked against the key in tauri.conf.json, so the archive- # cannot come from anyone but our release workflow. The three advisories- # are about Unix permission bits and symlinks on extraction. Drop these- # lines when the updater moves to zip >= 9.+ # cannot come from anyone but our release workflow (updater.rs: download()+ # verifies the signature, install() extracts afterwards). The first three+ # advisories are about Unix permission bits and symlinks on extraction;+ # RUSTSEC-2026-0429 (05.11.2026) is an abort on a symlink entry with a+ # huge declared size, i.e. a crash, again only from an archive we signed.+ # Drop these lines when the updater moves to zip >= 9.{ id = "RUSTSEC-2026-0367", reason = "zip 4.x inside tauri-plugin-updater, signed archives only, see comment" },{ id = "RUSTSEC-2026-0368", reason = "zip 4.x inside tauri-plugin-updater, signed archives only, see comment" },{ id = "RUSTSEC-2026-0369", reason = "zip 4.x inside tauri-plugin-updater, signed archives only, see comment" },+ { id = "RUSTSEC-2026-0429", reason = "zip 4.x inside tauri-plugin-updater, signed archives only, see comment" },][licenses]diff --git a/src-tauri/src/commands/bg_tasks.rs b/src-tauri/src/commands/bg_tasks.rsindex a8455ae6..27f84157 100644--- a/src-tauri/src/commands/bg_tasks.rs+++ b/src-tauri/src/commands/bg_tasks.rs@@ -153,7 +153,10 @@ async fn finish_test_task(id: &str) {// Eine Abbruchanforderung ist noch kein ausgefuehrter Abbruch.// Endet die Testlaufzeit vorher, verwirft Tokio den Empfaenger und wartet// unter Windows auf dessen blockierende Pipe-Leser bis zum Prozessende.- let deadline = std::time::Instant::now() + std::time::Duration::from_secs(5);+ // 30 s, not 5: on a loaded Windows CI runner (release gate 05.11.2026,+ // 245 s for the whole suite) PowerShell and its ping child took longer+ // than 5 s to go, and the test failed although the task did end.+ let deadline = std::time::Instant::now() + std::time::Duration::from_secs(30);loop {let status = shell_task_status_impl(&json!({ "id": id })).await.unwrap();if status["running"] == false { return; }diff --git a/src-tauri/src/commands/neuron/sae.rs b/src-tauri/src/commands/neuron/sae.rsindex 2cf287c0..a9a5aff4 100644--- a/src-tauri/src/commands/neuron/sae.rs+++ b/src-tauri/src/commands/neuron/sae.rs@@ -150,7 +150,7 @@ pub fn feature_vector(root: &Path, spec: &SaeSpec, feature: usize) -> Result<supf.seek(SeekFrom::Start((feature * spec.n_embd * 4) as u64)).map_err(|e| crate::os_error::english(&e))?;let mut b = vec![0u8; spec.n_embd * 4];f.read_exact(&mut b).map_err(|e| crate::os_error::english(&e))?;- let row: Vec<f32> = b.chunks_exact(4).map(|c| f32::from_le_bytes([c[0], c[1], c[2], c[3]])).collect();+ let row: Vec<f32> = b.as_chunks::<4>().0.iter().map(|c| f32::from_le_bytes(*c)).collect();let mut cv = super::cvec::ControlVector::new(spec.n_embd);cv.layers.insert(spec.layer, row);Ok(cv)@@ -231,7 +231,7 @@ pub fn search(labels: &[Vec<String>], query: &str, limit: usize) -> Vec<Hit> {pub fn read_i32s(path: &Path) -> Result<Vec<i32>, String> {let b = std::fs::read(path).map_err(|_| "The feature data is not downloaded yet.".to_string())?;- Ok(b.chunks_exact(4).map(|c| i32::from_le_bytes([c[0], c[1], c[2], c[3]])).collect())+ Ok(b.as_chunks::<4>().0.iter().map(|c| i32::from_le_bytes(*c)).collect())}#[cfg(test)]diff --git a/src/api/__tests__/build-llama-script.test.ts b/src/api/__tests__/build-llama-script.test.tsindex 85b9d325..47366990 100644--- a/src/api/__tests__/build-llama-script.test.ts+++ b/src/api/__tests__/build-llama-script.test.ts@@ -650,6 +650,11 @@ describe('build-llama.sh --check: a failed boot leaves no server behind (E1)', {const triple = runScript('host_triple').outconst bin = join(root, 'src-tauri', 'bin')execFileSync('mkdir', ['-p', bin])+ // On a dynamic-ISA triple (x86_64 Linux) check_binary runs the server from+ // its companion-library folder and stops early when that folder is missing,+ // before any /health probe. The Mac never takes that branch, the Linux CI+ // gate did (05.11.2026), so the folder is laid out here for every host.+ execFileSync('mkdir', ['-p', join(root, 'src-tauri', 'resources', 'llama', triple)])const pidFile = join(root, 'server.pid')// A server that never answers /health: it only records its PID and waits.const fake = join(bin, `lu-llama-server-${triple}`)