Skip to content

GEN-2111: Trigger jobs when another job is edited - #174

Merged
exe-dev-github-integration[bot] merged 1 commit into
mainfrom
gen-2111-job-edited-trigger
Sep 18, 2026
Merged

exe-dev-github-integration[bot] merged 1 commit into
mainfrom
gen-2111-job-edited-trigger

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Adds an Edited event to job lifecycle triggers. Selecting one or more source jobs now queues a run whenever another selected job is saved, including enable/disable saves. Each successful save counts as an event, including unchanged submissions; job creation and run state changes do not.

Matching enabled subscribers are recorded transactionally with the edit in a durable outbox. Delivery uses tenant-scoped, stable claim keys to deduplicate retries, excludes self-subscriptions, and wakes the scheduler when idle. UI, API validation, context reflection, and trigger documentation expose the new event. Queue admission policy is unchanged.

Apply migration 0007_job_edit_deliveries.sql before deploying the Worker. Pending events wait while the destination is disabled or no longer matches, and are discarded on trigger removal or source deletion.

Validation: all migrations applied successfully to an isolated local PostgreSQL 16 database; app check passed (API boundaries, TypeScript, 154 tests including PostgreSQL rollback/matching/retry/removal coverage, Worker dry-run); CSS build, marketing and tail-relay checks, docs validation, and git diff check passed.

Linear: https://linear.app/generation/issue/GEN-2111/add-trigger

@github-actions
github-actions Bot enabled auto-merge September 18, 2026 21:48
@linear

linear Bot commented Sep 18, 2026

Copy link
Copy Markdown

GEN-2111

@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Sep 18, 2026
Merged via the queue into main with commit 8d5770d Sep 18, 2026
3 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.

1 participant