Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: event triggers #458

Merged
merged 6 commits into from
May 30, 2023
Merged

refactor: event triggers #458

merged 6 commits into from
May 30, 2023

Conversation

leg100
Copy link
Owner

@leg100 leg100 commented May 29, 2023

No description provided.

@leg100 leg100 merged commit 86b28d2 into master May 30, 2023
leg100 added a commit that referenced this pull request Jul 8, 2023
The events refactor from several weeks ago, #458, introduced postgres
triggers as a means of publishing events. But it was never 100%
completed, leaving behind many `Publish()` calls that do nothing.

Furthermore, the refactor introduced a regression: the agent event
subscriber was not also refactored and therefore it no longer received
cancelation events. When a user canceled a run, the run status would be
set to canceled but the terraform process would not receive an interrupt
signal. This PR fixes this, and introduces an integration test to
prevent re-occurance of the regression.
@leg100 leg100 deleted the refactor/event-triggers branch December 16, 2023 10:22
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