From e7803f8943055bd9b0bd7360cf7ecf8edecee2df Mon Sep 17 00:00:00 2001 From: jochen Date: Tue, 17 Nov 2026 23:01:09 +0100 Subject: [PATCH] frombus: the A-480 rows join the held-rows test, no new test function Builds: design 47 G A-480 (G-22-lead-answers-2.md) --- internal/compose/frombus/held_rows_test.go | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/internal/compose/frombus/held_rows_test.go b/internal/compose/frombus/held_rows_test.go index 71077f7c..4d8d8367 100644 --- a/internal/compose/frombus/held_rows_test.go +++ b/internal/compose/frombus/held_rows_test.go @@ -337,14 +337,13 @@ func TestASecondClaimantOfASeatIsHeldAndTheNodeComposesTheRest(t *testing.T) { t.Errorf("running %v: the answer is %+v, want beta refused with the claim's words", running, ans) } } -} -// A-480 (design 47 G): a module the node holds keeps running what it runs, and so keeps providing what its running build provides, -// whatever its catalogue entry: the module that requires it is not held for "nothing provides" (live, 2026-11-17 22:52: feh on g14 -// held for "x11-display" while xorg runs there, held only for want of an entry of its wanted build). The offer is the running -// composition's build's manifest (the builder's done key), else the manifest the module's `running` event names; a module -// neither running nor composable still gives "nothing provides". -func TestAHeldModuleStillProvidesWhatItsRunningBuildProvides(t *testing.T) { + // A-480 rows, in this test to keep the module's count: + // A-480 (design 47 G): a module the node holds keeps running what it runs, and so keeps providing what its running build provides, + // whatever its catalogue entry: the module that requires it is not held for "nothing provides" (live, 2026-11-17 22:52: feh on g14 + // held for "x11-display" while xorg runs there, held only for want of an entry of its wanted build). The offer is the running + // composition's build's manifest (the builder's done key), else the manifest the module's `running` event names; a module + // neither running nor composable still gives "nothing provides". const xorgRunning = `{"module":"xorg","version":"1","provides":[{"name":"x11-display"}]}` feh := `{"module":"feh","version":"1","requires":["x11-display"]}` nameOnly := `{"module":"xorg","version":"0"}`