rough-ice-18151
08/01/2025, 1:15 AMdocker stop
my workload and zpool export
the zpool before the instance gets shut down to reliably preserve data integrity.
So I'm trying to send diagnostic messages that identify which URN associates with which logical resource so I know which machine to SSH into. I've looked into custom providers to add this logic to the execution DAG, but felt that the workflow in golang was too complex, especially for distribution across my team since I need to manage multiple binary versions (one for my program and the other for the custom provider).
So when I send a diagnostic message like this:
ctx.Log.Debug(string(msg), &pulumi.LogArgs{
Resource: resource,
StreamID: 12345,
})
}
The message and resource urn get preserved in the resulting EngineEvent, but the streamID is always 0. Am I just doing this wrong or not understanding what streams are?rough-ice-18151
08/01/2025, 1:16 AMechoing-dinner-19531
08/01/2025, 6:53 AM