-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 5.0] Code monitors: fixes and cleanup (#49664)
This PR is composed of three commits: 1) Skip running code monitors if the user is deleted. This will always fail, and will end up in a retry loop. 2) Stop running all code monitors in a transaction. In particular, when the transaction is rolled back, the "next run" time is unset, which puts us in another retry loop. 3) Remove transitional code. The feature flag has been enabled by default for quite a while now, and there are no plans to disable it. Follow up from [this thread](https://sourcegraph.slack.com/archives/CHEKCRWKV/p1678322373363769). This does not fix the problem that invalid queries will always error, but it should ensure they don't run in a hot retry loop.
- Loading branch information
1 parent
77cb497
commit 6c12ad7
Showing
4 changed files
with
34 additions
and
52 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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