Closed as not planned
Description
Existing UI #10182
"Archving" a template version essentially hides it from the UI by default. This allows cleaning up the noise generated over time. Primarily it is helpful for hiding template versions that "failed" and are unusable.
Template versions can be archived if:
- No workspace is currently using it
- The template version is "complete", meaning it is not "pending" or still "running" (still provisioning)
This action is reversible via "unarchive".
Lastly, there exists an api call that can archive either:
- All failed template versions
- All unused template versions.
CLI commands exist for this management.
Requirements
- The UI should be able to view archived template versions using
&include_archived=true
on the api fetching versions.coder/coderd/templateversions.go
Line 707 in e3d9ed6
- Be able to unarchive template versions from the UI
- (Optional): Button to "Archive all failed versions"