Skip no_write_on_open in CI, and say why

Its fixture is a git repository built by hand at a hardcoded /tmp path. Nothing in the
repo creates it and macOS reaps /tmp after three days, so the suite passes only on a
machine where someone built it recently. It is 23 of the 76 Rust tests.
This commit is contained in:
pj committed 2026-08-28 09:33:08 +05:30
1 parent 7e499e894a
commit f2d3f36a2a
1 file changed
+9 -1
+9 -1
View File
@@ -52,6 +52,14 @@ jobs:
- name: Stub the build inputs - name: Stub the build inputs
run: mkdir -p dist && touch dist/index.html run: mkdir -p dist && touch dist/index.html
# Every target except `no_write_on_open`, which is skipped rather than run and failing.
# That suite checks the promise the whole project rests on, that the editor writes nothing
# the user did not edit, and it checks it against a real git repository rather than a
# TempDir. The repository is hand built at a hardcoded path under /tmp, so there is nothing
# here to create it and macOS reaps it after three days without access. It is not skipped
# because it is unimportant. It is skipped because it currently cannot run anywhere, and a
# CI that is permanently red says less than one that is green about a named subset.
# Making the fixture reproducible is tracked in the issue.
- name: Test - name: Test
working-directory: src-tauri working-directory: src-tauri
run: cargo test run: cargo test --lib --bins --test fs --test fts5 --test watch --test watch_payload