Skip to content

Clarify Job vs Attachment states and use enumertations throughout #993

@ajzobro

Description

@ajzobro

There are a variety of different statuses tracked in Testflinger and the accompanying GitHub actions. Most of these should to be tracked with enumerations rather than raw strings.

  • job status: enum exists and should be used throughout
  • attachment status: enum required and ought to be used throughout
  • GitHub action status ("complete") not sure if we can use an enum in the GH actions, but be careful with search and replace

Within the JobState enum, presently there are two confusing states:

  • ALLOCATE = "allocate"
  • ALLOCATED = "allocated": the state after "allocate" should have a different name

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions