Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-374

Pipeline.done returns READY when there is nothing to run

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.0, 0.8.3
    • None
    • None

    Description

      It is odd that Pipeline.done() returns a PipelineResult with a status of “READY” when there is nothing staged in the pipeline when done is called. It makes sense to not return “SUCCEEDED” as that implies that something happened successfully, but “READY” isn’t a terminal state but it’s an initial state so checking for a status of READY after calling done is counterintuitive.

      Perhaps a new status of “DONE” should be returned in this case

      Attachments

        1. 0001-CRUNCH-374.patch
          3 kB
          Nathan Barry

        Activity

          People

            Unassigned Unassigned
            nbarry@cerner.com Nathan Barry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: