hub (unreleased): the hub keeps and shows which boxes were accepted on a small system disk (D83, R-1398 part 2)
gates / gates (push) Successful in 3m40s
gates / gates (push) Successful in 3m40s
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
8378dc446b
commit
c3fa43a486
10 files changed
+407
-1
No files matched your search
@@ -0,0 +1,62 @@
|
||||
## run in a private copy of hub/ (another helper edits the shared tree; a mutation tool rewrites whole files)
|
||||
== MUTATION: a box whose id only starts with this id reads the mark
|
||||
*** NOT A RED-PROOF *** (mutant rc=0 built=True real rc=0)
|
||||
== MUTATION: a size at or above the line is kept
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestSmallDisk_NotedPerBox_ReadBack_LookAlikeApart (0.04s)
|
||||
small_disk_test.go:39: size 200000000000 was kept: &{Bytes:200000000000 NotedAt:2026-11-16 09:00:00 +0000 UTC}
|
||||
== MUTATION: told again leaves two marks
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestSmallDisk_NotedPerBox_ReadBack_LookAlikeApart (0.05s)
|
||||
small_disk_test.go:30: told again: &{Bytes:128035676160 NotedAt:2026-11-16 09:00:00 +0000 UTC}
|
||||
== MUTATION: an id with a colon makes a mark
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestSmallDisk_NotedPerBox_ReadBack_LookAlikeApart (0.05s)
|
||||
small_disk_test.go:45: an id with a colon made 1 mark(s)
|
||||
== MUTATION: the mark is not under the names a box delete removes
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestSmallDisk_GoesWithTheBox (0.05s)
|
||||
small_disk_test.go:66: the deleted box's mark stayed: &{Bytes:128000000000 NotedAt:2026-11-15 14:59:58 +0000 UTC}
|
||||
|
||||
5 mutations, 1 not a red-proof
|
||||
== MUTATION: any value of small_disk is the flag
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestD83_OnlyTrueIsTheFlag_AndARefusedRequestMarksNothing (0.04s)
|
||||
d83_small_disk_test.go:77: {"customer_id":"c%d","small_disk":"true"} was read as the flag
|
||||
== MUTATION: the first enrolment does not store the mark
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestD83_EnrolmentStoresTheSmallDiskMark (0.05s)
|
||||
d83_small_disk_test.go:40: the hub did not keep the mark of c1-370d7b: <nil>
|
||||
== MUTATION: a reinstall over the record does not store the mark
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestD83_EnrolmentStoresTheSmallDiskMark (0.05s)
|
||||
d83_small_disk_test.go:48: the size of the second enrolment was not kept: &{Bytes:0 NotedAt:2026-11-15 15:00:10 +0000 UTC}
|
||||
== MUTATION: the size is not read
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestD83_EnrolmentStoresTheSmallDiskMark (0.05s)
|
||||
d83_small_disk_test.go:48: the size of the second enrolment was not kept: &{Bytes:0 NotedAt:2026-11-15 15:00:13 +0000 UTC}
|
||||
|
||||
4 mutations, 0 not a red-proof
|
||||
== MUTATION: the page never shows the line
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestD83_HostPageShowsTheSmallDiskLine (0.06s)
|
||||
d83_small_disk_test.go:34: the page of a box accepted on 128 GB does not say so
|
||||
== MUTATION: every box shows the line
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestD83_HostPageShowsTheSmallDiskLine (0.07s)
|
||||
d83_small_disk_test.go:40: the page of a box the hub was never told about shows the small-disk line
|
||||
== MUTATION: the size is shown in GiB as GB
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestD83_HostPageShowsTheSmallDiskLine (0.06s)
|
||||
d83_small_disk_test.go:34: the page of a box accepted on 128 GB does not say so
|
||||
|
||||
3 mutations, 0 not a red-proof
|
||||
|
||||
== MUTATION: a box whose id only starts with this id reads the mark (redone: the first mutant removed one of TWO guards and was equal in effect; this one removes both)
|
||||
RED on the mutant, GREEN on the real file
|
||||
--- FAIL: TestSmallDisk_NotedPerBox_ReadBack_LookAlikeApart (0.05s)
|
||||
small_disk_test.go:22: "demo-hp-bb76e" reads the mark of another box: &{Bytes:128035676160 NotedAt:2026-11-16 09:00:00 +0000 UTC}
|
||||
--- FAIL: TestSmallDisk_GoesWithTheBox (0.05s)
|
||||
small_disk_test.go:66: the deleted box's mark stayed: &{Bytes:128000000000 NotedAt:2026-11-15 15:00:44 +0000 UTC}
|
||||
|
||||
1 mutations, 0 not a red-proof
|
||||
Reference in new issue
Block a user