Unable to delete project (if emails have not yet allowed for project?)

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
clojure
Domain
cli

Research direction

Start by tracing the garden delete command in this repository and how it handles projects whose email notification setting has not been completed. Reproduce the failure using a project in that state; the issue reports a unique conflict on :notification/project+email during deletion. Done means deleting that project completes without the conflict.

Written by the indexing model from the issue text.

Description

Probably the issue with garden itself, not the cli tools, yet I don't see where to report that, so here it goes,

Running a test deploy (calendula), toying with it and then trying to clean it up, the garden falls over with the error, possibly due to ignored "allow emails from $app?" message,

$ garden delete eijeijei
Deleting 'eijeijei'
Deleting a project will stop your current application and remove your data permanently. This cannot be undone!
If you delete a project, its name will be available to anyone else again.
If you want to delete project eijeijei, confirm by typing the project's name and pressing 'Enter':
eijeijei
java.lang.IllegalStateException: :db.error/unique-conflict Unique conflict: :notification/project+email, value: [nil "[email protected]"] already held by: 17592186052955 asserted for: 17592186053077
Dominant language
Clojure
Stars
16
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from nextjournal/garden-cli

All issues in nextjournal/garden-cli

Similar issues

More Clojure issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.