OpenFn / OpenFn/kit

CLI: collections cannot be deleted

Open
#1,549 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
21
Forks
23
Avg merge
1d 22h
Merged PRs (30d)
17

Description

Two problems here:

  1. if you remove a collection locally, the CLI won't send a delete:true flag up to the provisioner to have it properly removed
  2. even if we did do that, the provisioner doesn't support removal yet

This has to relate to https://github.com/OpenFn/kit/issues/1524

If you try and do this in the CLI today, you'll get an error

Contributor guide

No contributing guide indexed for this repository

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 reproducing the collection-deletion error in the CLI and read the related issue #1524 for the provisioner context. Trace how local collection removal is sent to the provisioner; done means the CLI sends delete:true and the provisioner supports removing the collection without an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.