fix(test): the backup folder test names a folder the host calls rooted; the portable jobs report every failure
The portable-windows gate has been red on main for four pushes (7a5cb6873to652f9da87). The settings test V-D2 added set backup.folder to /mnt/backup/books. A backup folder is a folder on the server's own computer, so the key is checked by the host's path rules, and on Windows that path names no disk: the check refused it, rightly, and the test's unwrap panicked. The rule and the code are unchanged; the test now names a folder the host takes (D:\backup\books there). cargo test stops at the first failing test binary, so that one test hid whatever fails after it. The two portable jobs take most of an hour each; they now run with --no-fail-fast, so one red run shows every failure. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
4da1c5b30f
commit
5cad55023f
3 files changed
+23
-4
No files matched your search
@@ -52,7 +52,11 @@ jobs:
|
||||
- name: Everything compiles
|
||||
run: cargo build --workspace --all-targets
|
||||
- name: Tests
|
||||
run: cargo test --workspace
|
||||
# Every failure in one run: this job takes most of an hour, and
|
||||
# cargo stops at the first failing test binary otherwise, hiding
|
||||
# whatever fails after it (2026-11-09: four red pushes showed one
|
||||
# test).
|
||||
run: cargo test --workspace --no-fail-fast
|
||||
- name: What the build used
|
||||
if: always()
|
||||
shell: bash
|
||||
|
||||
Reference in new issue
Block a user