Fix `fialed to watch` context canceled error when streaming logs by pratap0007 · Pull Request #2681 · tektoncd/cli
added
the
release-note
label
Dec 9, 2025
tekton-robot
added
the
size/M
label
Dec 9, 2025When streaming pipelineRun or taskRun logs, closing the stop channel to terminate the informer was causing "Failed to watch" error messages to be logged with "context canceled". This patch add custom watchErrorHandler function that filter out context.Canceled errors while passing other errors to the default handler. This prevents the error log messages when the CLI intentionally stops watching after a run completes. Signed-off-by: Shiv Verma <shverma@redhat.com>
tekton-robot
added
the
approved
label
Jan 15, 2026This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters