Skip to content

Error while canceling job should result in failed; instead results in canceled #1374

@spikecurtis

Description

@spikecurtis

OS Information

  • coder --version: Coder v0.5.4-devel+d847d2b

spotted in code read, c.f.

job.Status = codersdk.ProvisionerJobCanceled

Steps to Reproduce

  1. provisioner_job gets a cancel, this sets canceled_at and status becomes "Cancelling"
  2. provisionerd fails and reports an error on the job, this sets error and completed_at, status becomes "Canceled"

Expected

Status should be Failed

Actual

Status is Canceled

Logs

Screenshot

Notes

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIcliArea: CLI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy