Repository navigation
GEN-2111: Trigger jobs when another job is edited - #174
Merged
exe-dev-github-integration[bot] merged 1 commit intoSep 18, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.sqlbefore 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