+1
spindle/config/config.go
+1
spindle/config/config.go
+4
-3
spindle/db/db.go
+4
-3
spindle/db/db.go
······
······
+48
-42
spindle/db/pipelines.go
+48
-42
spindle/db/pipelines.go
···············-func (db *DB) MarkPipelineFailed(rkey, knot string, exitCode int, errorMsg string, n *notifier.Notifier) error {·········-`, pipelineAtUri(rkey, knot)).Scan(&p.Rkey, &p.Status, &p.Error, &p.ExitCode, &p.StartedAt, &p.UpdatedAt, &p.FinishedAt)······
···············+func (db *DB) MarkPipelineFailed(rkey string, exitCode int, errorMsg string, n *notifier.Notifier) error {·········+`, rkey).Scan(&p.Rkey, &p.Status, &p.Error, &p.ExitCode, &p.StartedAt, &p.UpdatedAt, &p.FinishedAt)······
+2
-2
spindle/engine/engine.go
+2
-2
spindle/engine/engine.go
···-func (e *Engine) SetupPipeline(ctx context.Context, pipeline *tangled.Pipeline, id string) error {···
···+func (e *Engine) SetupPipeline(ctx context.Context, pipeline *tangled.Pipeline, atUri, id string) error {···
+19
-14
spindle/server.go
+19
-14
spindle/server.go
······func (s *Spindle) exec(ctx context.Context, src knotclient.EventSource, msg knotclient.Message) error {
······func (s *Spindle) exec(ctx context.Context, src knotclient.EventSource, msg knotclient.Message) error {+pipelineAtUri := fmt.Sprintf("at://%s/did:web:%s/%s", tangled.PipelineNSID, pipeline.TriggerMetadata.Repo.Knot, msg.Rkey)
+3
-2
spindle/stream.go
+3
-2
spindle/stream.go
······
······