Repository navigation
Poll Linear and Sentry issues to fire automations (#1588) - #1604
Conversation
… approved spec. Co-authored-by: Cursor <[email protected]>
…asks. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 44db33bbf3
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (auto.lastError && auto.lastError.startsWith(prefix)) { | ||
| patchAutomation(ctx.store, auto.id, { lastError: null }); |
There was a problem hiding this comment.
Clear poll errors after changing trigger sources
When an automation previously failed under one source and is edited to another—for example, from Linear to Sentry—updateAutomation retains its lastError, while a successful poll here clears only errors beginning with the new source's prefix. The automation can therefore baseline and run successfully while permanently displaying the obsolete Linear trigger: ... error in AutomationsView; clear any recognized trigger-poll error when the trigger changes or when the new source polls successfully.
Useful? React with 👍 / 👎.
automation_create now echoes the #1604 trigger fields (team, status, org, project, environment) and stored threads carry prLinks: []. Both tests fail identically on main; they predate #1192. Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Merge worktree coder/automations-natural-language-authoring-d-4d26e0: Automations: natural-language authoring (describe it in chat * Merge worktree coder/p2-replay-fixture-provider-harness-recor-9dbd6f: P2: Replay-fixture provider harness: recorded CLI output thr * Show before/after image changes in the Git pane (#1192) Selecting a changed PNG/JPEG/GIF/WebP/BMP in the Git pane shows the old and new image side by side, read from the exact refs the selected scope diffs (HEAD, merge base or turn checkpoint vs working tree/checkpoint). Each side carries its revision label, dimensions and file size, over a checkerboard with Fit/100%/200% zoom; a missing side says added/deleted. The host reads via cat-file and plain file reads (never the index), sizes images from headers, and caps transfers at 8 MB and 25 MP with a note fallback. Symlinks and paths outside the tree are refused. Staged renames carry oldPath. SVG is deferred and keeps its text diff. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Update two stale electron test expectations red on main automation_create now echoes the #1604 trigger fields (team, status, org, project, environment) and stored threads carry prLinks: []. Both tests fail identically on main; they predate #1192. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Warm the HtmlPage lazy chunk in htmlFence tests A cold dynamic import() could outlast the three-tick flush on loaded CI runners (ubuntu and windows, runs 38304474453), so the iframe assertion saw nothing. Importing the module up front lets React.lazy resolve from the module cache. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Willem <[email protected]> Co-authored-by: Willem <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
automation_create now echoes the #1604 trigger fields (team, status, org, project, environment) and stored threads carry prLinks: []. Both tests fail identically on main; they predate #1192. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Automations can now fire when Linear creates or moves an issue, or when Sentry opens a new grouped issue. The desktop app still has no public URL, so this rides the existing 60s poller instead of a webhook relay. Closes #1588.
Changes
SENTRY_AUTH_TOKENstill wins).lastErrorand do not tripconsecutiveFailures.Verification
tsc --noEmitand IPC preload check: cleannpm teston this fork point also hit unrelated renderer timeouts and pre-existing Codex/memory failures in files this branch does not touch.Notes for reviewers
sentry.ioonly. Generic inbound webhooks and numeric Sentry spikes stay out of scope.environmentis pasted unquoted intois:unresolved environment:…. The team filter matchesteam.key, not the display name.cursor-grok-4.6 via Solenta
Made with Cursor