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: delete webhooks when org or vcs provider is deleted #518

Merged
merged 11 commits into from
Jul 11, 2023

Conversation

leg100
Copy link
Owner

@leg100 leg100 commented Jul 9, 2023

Fixes #504
Fixes #506

Refactors webhook deletion to leverage postgres' cascade functionality. Doing so means deleting parent resources (organizations, vcs providers) also deletes webhooks. The deletion triggers the "webhook purger", which deletes webhooks from the VCS repo provider.

@leg100 leg100 merged commit 0d36ea5 into master Jul 11, 2023
5 checks passed
leg100 pushed a commit that referenced this pull request Jul 12, 2023
🤖 I have created a release *beep* *boop*
---


## [0.0.53](v0.0.52...v0.0.53)
(2023-07-12)


### Bug Fixes

* delete existing unreferenced webhooks too
([6b61b48](6b61b48))
* delete webhooks when org or vcs provider is deleted
([#518](#518))
([0d36ea5](0d36ea5))
* **docs:** version using tag not branch name
([8613fe8](8613fe8))
* only set not null after populating column
([1da3936](1da3936))
* remove trailing slash from requests
([#516](#516))
([c1ee39e](c1ee39e)),
closes [#496](#496)
* **ui:** add cache-control header to static files
([061261f](061261f))


### Miscellaneous

* add hashes to all static urls
([3650926](3650926))
* test create connected workspace via api
([9bf4bae](9bf4bae))

---
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 refactor/webhook-purger 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.

Delete a VCS provider fails Delete organization fails when vcs is configured
1 participant