R-1: W1.3: a process reads its own build from MESH_FINGERPRINT once, and says it
The node-engine hands each process the fingerprint of the want it applies (design 47, The fingerprint handover; mesh-host W13.1). process.OwnBuild reads it once at the first ask, which Connect and Dial make before they dial, and says it in the journal; with none, or one that is no single word, it says "own build unknown" and why. Builds: design 47 G §201, §205, §239 Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
@@ -52,6 +52,7 @@ func (a Account) DialOptions(opts ...nats.Option) []nats.Option {
|
||||
// Dial connects as the module's own principal and opens JetStream on the connection. The caller closes the
|
||||
// connection.
|
||||
func (a Account) Dial(opts ...nats.Option) (*nats.Conn, jetstream.JetStream, error) {
|
||||
OwnBuild()
|
||||
nc, err := nats.Connect(a.URL, a.DialOptions(opts...)...)
|
||||
if err != nil {
|
||||
return nil, nil, fmt.Errorf("connecting to the bus: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user