Skip to content

feat(automations): duplicate endpoint - #94

Merged
AntoniosBarotsis merged 1 commit into
mainfrom
feature/dev-1710-rust-sdk-external-tony-via-slack-team-sdks
Aug 14, 2026
Merged

feat(automations): duplicate endpoint#94
AntoniosBarotsis merged 1 commit into
mainfrom
feature/dev-1710-rust-sdk-external-tony-via-slack-team-sdks

Conversation

@gabrielmfern

@gabrielmfern gabrielmfern commented Aug 14, 2026

Copy link
Copy Markdown
Member

Adds resend.automations.duplicate(automation_id) for POST /automations/{id}/duplicate, returning DuplicateAutomationResponse.

Resolves DEV-1710. Mirrors the existing stop pattern and resend-node resend/resend-node#1071.

🤖 Generated with Claude Code


Summary by cubic

Adds resend.automations.duplicate(automation_id) to duplicate an automation via POST /automations/{id}/duplicate. Previously the Rust SDK lacked duplication; now it returns DuplicateAutomationResponse with the new automation id. Supports DEV-1710 parity with other SDKs.

  • Implements AutomationsSvc.duplicate following the existing stop pattern and maybe_async.
  • Introduces types::DuplicateAutomationResponse and re-exports it from src/lib.rs.
  • Adds a test for duplicate→delete; no breaking changes or migrations required.

Written for commit 7f50b06. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Adds a new SDK method and response type following the existing stop pattern, with a test exercising the new endpoint. Additive change with no behavior, config, or contract modifications requiring human judgment.

Re-trigger cubic

Approval not submitted

This repository is configured to approve as @klotty, but that approval identity is unavailable.
The refresh token passed is incorrect or expired.

cubic left this as a normal review comment instead of falling back to a Cubic App approval.

@gabrielmfern
gabrielmfern marked this pull request as ready for review August 14, 2026 15:31
@AntoniosBarotsis
AntoniosBarotsis merged commit 4b35e15 into main Aug 14, 2026
4 checks passed
@AntoniosBarotsis
AntoniosBarotsis deleted the feature/dev-1710-rust-sdk-external-tony-via-slack-team-sdks branch August 14, 2026 20:35
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