Skip to content

Focus a chat-created automation and keep it enabled - #1600

Merged
currentbits merged 1 commit into
mainfrom
coder/automation-open-focus
Oct 11, 2026
Merged

currentbits merged 1 commit into
mainfrom
coder/automation-open-focus

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Open in Automations now lands on the new row instead of a blank list. Chat-created automations also stay On — automation_create was passing enabled: undefined, which addAutomation treats as Off. Follow-up to #1593 / leftover from #1589. Closes #1599.

Changes

  • The result card passes the created id; Automations opens that row in the edit form.
  • automation_create omits enabled unless the tool was given an explicit boolean.

Verification

  • test/automationsView.test.tsx — focusId opens the matching row in the form passed
  • test/threadView.test.tsx — Open in Automations passes the created id (#1599) passed
  • electron/test/automation-create-mcp.test.js — 8 tests passed, including created.enabled === true when omitted
  • Not tested: clicking the card in a running desktop build

Notes for reviewers

#1593 already shipped natural-language authoring. This PR does not re-land that tool.


Cursor Grok 4.6 via Cursor

Made with Cursor

Open in Automations now lands on the new row. automation_create no longer
passes enabled:undefined, which addAutomation treated as Off.

Co-authored-by: Cursor <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T19:19:43.332788Z 8a0849e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@currentbits
currentbits merged commit 47cb430 into main Oct 11, 2026
5 of 6 checks passed
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.

Open in Automations should focus the created row

1 participant