Skip to content

workspace stuck on "cleaning up" when app slug is duplicate on template push #8048

@bpmct

Description

@bpmct

You have to look in the server logs to see this.

2023-06-15 13:35:04.899 [erro]  send CompletedJob  job_id=ad76c145-d07f-4403-812b-4d3ee0eca6dd ...
    error= insert resource: duplicate app slug, must be unique per template: "vnc"
           	storj.io/drpc/drpcwire.UnmarshalError:26
           	storj.io/drpc/drpcstream.(*Stream).HandlePacket:224
           	storj.io/drpc/drpcmanager.(*Manager).manageReader:247

Are there other validation errors that are not surfaced on cleaning up? Are we able to guarantee that this step doesn't hang moving forward?

Current behavior

The template push hangs and the user does not know that the problem is.

Expected behavior

Any server logs that cause provisioning to fail/hang should be exposed to the user in coder templates push or in the templates UI

Metadata

Metadata

Assignees

Labels

must-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.s1Bugs that break core workflows. Only humans may set this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions