Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENSRainbow: Add purge command #285

Conversation

djstrong
Copy link
Contributor

@djstrong djstrong added the ensrainbow ENSRainbow related label Feb 19, 2025
@djstrong djstrong self-assigned this Feb 19, 2025
@djstrong djstrong requested a review from a team as a code owner February 19, 2025 21:56
@djstrong djstrong linked an issue Feb 19, 2025 that may be closed by this pull request
Copy link

vercel bot commented Feb 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
admin.ensnode.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 3:55pm
ensnode.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 3:55pm
ensrainbow.io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 3:55pm

@djstrong djstrong changed the base branch from main to 252-ensrainbow-add-a-flag-to-the-validate-command-to-specify-if-it-should-be-a-full-validation-or-a-lite-validation February 19, 2025 21:57
Copy link
Contributor

@tk-o tk-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@lightwalker-eth lightwalker-eth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@djstrong Hey nice progress here 👍 You're welcome to merge this PR whenever you recommend. Any feedback I shared can be updated in this PR or a separate new PR. Up to you! Cheers!

@@ -112,6 +117,22 @@ export function createCLI(options: CLIOptions = {}) {
});
},
)
.command(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions:

  1. Can you please add docs for this new command in the readme?
  2. Can you please review and refine error messages we might generate if a validation check fails? Ex: Ingestion unfinished, etc? For each of those error messages, suggest:
    3. Including a suggestion to run this purge command.
    4. Include a STRONG WARNING that running this purge command will completely remove all files in the specified directory.

Co-authored-by: lightwalker.eth <[email protected]>
@djstrong djstrong merged commit 1a4c1ab into 252-ensrainbow-add-a-flag-to-the-validate-command-to-specify-if-it-should-be-a-full-validation-or-a-lite-validation Feb 21, 2025
2 of 4 checks passed
@djstrong djstrong deleted the 253-ensrainbow-add-purge-command branch February 21, 2025 15:54
@djstrong djstrong mentioned this pull request Feb 21, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ensrainbow ENSRainbow related
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

ENSRainbow: Add purge command
3 participants