Skip to content

check-rules list -o json --all hangs indefinitely #271

Description

@dp1218

Description

Running dash0 check-rules list -o json --all hangs indefinitely and never produces output. The same command with -o csv --all completes in ~1 second and returns all results correctly.
Steps to reproduce:

# Hangs — never returns
dash0 check-rules list -o json --all

# Works fine — returns all results in ~1s
dash0 check-rules list -o csv --all

Expected behaviour

-o json --all should paginate through all check rules and emit a JSON array, consistent with the behaviour of -o csv --all.

Actual behaviour

The command hangs indefinitely. No output, no error, no timeout.

Workaround

Use -o csv --all and extract the ID from the URL column:

dash0 check-rules list -o csv --all | sed 's/.*check_rule_id=//'

Environment

dash0 version: 1.16.4 (built on 2026-07-31T14:25:02Z)
OS: Linux

Additional context

Observed with a dataset containing >5,000 check rules. -o json with an explicit --limit (e.g. --limit 500) returns correctly but is capped. Only --all triggers the hang. Other output formats (csv, wide, table) with --all are unaffected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions