moves: the table's resend schedule seam is audited, and the table's files are in the copy scan
SetTableRetryScheduleForTest joins TestEveryE2ESeamHasOneSetter with moves' own tests as its one setter (ruling D11); reserve.go and tablewrite.go join movesScanFiles (errors only, no operator sentence).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2 files changed,
+6
−0
approved_moves_copy_test.go+4 −0internal/offlinecleanup/seams_test.go+2 −0
diff --git a/approved_moves_copy_test.go b/approved_moves_copy_test.go| index 1ec1a606a..bd02f45ca 100644 |
| --- a/approved_moves_copy_test.go |
| +++ b/approved_moves_copy_test.go |
| @@ -1370,6 +1370,9 @@ var movesScanFiles = []string{ |
| "internal/moves/participants.go", |
| "internal/moves/probe.go", |
| "internal/moves/readiness.go", |
| + // Self-serve moves plan 4 Task 2a: the reservation table's readers, |
| + // release and single-attempt writes (errors only; no operator sentence). |
| + "internal/moves/reserve.go", |
| "internal/moves/returnlane.go", |
| "internal/moves/seal.go", |
| "internal/moves/sealedclient.go", |
| @@ -1377,6 +1380,7 @@ var movesScanFiles = []string{ |
| "internal/moves/staging.go", |
| "internal/moves/startcheck.go", |
| "internal/moves/switch.go", |
| + "internal/moves/tablewrite.go", |
| "internal/moves/timers.go", |
| "internal/moves/transition.go", |
| "internal/provision/provision.go", |
diff --git a/internal/offlinecleanup/seams_test.go b/internal/offlinecleanup/seams_test.go| index abe9f7b99..2f8c9fcb8 100644 |
| --- a/internal/offlinecleanup/seams_test.go |
| +++ b/internal/offlinecleanup/seams_test.go |
| @@ -52,6 +52,8 @@ var e2eSeams = []seam{ |
| Why: "the resend schedule lease and moves share; a test schedule is built with NewBackoff, never by assigning this"}, |
| {Kind: "field", Owner: "internal/host", Name: "rootOnlyChain", TestDirs: []string{"internal/host"}, |
| Why: "moveCfg's injection of offlinecleanup.RootOnlyChain for the gone evidence's local paths (Task 1); host tests only"}, |
| + {Kind: "call", Owner: "internal/moves", Name: "SetTableRetryScheduleForTest", OwnTests: true, MinRefs: 1, |
| + Why: "the reservation table's resend schedule in a unit test (Task 2a, ruling D11); its one setter is moves' own tests (fastResend), and a later task that needs it elsewhere names its setter here"}, |
| } |
| const modulePath = "github.com/carlosframework/platform/" |