Skip to content

bug: ignored error in start command #4

@LudoLoops

Description

@LudoLoops

Issue

In cmd/start.go:33, the return value of StartTaskDevelopment is ignored.

task.StartTaskDevelopment(issueNumberStr)  // Error ignored!
task.MarkTaskInProgress(cfg, issueNumber)

Problem

  • If gh issue develop fails, execution continues
  • Command may fail silently
  • Task marked as in-progress even if GitHub development setup failed

Solution

if err := task.StartTaskDevelopment(issueNumberStr); err != nil {
    return cli.Exit(fmt.Sprintf("Error starting development: %v", err), 1)
}

Impact

🔴 Critical - GitHub workflow can fail silently

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