-
Notifications
You must be signed in to change notification settings - Fork 317
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
feat(sns-cli): Add sns health
command
#1711
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anchpop
force-pushed
the
@anchpop/NNS1-3288
branch
from
September 26, 2024 18:11
bb4b2ed
to
dd85a6d
Compare
anchpop
force-pushed
the
@anchpop/NNS1-3288
branch
6 times, most recently
from
September 27, 2024 18:00
4703298
to
5206cfc
Compare
max-dfinity
approved these changes
Sep 27, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change name of command, but otherwise lgtm
anchpop
changed the title
feat(sns-cli): Add
feat(sns-cli): Add Sep 27, 2024
sns lint
commandsns health
command
anchpop
force-pushed
the
@anchpop/NNS1-3288
branch
from
September 27, 2024 23:13
5206cfc
to
8df67f0
Compare
Changed the name of the command from |
anchpop
force-pushed
the
@anchpop/NNS1-3288
branch
from
September 27, 2024 23:14
8df67f0
to
855bb64
Compare
levifeldman
pushed a commit
to levifeldman/ic
that referenced
this pull request
Oct 1, 2024
This adds a `health` command to the sns cli. You can run it like so from the monorepo: ``` $ bazel run :sns --config=local -- health ``` The output at the time of this writing is this: Checking SNS's health... | Name | Memory | Cycles | Upgrades Remaining | |-------------------------|--------|-----------------------------------------------------------------------------|--------------------| | BOOM DAO | 👍 | ❌ index: (9.49 TC) | 5 | | CYCLES-TRANSFER-STATION | 👍 | 👍 | 5 | | Catalyze | 👍 | ❌ root: (7.01 TC), index: (9.01 TC), archive: (9.36 TC) | 0 | | DOGMI | 👍 | ❌ governance: (5.18 TC), archive: (9.72 TC) | 6 | | DecideAI DAO | 👍 | 👍 | 4 | | Dragginz | 👍 | 👍 | 0 | | ELNA AI | 👍 | 👍 | 7 | | EstateDAO | 👍 | ❌ index: (8.79 TC) | 18 | | Gold DAO | 👍 | 👍 | 4 | | ICGhost | 👍 | ❌ swap: (2.38 TC) | 7 | | ICLighthouse DAO | 👍 | ❌ swap: (2.63 TC) | 7 | | ICPCC DAO LLC | 👍 | ❌ index: (7.17 TC) | 13 | | ICPSwap | 👍 | ❌ governance: (9.99 TC) | 7 | | ICPanda DAO | 👍 | ❌ archive: (8.64 TC) | 3 | | ICVC | 👍 | 👍 | 5 | | Juno Build | 👍 | 👍 | 0 | | Kinic | 👍 | 👍 | 5 | | MORA DAO | 👍 | ❌ root: (7.44 TC), governance: (9.24 TC), swap: (8.70 TC), index: (0.00 TC) | 31 | | Motoko | 👍 | ❌ archive: (9.64 TC) | 0 | | Neutrinite | 👍 | 👍 | 0 | | Nuance | 👍 | 👍 | 5 | | ORIGYN | 👍 | 👍 | 5 | | OpenChat | 👍 | 👍 | 5 | | OpenFPL | 👍 | ❌ ledger: (9.93 TC) | 8 | | SONIC | 👍 | 👍 | 7 | | Seers | 👍 | 👍 | 3 | | Sneed | 👍 | 👍 | 23 | | TRAX | 👍 | ❌ ledger: (5.62 TC), swap: (6.29 TC) | 16 | | WaterNeuron | 👍 | 👍 | 7 | | YRAL | 👍 | ❌ governance: (7.52 TC), archive: (4.77 TC) | 11 | | Yuku DAO | 👍 | ❌ archive: (9.60 TC) | 35 | Out of 39 SNSes, 31 had metadata and I checked the health of 31 of them.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a
health
command to the sns cli. You can run it like so from the monorepo:The output at the time of this writing is this:
Checking SNS's health...
Out of 39 SNSes, 31 had metadata and I checked the health of 31 of them.