-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
go-vela/worker
#478Labels
enhancementIndicates an improvement to a featureIndicates an improvement to a feature
Description
Description
Add a version field or a versioned envelope to the queue Item.
Value
If a build gets queued and then the server+worker shut down for an upgrade (or a downgrade), then that build is "stale". The worker needs a way to handle this stale data gracefully. The worker should be able to reliably reject any queued items that it cannot handle (for example by failing the build).
Both of these proposals involve changing the queue Item or the underlying executable pipeline.Build. So,
- feat(proposal): Build init
Loginstead of magic "init"Step#789 - proposal: remove executable pipeline build from the queue #805
Definition of Done
The queue Item has something that allows the worker to reject or fail the build if it cannot handle the version mismatch.
Effort (Optional)
1-3 days
Impacted Personas (Optional)
Vela admins
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementIndicates an improvement to a featureIndicates an improvement to a feature