Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by CodeRabbit
Release Notes
New Features
automationscommand group for managing rules, running automations, and viewing execution historyBug Fixes
Chores
Greptile Summary
This PR is a large automations overhaul adding GitHub polling-based triggers (issues, PRs, comments, reviews), Linear relay dispatch, three new built-in action types (
ade-action,agent-session,launch-mission), a shared ADE action registry, and a significantly redesigned rule editor UI. Several bugs flagged in the previous review round have been addressed (Linear dispatch now fires correctly, comment cursor usescreated_at#idfor deduplication, PR snapshot written after cursor init,hasPrContentChangeguardsgithub.pr_updatedfrom false fires).pollReviewsstores onlysubmitted_atwith no review-ID tiebreaker, so two reviews submitted in the same ISO second cause one to be permanently dropped — the same fix applied to the comment cursor (idsuffix) is needed here.resolvePlaceholdersreturnsnull(not the original placeholder string) when a whole-match path resolves tonull; the prompt builder's fallback then sends the literal template text to the agent instead of an empty string.Confidence Score: 3/5
One P1 defect (review cursor deduplication) means github.pr_review_submitted automations can silently drop events; the P2 null-placeholder bug sends unexpanded templates to agents.
Previous P0/P1 comments from the prior round are largely resolved (linear dispatch, comment cursor, snapshot ordering, action.timeoutMs multiplication). The review cursor still lacks the ID tiebreaker correctly added to the comment cursor — a concrete data-loss defect for the new github.pr_review_submitted trigger path. The null-value propagation in resolvePlaceholders produces confusing agent prompts. Together these merit a 3/5.
apps/desktop/src/main/services/automations/githubPollingService.ts (review cursor), apps/desktop/src/main/services/automations/automationService.ts (resolvePlaceholders null case)
Important Files Changed
Comments Outside Diff (1)
apps/desktop/src/main/services/automations/automationService.ts, line 171-174 (link)github.pr_commentedandgithub.pr_review_submittedisPrCanonicalguards whether branch matching usestrigger.branch(the PR's head branch) orlaneBranch. It currently excludesgithub.pr_commentedandgithub.pr_review_submitted, so for those typeslaneBranchis used. GitHub-polling events have no lane, solaneBranchisundefined, and any rule withbranchset will never match a PR-comment or PR-review-submitted event.Prompt To Fix With AI
Prompt To Fix All With AI
Reviews (8): Last reviewed commit: "ship: fix pr review trigger branch filte..." | Re-trigger Greptile