Monorepo for Tangled tangled.org

spindle/db: prevent status events from overwriting terminal states #1063

Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:sshwio5obbx4zjfrn3fhsen6/sh.tangled.repo.pull/3mejkakpceu22
Interdiff #0 โ†’ #1
spindle/db/events.go

This file has not been changed.

History

2 rounds 2 comments
sign up or login to add to the discussion
1 commit
expand
spindle/db: prevent status events from overwriting terminal states
no conflicts, ready to merge
expand 1 comment

what are some scenarios where this happens? i think the fact this is happening is a side effect of a greater issue: that the final state of a workflow is in fact not the final state, it continues to do things.

1 commit
expand
spindle/db: prevent status events from overwriting terminal states
expand 1 comment

This prevents cancelled pipeline runs getting overwritten with a failed status by the workflow goroutine when its container is destroyed