Skip to content

fix: correct destination ID prefix from dest_ to des_ across codebase#206

Merged
leggetter merged 3 commits intofeat/improve-error-messagesfrom
copilot/sub-pr-205
Feb 5, 2026
Merged

fix: correct destination ID prefix from dest_ to des_ across codebase#206
leggetter merged 3 commits intofeat/improve-error-messagesfrom
copilot/sub-pr-205

Conversation

Copy link
Contributor

Copilot AI commented Feb 5, 2026

The bot reviewer incorrectly suggested changing destination ID prefix from des_ to dest_ based on outdated documentation. The actual Hookdeck API uses des_ prefix (e.g., des_816F562ekqnQ).

Corrected documentation and tests:

  • REFERENCE.md - Fixed 2 example commands
  • README.md - Fixed 1 example command
  • pkg/hookdeck/connections_test.go - Fixed 2 test fixtures

Original implementation was correct:
The hint message in pkg/cmd/connection_create.go already had the correct des_ prefix and required no changes.

// Already correct - no changes needed
hints = append(hints, fmt.Sprintf("  - --destination-id '%s' was provided. Destination IDs typically start with 'des_'.", cc.destinationID))

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 5, 2026 11:13
Co-authored-by: leggetter <328367+leggetter@users.noreply.github.com>
Co-authored-by: leggetter <328367+leggetter@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix resource ID format for connection hints feature fix: correct destination ID prefix from dest_ to des_ across codebase Feb 5, 2026
Copilot AI requested a review from leggetter February 5, 2026 11:16
@leggetter leggetter marked this pull request as ready for review February 5, 2026 11:42
@leggetter leggetter merged commit a6291e2 into feat/improve-error-messages Feb 5, 2026
@leggetter leggetter deleted the copilot/sub-pr-205 branch February 5, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants