core: a deliberately failing test, to prove the APK gate (reverted next)
CI & Build / Python lint (push) Successful in 2s
CI & Build / Build now, or wait for Android? (push) Successful in 2s
Android / Build, or is the channel already serving this? (push) Successful in 3s
Desktop (Tauri) / Build, or is the channel already serving this? (push) Successful in 2s
CI & Build / Web typecheck and unit tests (push) Successful in 8s
CI & Build / Python tests (push) Successful in 12s
CI & Build / integration (push) Successful in 1m22s
CI & Build / Build & push image (push) Skipped
Desktop (Tauri) / Web tests, clippy, Rust tests and rustfmt (push) Failing after 2m31s
Desktop (Tauri) / Tauri desktop (Linux) (push) Skipped
Desktop (Tauri) / Windows installer (cross-compiled) (push) Skipped
Desktop (Tauri) / Update manifest (push) Skipped
Android / Kotlin + Rust (APK) (push) Failing after 3m39s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 22:35:06 -04:00
co-authored by Claude Opus 5.5
parent 42db4cde6b
commit a682d6d225
+7
View File
@@ -1192,6 +1192,13 @@ mod tests {
list_notes(conn, &query).expect("list") list_notes(conn, &query).expect("list")
} }
// Throwaway (#5237): proves a red core test stops the APK. Reverted next commit.
#[test]
fn deliberately_red_for_the_apk_gate() {
let n = "x".len();
assert_eq!(n, 2, "this test exists to fail");
}
fn ids(notes: &[Note]) -> Vec<&str> { fn ids(notes: &[Note]) -> Vec<&str> {
notes.iter().map(|n| n.id.as_str()).collect() notes.iter().map(|n| n.id.as_str()).collect()
} }