build modules: cite A-489b on the step-ends kit case, its check and the node's need

Builds: design 47 G §24; lead answer A-489b

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
This commit is contained in:
2026-11-19 15:38:16 +01:00
parent e1521a2ecf
commit 0a446c7572
5 changed files with 5 additions and 5 deletions
@@ -57,7 +57,7 @@ func TestTheStepsSayAFailedNetworkAsATransportFault(t *testing.T) {
})
}
// Design 47 G §24 (*Asked on a work queue, ended by an event*): the module's own steps can say a pipeline step's end, or
// A-489b, design 47 G §24: the module's own steps can say a pipeline step's end, or
// every step ask the runner sends it is refused ("this build module says no step's end"), as the first live pipeline met.
func TestTheStepsCanSayAStepsEnd(t *testing.T) {
conformance.StepEnds(t, (&Module{Node: "kitnode"}).askSteps(nil))
@@ -45,7 +45,7 @@ func TestTheStepsSayAFailedNetworkAsATransportFault(t *testing.T) {
})
}
// Design 47 G §24 (*Asked on a work queue, ended by an event*): the module's own steps can say a pipeline step's end, or
// A-489b, design 47 G §24: the module's own steps can say a pipeline step's end, or
// every step ask the runner sends it is refused ("this build module says no step's end"), as the first live pipeline met.
func TestTheStepsCanSayAStepsEnd(t *testing.T) {
conformance.StepEnds(t, (&Module{Node: "kitnode"}).askSteps(nil))
@@ -50,7 +50,7 @@ func TestTheStepsSayAFailedNetworkAsATransportFault(t *testing.T) {
})
}
// Design 47 G §24 (*Asked on a work queue, ended by an event*): the module's own steps can say a pipeline step's end, or
// A-489b, design 47 G §24: the module's own steps can say a pipeline step's end, or
// every step ask the runner sends it is refused ("this build module says no step's end"), as the first live pipeline met.
func TestTheStepsCanSayAStepsEnd(t *testing.T) {
conformance.StepEnds(t, (&Module{Node: "kitnode"}).askSteps(nil))
@@ -51,6 +51,6 @@ func (m *Module) lintStep(ctx context.Context, args map[string]any) (any, error)
return steprun.LintAnswer{Failed: failed, Nothing: !linted}, nil
}
// Has says whether this node has a need a package's tests name (sdkstep.AskNeeds): the need node-build-node is this module's own
// A-489b: Has says whether this node has a need a package's tests name (sdkstep.AskNeeds): the need node-build-node is this module's own
// (a TypeScript package's tests run through it); any other it lacks.
func (m *Module) Has(need string) bool { return need == sdkstep.NeedNodeBuildNode }