From b44974a7604b6cd16cb56098f94408b637a8d6af Mon Sep 17 00:00:00 2001 From: Amolith Date: Mon, 5 Jan 2026 19:05:57 -0700 Subject: [PATCH] fix(cli): pass context to done shortcut The done command copies UpdateCmd to set --status=completed but wasn't forwarding the context, causing 'net/http: nil Context' errors. Assisted-by: Claude Opus 4.5 via Crush --- cmd/done.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/done.go b/cmd/done.go index b5ef6cfec2c39019b609295e28a62c84cec8df88..a4c39cec64cb9864945ec79e76b84c3c4dc8f83e 100644 --- a/cmd/done.go +++ b/cmd/done.go @@ -19,6 +19,7 @@ var doneCmd = &cobra.Command{ updateCmd.Flags().AddFlagSet(task.UpdateCmd.Flags()) _ = updateCmd.Flags().Set("status", "completed") + updateCmd.SetContext(cmd.Context()) updateCmd.SetIn(cmd.InOrStdin()) updateCmd.SetOut(cmd.OutOrStdout()) updateCmd.SetErr(cmd.ErrOrStderr())