hub v0.128.0: set-aside deletion through the hub after a 7-day wait (decision 74, R-823), key-file clean-up route (R-826), read-only key check (R-827), window cap = half
gates / gates (push) Successful in 29s
gates / gates (push) Successful in 29s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
## RPC1: the v0.289 guard — a young removal always refuses (no same-day exclusion)
|
||||
=== RUN TestOffsiteGuard_SameDaySupersededYoungExcluded
|
||||
offbox_window_test.go:222: the window must run, not refuse: [{ID:2 CountBefore:3 CountAfter:3 Removed:0 Outcome:guard-refused Reason:the policy would remove snapshot night from 2026-10-03T02:00:00Z — younger than 8 days and not superseded the same day, which honest retention never does}]
|
||||
--- FAIL: TestOffsiteGuard_SameDaySupersededYoungExcluded (0.00s)
|
||||
|
||||
## RPC2: the v0.289 guard cap (take the oldest, never refuse)
|
||||
=== RUN TestOffsiteGuard_AboveWeeklyCapRefused
|
||||
offbox_window_test.go:201: ids=[o5-full o4-full o3-full o2-full o1-full o0-full] why=""
|
||||
--- FAIL: TestOffsiteGuard_AboveWeeklyCapRefused (0.00s)
|
||||
|
||||
## RPC3: a recovery that does not cancel at the hub
|
||||
=== RUN TestAbandon_PinnedHandsToHubAndFollows
|
||||
offbox_window_test.go:334: cancels=0 status={Active:false StartedAt:0001-01-01 00:00:00 +0000 UTC DueAt:0001-01-01 00:00:00 +0000 UTC DaysLeft:0 RepoPath:/home/felhom-repo.orphaned-20260901 PurgeRequested:false HubPending:false HubDueAt:0001-01-01 00:00:00 +0000 UTC RetrievalStillOffered:false}
|
||||
--- FAIL: TestAbandon_PinnedHandsToHubAndFollows (0.00s)
|
||||
|
||||
## restored:
|
||||
ok gitea.dooplex.hu/admin/felhom-controller/internal/backup 0.020s
|
||||
@@ -0,0 +1,22 @@
|
||||
## RPH1: the sweep ignores the delay
|
||||
=== RUN TestAbandon_DelayCancelAndScope
|
||||
service_test.go:152: deleted BEFORE the delay
|
||||
--- FAIL: TestAbandon_DelayCancelAndScope (0.03s)
|
||||
|
||||
## RPH2: the sweep ignores a cancel
|
||||
=== RUN TestAbandon_DelayCancelAndScope
|
||||
service_test.go:162: a CANCELLED request deleted the copy
|
||||
--- FAIL: TestAbandon_DelayCancelAndScope (0.03s)
|
||||
|
||||
## RPH3: the audit's read creates .ssh again (v0.127.0)
|
||||
=== RUN TestAudit_DoesNotCreateSSHDir
|
||||
service_test.go:208: the audit wrote: "mkdir .ssh"
|
||||
--- FAIL: TestAudit_DoesNotCreateSSHDir (0.00s)
|
||||
|
||||
## restored:
|
||||
ok gitea.dooplex.hu/admin/felhom-hub/internal/offsitekeys 0.137s
|
||||
|
||||
## RPH4: the v0.127.0 cap (40 %) against an honest week
|
||||
=== RUN TestMaxRemove_HonestWeekFits
|
||||
service_test.go:217: MaxRemove(153) = 61 < 63 — every honest window would be refused
|
||||
--- FAIL: TestMaxRemove_HonestWeekFits (0.00s)
|
||||
Reference in New Issue
Block a user