Skip to content

feat(automations): support multiple channels - #10

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

Adds multi-channel support to automations, introduced by capawesome-team/cloud-api-worker#874.

  • automations.create()/update() accept app_channel_ids and app_channel_names, sent as appChannelIds/appChannelNames. Previously these kwargs raised TypeError.
  • app_channel_id/app_channel_name still work but are documented as deprecated, same wording as builds.create().
  • update(app_channel_ids=[]) removes all channels; omitted fields stay unchanged.
  • AppAutomation.app_channel_ids exposes the channels from the response.
  • Tests for the create body, the parsed response and clearing the channels on update.

Depends on capawesome-team/cloud-api-worker#874. Release after the API PR is deployed.

Copilot AI balanced review requested due to automatic review settings October 3, 2026 06:09
@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 implementation consistently maps, parses, documents, and tests the new channel behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Adds multi-channel automation support while retaining deprecated singular channel fields.

Changes:

  • Maps channel ID/name lists in create and update requests.
  • Exposes response channel IDs.
  • Tests creation, parsing, and clearing channels.
File Description
tests/​test_resources.py Tests multi-channel request and response behavior.
src/​capawesome_cloud/​resources/​automations.py Adds plural channel fields and documentation.
src/​capawesome_cloud/​models.py Exposes automation channel IDs.

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

@robingenz
robingenz merged commit 2448cea into main Oct 4, 2026
8 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