Skip to content

feat: add multi-channel options to automations.create and update - #15

Merged
robingenz merged 1 commit into
mainfrom
feat/multi-channel-automations
Oct 4, 2026
Merged

robingenz merged 1 commit into
mainfrom
feat/multi-channel-automations

Conversation

@robingenz

Copy link
Copy Markdown
Member

What

  • CreateAutomationOptions gains appChannelIds and appChannelNames so an automation's builds can be deployed to multiple channels after they succeed (web only). UpdateAutomationOptions inherits both; an empty array removes all channels.
  • appChannelId and appChannelName are marked deprecated in favor of the array fields.
  • AppAutomation gains appChannelIds.
  • Type-only change; the request body is passed through unchanged. One passthrough test added.

Requires capawesome-team/cloud-api-worker#874 (deploy the API first).

Copilot AI balanced review requested due to automatic review settings October 3, 2026 06:08
@robingenz robingenz added the feature Feature label Oct 3, 2026
@robingenz robingenz self-assigned this Oct 3, 2026

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

The type additions match the stated API contract and existing request passthrough behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Adds multi-channel deployment options to automation creation and updates.

Changes:

  • Adds channel ID/name arrays and deprecates singular options.
  • Exposes automation channel IDs.
  • Tests channel ID request passthrough.
File Description
src/​resources/​automations.ts Extends automation types with multi-channel support.
test/​resources.test.ts Verifies channel IDs are passed through.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@robingenz
robingenz merged commit 1a982d2 into main Oct 4, 2026
4 checks passed
@robingenz
robingenz deleted the feat/multi-channel-automations branch October 4, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants