Skip to content

[FR] - cardano-testnet: improve command line output format #5848

Open

Description

@klntsky

External

Area
Other

Describe the feature you'd like

We're considering replacing Plutip with cardano-testnet, and we'd like to see some changes upstream for our convenience.

  1. We'd like to make running the test suite optional, configurable via a CLI option. We really need faster startup times.
  2. We'd like to see more structured output (e.g. JSON) so that we can parse the TMP dir to get the node socket path, etc.

If we implement these changes in a PR, would it be considered for acceptance?

Activity

  1. added
    type: enhancement
    on May 20, 2024
  2. smelc commented on May 21, 2024

    @smelc
    Contributor
  3. carbolymer commented on May 22, 2024

    @carbolymer
    Contributor

    We'd like to make running the test suite optional, configurable via a CLI option. We really need faster startup times.

    Actually, there are no tests executed when you're starting cardano-testnet using the cardano-testnet executable. It may appear so, because we're leveraging hedgehog's PropertyT when setting up the testnet nodes. So we're kind of abusing it to print debugging information by failing the test suite. All it does is starting the nodes and doing the healthcheck, so I think you won't get more speedup than it is right now (speaking about version in master).

    We'd like to see more structured output (e.g. JSON) so that we can parse the TMP dir to get the node socket path, etc.

    Definitely, if you feel that you can make the output both human readable and machine readable (by some toggle?) we'd be up for it.

    If we implement these changes in a PR, would it be considered for acceptance?

    Sure, if it won't be disruptive too much. It would be preferable if you could submit your changes in few smaller PRs.

  4. klntsky commented on May 22, 2024

    @klntsky
    Author

    @carbolymer Thank you!

    I have one more question: would it be possible for it to start instantly in the latest era, skipping the initial era transitions?

  5. carbolymer commented on May 24, 2024

    @carbolymer
    Contributor

    That's supported already. In some of the test cases we're starting in Conway already, for example in here:

  6. github-actions commented on Jun 24, 2024

    @github-actions

    This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

  7. github-actions commented on Feb 9, 2025

    @github-actions

    This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

  8. changed the title [-][FR] - cardano-testnet: DevX improvements[/-] [+][FR] - cardano-testnet: improve command line output format[/+] on Feb 10, 2025
  9. smelc commented on Feb 11, 2025

    @smelc
    Contributor

    Related: #6080

  10. github-actions commented on Mar 16, 2025

    @github-actions

    This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

  11. 11 remaining items

  12. github-actions commented on Jan 12, 2026

    @github-actions

    This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

  13. github-actions commented on Mar 9, 2026

    @github-actions

    This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

  14. github-actions commented on Apr 13, 2026

    @github-actions

    This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

  15. github-actions commented on May 24, 2026

    @github-actions

    This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

  16. github-actions commented on Oct 13, 2026

    @github-actions

    This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stalecardano-testnettype: enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions