Skip to content

ghJson cannot tell gh failure from empty output #45

Description

@fiddur

packages/github/src/exec.tsghJson/execJson return null for both a failed subprocess and empty output, and swallow stderr. A gh auth failure looks identical to "no reviews".

Proposal: return a discriminated result (or at least log stderr on failure), and validate the GraphQL thread shapes we consume.

Effort: S–M.

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