Merge pull request 'L3 recovery: take tool-runner out of node-tools' manifest until the judge that knows it runs (issue 774, issue 1585)' (#59) from fix/l3-words-after-judge into main

This commit was merged in pull request #59.
This commit is contained in:
2026-11-03 21:09:06 +00:00
2 changed files with 6 additions and 5 deletions
+6 -4
View File
@@ -206,12 +206,14 @@ func TestTheManifestNamesNothingOfTheController(t *testing.T) {
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
// Read as text, as mesh-catalog's controllerdeps check reads its own: mesh-sdk names no module (issue 774), and the // Read as text, as mesh-catalog's controllerdeps check reads its own: mesh-sdk names no module (issue 774).
// manifest says it is the tool runner rather than being known by its name.
if strings.Contains(string(raw), "mesh-controller") { if strings.Contains(string(raw), "mesh-controller") {
t.Error("node-tools' manifest names the ended controller") t.Error("node-tools' manifest names the ended controller")
} }
if !catalogue.IsToolRunner(m) { // The manifest says nothing of being the tool runner until the indexer whose judge knows the word runs (issue 774):
t.Error("node-tools' manifest does not say it is the tool runner (\"tool-runner\": true)") // the running judge refuses a manifest with "tool-runner", and while one manifest is refused the grants part holds
// the bus's user list, so the build of the indexer that knows it is never granted. The word comes back then.
if catalogue.IsToolRunner(m) {
t.Error("node-tools' manifest says \"tool-runner\" before the judge that reads it runs")
} }
} }
-1
View File
@@ -2,7 +2,6 @@
"module": "node-tools", "module": "node-tools",
"version": "1", "version": "1",
"slug": "node-tools", "slug": "node-tools",
"tool-runner": true,
"invokes": [ "invokes": [
"*" "*"
], ],