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

fix: finish events refactor #509

Merged
merged 2 commits into from
Jul 8, 2023
Merged

fix: finish events refactor #509

merged 2 commits into from
Jul 8, 2023

Conversation

leg100
Copy link
Owner

@leg100 leg100 commented 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 merged commit 096933a into master Jul 8, 2023
leg100 pushed a commit that referenced this pull request Jul 8, 2023
🤖 I have created a release *beep* *boop*
---


## [0.0.51](v0.0.50...v0.0.51)
(2023-07-08)


### Bug Fixes

* apply on output changes
([#501](#501))
([46cd3ef](46cd3ef))
* delete unreferenced tags
([#507](#507))
([d85ac43](d85ac43)),
closes [#502](#502)
* finish events refactor
([#509](#509))
([096933a](096933a))
* flaky browser tests ([#484](#484))
([1ce0bd0](1ce0bd0))
* prevent empty owners team
([#499](#499))
([a77c9e9](a77c9e9))


### Miscellaneous

* Bump default terraform version to v1.5.2
([#503](#503))
([67bc3f0](67bc3f0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
leg100 pushed a commit that referenced this pull request Jul 8, 2023
🤖 I have created a release *beep* *boop*
---


## [0.0.51](v0.0.50...v0.0.51)
(2023-07-08)


### Bug Fixes

* apply on output changes
([#501](#501))
([46cd3ef](46cd3ef))
* delete unreferenced tags
([#507](#507))
([d85ac43](d85ac43)),
closes [#502](#502)
* finish events refactor
([#509](#509))
([096933a](096933a))
* flaky browser tests ([#484](#484))
([1ce0bd0](1ce0bd0))
* prevent empty owners team
([#499](#499))
([a77c9e9](a77c9e9))


### Miscellaneous

* Bump default terraform version to v1.5.2
([#503](#503))
([67bc3f0](67bc3f0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
leg100 pushed a commit that referenced this pull request Jul 8, 2023
🤖 I have created a release *beep* *boop*
---


## [0.0.51](v0.0.50...v0.0.51)
(2023-07-08)


### Bug Fixes

* apply on output changes
([#501](#501))
([46cd3ef](46cd3ef))
* delete unreferenced tags
([#507](#507))
([d85ac43](d85ac43)),
closes [#502](#502)
* finish events refactor
([#509](#509))
([096933a](096933a))
* flaky browser tests ([#484](#484))
([1ce0bd0](1ce0bd0))
* prevent empty owners team
([#499](#499))
([a77c9e9](a77c9e9))


### Miscellaneous

* Bump default terraform version to v1.5.2
([#503](#503))
([67bc3f0](67bc3f0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@leg100 leg100 deleted the fix/finish-events-refactor 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