Repository navigation
[cardano-testnet] - Status command - #6741
Merged
Merged
Conversation
Jimbo4350
reviewed
Oct 22, 2026
Jimbo4350
self-requested a review
October 22, 2026 13:11
Jimbo4350
approved these changes
Oct 22, 2026
carbolymer
requested changes
Oct 22, 2026
carbolymer
left a comment
Contributor
There was a problem hiding this comment.
Exception handling needs improving.
We could improve error handling code by not using ExceptT.
This was referenced Oct 26, 2026
carbolymer
approved these changes
Oct 27, 2026
carbolymer
reviewed
Oct 27, 2026
Jimbo4350
self-requested a review
October 27, 2026 14:02
palas
enabled auto-merge
October 27, 2026 19:56
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 27, 2026
This file contains hidden or 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
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.
Description
This PR adds a
statuscommand forcardano-testnettool, that checks the status of a testnet generated bycardano-testnet. It takes a testnet configuration dir path, and an optional--jsonflag that makes the output format be JSON following the schema also defined in this PR.If the
--jsonformat is not specified, the output format is human readable, and includes an ASCII table that shows the information about each of the nodes in the testnet.Checklist
See Running tests for more details
CHANGELOG.mdfor affected packagecardano-node-chairman,cardano-submit-apiandcardano-testnetinstead need achangelog fragment in
<package>/.changes/, because theirCHANGELOG.mdis generatedfrom fragments at release time. Copy
_TEMPLATE.ymlfrom that directory, or runnix run github:input-output-hk/cardano-dev#herald -- new.cabalfiles are updatedhlint. See.github/workflows/check-hlint.ymlto get thehlintversionstylish-haskell. See.github/workflows/stylish-haskell.ymlto get thestylish-haskellversionghc-9.6andghc-9.12