oxidecomputer / oxidecomputer/console

Instances: Improved deletes

Open
#2,014 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
228
Forks
22
Avg merge
19h 42m
Merged PRs (30d)
32

Description

When a user deletes an resource, there's some ambiguity as to whether associated resources are also deleted. We want to make this process as explicit as possible. It would also be useful to add further friction to prevent the user accidentally deleting an instance as this is irreversible.

image.png

To begin I propose we add this to the instance delete flow, and eventually generalise it to work with other resources. E.g. deleting a project (and with it its contained resources).

We may also want the ability for the user to cleanup these resources automatically. We could do so by batching the API requests, similar to how we do it on the image upload modal.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the instance delete flow and the image upload modal's batching approach, since the issue points to both as relevant precedents. Define explicit handling for associated resources, add stronger protection against irreversible deletion, and consider cleanup batching; done means the instance flow clearly communicates consequences and supports the agreed cleanup behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.