Skip to content

enhance: Add version to Queue Item #811

@cognifloyd

Description

@cognifloyd

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,

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIndicates an improvement to a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions