Skip to content

Graceful error messages for project update validation failures #44

Description

@dorkitude

Problem

When linctl project update hits a GraphQL validation error (e.g., description too long), the error message is opaque:

❌ Failed to update project: GraphQL errors: [{Argument Validation Error [{3 4}] [projectUpdate]}]

This doesn't tell the user what actually went wrong or how to fix it.

Reproduction

linctl project update <project-id> -d "a description that is too long for Linear's field limit"

Expected behavior

A human-readable error message, e.g.:

❌ Failed to update project: description exceeds maximum length (250 characters)

Ideally linctl would parse known GraphQL validation errors and map them to friendly messages, with the raw error available via --verbose or similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions