test: add e2e test suite and fix namespace/mention/assignee flags

This commit is contained in:
2026-03-29 23:56:43 +02:00
parent dadd3d9e13
commit d569a4dea9
6 changed files with 236 additions and 16 deletions

View File

@@ -55,11 +55,11 @@ var updateCmd = &cobra.Command{
ok, blockers, err := svc.CanClose(args[0])
if err != nil {
fmt.Fprintln(os.Stderr, "failed to check blockers:", err)
return
os.Exit(1)
}
if !ok {
fmt.Fprintf(os.Stderr, "cannot close: blocked by %v\n", blockers)
return
os.Exit(1)
}
}