Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: remove automation-run-steps endpoints that don't exist in the API#915

Merged
vcapretz merged 1 commit into
preview-workflowsfrom
cursor/remove-automation-run-steps-cb77
Apr 9, 2026
Merged

chore: remove automation-run-steps endpoints that don't exist in the API#915
vcapretz merged 1 commit into
preview-workflowsfrom
cursor/remove-automation-run-steps-cb77

Conversation

@vcapretz

@vcapretz vcapretz commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes the automation-run-steps SDK module, which exposes two endpoints that don't actually exist in the API:

  • GET /automations/:automationId/runs/:runId/steps/:stepId
  • GET /automations/:automationId/runs/:runId/steps

These were leftover from an early version and SDK maintainers may have been replicating them.

Changes

  • Deleted src/automation-run-steps/ directory entirely (class, interfaces, and tests)
  • Removed the steps property and AutomationRunSteps import from the AutomationRuns class
  • Removed the barrel export of automation-run-steps/interfaces from src/index.ts

Testing

All 335 tests pass across 31 test files. Build succeeds.

Slack Thread

Open in Web Open in Cursor 

Summary by cubic

Remove the automation-run-steps SDK module and references because the API does not expose run-step endpoints. This aligns the SDK with the API and prevents broken calls.

  • Refactors

    • Deleted src/automation-run-steps/ (class, interfaces, tests).
    • Removed steps property from AutomationRuns.
    • Removed barrel export from src/index.ts.
  • Migration

    • resend.automations.runs.steps is removed. The API has no run-step endpoints; remove these calls or replace with your own tracking.

Written for commit 88be85a. Summary will update on new commits.

The GET /automations/:automationId/runs/:runId/steps/:stepId and
GET /automations/:automationId/runs/:runId/steps endpoints do not exist
in the API. This removes the corresponding SDK code:

- Delete src/automation-run-steps/ directory (class, interfaces, tests)
- Remove steps property from AutomationRuns class
- Remove barrel export from src/index.ts

Co-authored-by: Vitor Capretz <[email protected]>

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 8 files

Confidence score: 5/5

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

@pkg-pr-new

pkg-pr-new Bot commented Apr 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/resend@915

commit: 88be85a

@cursor cursor Bot changed the title Remove automation-run-steps endpoints that don't exist in the API chore: remove automation-run-steps endpoints that don't exist in the API Apr 9, 2026
@vcapretz vcapretz marked this pull request as ready for review April 9, 2026 15:32
@vcapretz vcapretz requested a review from a team as a code owner April 9, 2026 15:32
@vcapretz vcapretz requested review from felipefreitag and removed request for a team April 9, 2026 15:32
@vcapretz vcapretz self-assigned this Apr 9, 2026
@vcapretz vcapretz merged commit b21dd33 into preview-workflows Apr 9, 2026
8 of 10 checks passed
@vcapretz vcapretz deleted the cursor/remove-automation-run-steps-cb77 branch April 9, 2026 15:32
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