Skip to content

Add a distinct "prepared" state for pull-labs jobs #3124

Description

@nuclearcat

Pull-labs jobs currently use state=available to mean "ready for an external lab to pick up". Elsewhere in the pipeline, available means "this node has produced a usable result/artifact".

This overload confused send_kcidb: it listens for available nodes and can submit pull-labs jobs to KCIDB before they are actually finished, producing dashboard records with status: NULL.

Short-term fix:

  • send_kcidb should only submit job, test, and process nodes after state=done.
    (46cb4a1 in pipeline)

Long-term fix:

  • Add a distinct state such as prepared for pull-labs jobs waiting to be picked up.
  • Make pull-labs workers poll state=prepared.
  • Keep available for nodes whose outputs/results are actually available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions