From 3039c83d7f53be1a18600164df9b1f242e71ff19 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Feb 2026 11:11:34 +0000 Subject: [PATCH 1/3] Initial plan From 4c70e508dacd0886c46ff9674575814faa78e909 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Feb 2026 11:13:57 +0000 Subject: [PATCH 2/3] fix: correct destination ID prefix from dest_ to des_ in docs and tests Co-authored-by: leggetter <328367+leggetter@users.noreply.github.com> --- REFERENCE.md | 4 ++-- pkg/hookdeck/connections_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 8c1e20d..3da1d94 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -903,7 +903,7 @@ hookdeck connection list hookdeck connection list --source-id src_abc123 # Filter by destination ID -hookdeck connection list --destination-id dest_xyz789 +hookdeck connection list --destination-id des_xyz789 # Filter by connection name hookdeck connection list --name "production-connection" @@ -1586,7 +1586,7 @@ hookdeck attempt list hookdeck attempt list --event-id evt_123 # List attempts for a destination -hookdeck attempt list --destination-id dest_456 +hookdeck attempt list --destination-id des_456 # Filter by status hookdeck attempt list --status FAILED diff --git a/pkg/hookdeck/connections_test.go b/pkg/hookdeck/connections_test.go index b7319bf..8f01963 100644 --- a/pkg/hookdeck/connections_test.go +++ b/pkg/hookdeck/connections_test.go @@ -72,7 +72,7 @@ func TestListConnections(t *testing.T) { "disabled": "false", "paused": "false", "source_id": "src_123", - "destination": "dest_123", + "destination": "des_123", }, mockResponse: ConnectionListResponse{ Models: []Connection{ @@ -267,7 +267,7 @@ func TestCreateConnection(t *testing.T) { Name: stringPtr("test-connection"), Description: stringPtr("test description"), SourceID: stringPtr("src_123"), - DestinationID: stringPtr("dest_123"), + DestinationID: stringPtr("des_123"), }, mockResponse: Connection{ ID: "conn_123", From 40f44de7f0479eaf3b61c102b59e88ea05881fc9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Feb 2026 11:14:30 +0000 Subject: [PATCH 3/3] fix: correct destination ID prefix in README.md example Co-authored-by: leggetter <328367+leggetter@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bde7204..4f183e7 100644 --- a/README.md +++ b/README.md @@ -816,7 +816,7 @@ $ hookdeck connection list # Filter by source or destination $ hookdeck connection list --source src_abc123 -$ hookdeck connection list --destination dest_xyz789 +$ hookdeck connection list --destination des_xyz789 # Filter by name pattern $ hookdeck connection list --name "production-*"