You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automation triggers: inbound webhooks (Linear, Sentry, generic) via a relay #1588
Split from #242. GitHub triggers shipped as polling (electron/automation-triggers.js). Linear issue created/status changed, Sentry error spikes and generic inbound webhooks need a public URL that the desktop app does not have.
Needs a design decision first: a hosted relay (e.g. a small girder app that queues payloads and that Solenta long-polls with a per-user token), a tunnel, or provider polling APIs (Linear GraphQL and Sentry both have pollable APIs, which avoids the relay for those two).
Plug-in point: add a source to matchRows/fetchSource with a monotonic key; cursor/baseline/batching already work per automation.
Existing plug-in: electron/automation-triggers.js polls GitHub and feeds matchRows/fetchSource with a monotonic key; cursor/baseline/batching already work per automation. Linear GraphQL + sealed linearApiKey already exist (electron/linear.js, Settings → Git). No Sentry client. Desktop has no public inbound URL.
Asking which delivery path to take: poll Linear/Sentry and defer generic webhooks (recommended), hosted relay, or tunnel.
Decision: poll Linear + Sentry (same cursor/baseline/batching as GitHub). Defer generic inbound webhooks — they are the only source that needs a public URL.
Next: design the Linear/Sentry sources against matchRows/fetchSource, then spec.
Implementation plan written: docs/superpowers/plans/2026-10-11-automation-linear-sentry-triggers.md (8 TDD tasks). Waiting on execution choice (subagent-driven vs inline). Still no product code.
Activity
currentbits commentedon Oct 11, 2026
Design gate (no code yet).
Existing plug-in:
electron/automation-triggers.jspolls GitHub and feedsmatchRows/fetchSourcewith a monotonic key; cursor/baseline/batching already work per automation. Linear GraphQL + sealedlinearApiKeyalready exist (electron/linear.js, Settings → Git). No Sentry client. Desktop has no public inbound URL.Asking which delivery path to take: poll Linear/Sentry and defer generic webhooks (recommended), hosted relay, or tunnel.
currentbits commentedon Oct 11, 2026
Decision: poll Linear + Sentry (same cursor/baseline/batching as GitHub). Defer generic inbound webhooks — they are the only source that needs a public URL.
Next: design the Linear/Sentry sources against
matchRows/fetchSource, then spec.currentbits commentedon Oct 11, 2026
Architecture approved: same 60s poller; Linear + Sentry sources; Sentry = new grouped issue; generic webhooks deferred.
Next design section: Linear
issues+stateHistory(skip the create span), SentryGET /api/0/projects/{org}/{project}/issues/?sort=new, sealedsentryAuthToken, When-picker eventslinear_issue_created/linear_status_changed/sentry_issue.currentbits commentedon Oct 11, 2026
Spec written:
docs/superpowers/specs/2026-10-11-automation-linear-sentry-triggers-design.md.Waiting for review before the implementation plan. No code yet.
currentbits commentedon Oct 11, 2026
Implementation plan written:
docs/superpowers/plans/2026-10-11-automation-linear-sentry-triggers.md(8 TDD tasks). Waiting on execution choice (subagent-driven vs inline). Still no product code.currentbits commentedon Oct 11, 2026
Executing the plan with subagent-driven development in this worktree. Starting Task 1 (types / normalize / labels).
currentbits commentedon Oct 11, 2026
Implementation and whole-branch review are done on
coder/automation-triggers-inbound-webhooks-lin-4917ceat44db33bb(basee3a67984).Eight TDD tasks each reviewed Approved. Final review: Ready to merge — no Critical/Important findings. Covering suites green (electron trigger/linear/sentry/issues/secrets 104, renderer automations 27, settingsModal 88). Typecheck clean.
Waiting on how to land (local merge vs PR vs keep vs discard). Not closing this issue until the work is on the base branch.
currentbits commentedon Oct 12, 2026
PR opened: #1604 (
coder/automation-triggers-inbound-webhooks-lin-4917ce@44db33bb). Leaving this issue open until the PR lands.Poll Linear and Sentry issues to fire automations (#1588) (#1604)
test: update fixtures for prLinks and new trigger fields
Fix main's red CI: preload HtmlPage in tests, refresh two stale fixtures
Keep worker records holding unlanded branches past the crew cap (#1610)
Stop agent-forked workers from running with more permissions than the…
Fix main's red CI: preload HtmlPage in tests, refresh two stale fixtures
test: update fixtures for prLinks and new trigger fields
Document the #1588 Linear/Sentry poll design so implementation has an…
Plan the #1588 Linear and Sentry poller implementation as eight TDD t…
Add Linear and Sentry trigger types and labels (#1588).
Add Linear trigger issue list queries (#1588).
Match Linear and Sentry automation trigger rows (#1588).
Add a Sentry issues poll client for automation triggers (#1588).
Poll Linear and Sentry automation triggers on the existing tick (#1588).
Store and seal the Sentry auth token next to Linear (#1588).
Add a Sentry auth token field on the Git settings pane (#1588).
Add Linear and Sentry choices to the automation When picker (#1588).