Compose again when a wanted build lands, so a node that waited on a build is not left refused until another input moves (issue 774)
At 19:30 on 2026-10-30 node-tools' want moved to a build not yet done; once it landed, ace, g14 and shanks stayed refused until some other input moved (g14 and shanks at 19:40, ace after a restart), since the composer watched no build. Quick fix: compose again on a timer while anything is held. Thorough fix: the composer watches the builder's builds (within the node's compose reads, NodeComposeReads) and makes a pass when a done build of a module the node wants, at its want's or the trunk's build, lands; nothing else moves it. With mesh-sdk 9685990a (pinned here) a running module whose build is not done is held, keeping what runs, so the pass that waited composes it as soon as it lands. Chose thorough: event-driven, no poll.
This commit is contained in:
@@ -3,7 +3,7 @@ module github.com/novox/mesh-host
|
||||
go 1.26.0
|
||||
|
||||
require (
|
||||
git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261030182415-754edfae6924
|
||||
git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261030184532-9685990a15ed
|
||||
github.com/nats-io/nats-server/v2 v2.11.17
|
||||
github.com/nats-io/nats.go v1.54.0
|
||||
golang.org/x/crypto v0.57.0
|
||||
|
||||
Reference in New Issue
Block a user