302f24e47c
gates / gates (push) Successful in 27s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
26 lines
2.3 KiB
Plaintext
26 lines
2.3 KiB
Plaintext
## rule1: first attempt removed the block — build failed (unused variable), not a result
|
|
## rule2: no undo on a failed rename
|
|
--- FAIL: TestKept_KeepAsideIsARenameAndRollsBack (0.00s)
|
|
kept_test.go:101: the first folder was not put back after the failed move: stat /tmp/TestKept_KeepAsideIsARenameAndRollsBack288451927/001/drive/appdata/cloudapp/user1/file.txt: no such file or directory
|
|
## rule3: kept not protected
|
|
--- FAIL: TestKept_KeptDirIsProtected (0.00s)
|
|
kept_test.go:132: <drive>/kept is not in ProtectedHDDPaths
|
|
## rule4: delete without the listed check
|
|
--- FAIL: TestKept_DeleteRefusesAnythingNotListed (0.00s)
|
|
kept_test.go:185: delete of /tmp/TestKept_DeleteRefusesAnythingNotListed3626460414/001/drive/appdata/cloudapp: want ErrKeptNotListed, got <nil>
|
|
## install guard removed
|
|
--- FAIL: TestKept_DeployRefusesOverOldDataWithoutAChoice (0.01s)
|
|
kept_test.go:214: choice "": no choice was accepted — want ErrKeptDataChoice, got <nil>
|
|
## rule1 (redone — the first mutation did not compile): appdata prefix check disabled
|
|
--- FAIL: TestKept_OnlyAppdataBindsAreOldData (0.00s)
|
|
kept_test.go:64: old data = [/tmp/TestKept_OnlyAppdataBindsAreOldData2495434777/001/drive/appdata/cloudapp /tmp/TestKept_OnlyAppdataBindsAreOldData2495434777/001/drive/media /tmp/TestKept_OnlyAppdataBindsAreOldData2495434777/001/drive/userdata/Photos], want only [/tmp/TestKept_OnlyAppdataBindsAreOldData2495434777/001/drive/appdata/cloudapp] (a household folder must never be moved)
|
|
## backup: the unit's HDD_PATH check disabled
|
|
--- FAIL: TestKept_DBCopyIsTheNewestUsableForThisDrive (0.00s)
|
|
kept_load_test.go:43: a unit taken of another drive was offered: {UnitDir:/tmp/TestKept_DBCopyIsTheNewestUsableForThisDrive3608708086/004/backups/primary/nextcloud Tier:1 Time:2026-09-25 12:29:20.057488373 +0200 CEST DriveLabel:HDD}
|
|
## web: the :ro suffix dropped
|
|
--- FAIL: TestKept_FileBrowserBindsAreReadOnly (0.00s)
|
|
kept_fb_test.go:23: bind " - /mnt/felhom-drives/hdd_1/kept/nextcloud/2026-09-25_130000:/srv/megorzott/hdd_1-nextcloud-2026-09-25_130000" is not a read-only bind of /mnt/felhom-drives/hdd_1/kept/nextcloud/2026-09-25_130000 under /srv/megorzott
|
|
## api: keptDataAtInstall returns false at once
|
|
--- FAIL: TestKept_InstallAPIAsksAndInstallsNothing (0.00s)
|
|
kept_install_test.go:57: no choice: handled=false code=200 body=map[]
|