Begin the shadow composer again with a backoff when an input cannot be watched yet, and pin mesh-sdk's fixed head, so a node answers candidates for the whole link (issue 1126, review of L2b round 1)

This commit is contained in:
2026-10-27 02:44:39 +01:00
parent fbc6d6330f
commit d56c576e9a
5 changed files with 56 additions and 7 deletions
+1 -5
View File
@@ -543,11 +543,7 @@ func nodeAgent(ctx context.Context, opts options, signer ed25519.PublicKey, sess
func(ctx context.Context, answers map[string]delivery.CandidateAnswer) {
session.NoteCandidates(ctx, answers)
})
go func() {
if err := shadow.Run(linked); err != nil && linked.Err() == nil {
say("this node answers no placement candidate on this link: " + err.Error())
}
}()
go shadow.Keep(linked, link.Backoff)
if composer := selfComposer(linked, session, node, say, hooks); composer != nil {
env.Composed, env.SelfComposed, env.Trusted, env.Policy = composer, true, nil, composer.Policy
} else {