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

chore(server): split trigger worker into 3 workers #3120

Merged
merged 7 commits into from Sep 5, 2023

Conversation

mathnogueira
Copy link
Member

This PR splits the trigger worker into 3 workers:

  1. Trigger resolution
  2. Trigger execution
  3. Trigger result processing

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

@@ -540,7 +540,7 @@ func getRunRepositoryMock(t *testing.T) *testdb.MockRepository {

testDB := new(testdb.MockRepository)
testDB.Test(t)
testDB.On("CreateTestRunEvent", mock.Anything).Return(noError)
testDB.On("CreateTestRunEvent", mock.Anything).Return(nil)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this the same? noError is a pretty name for a nil error IIRC

@mathnogueira mathnogueira merged commit a784025 into main Sep 5, 2023
29 of 31 checks passed
@mathnogueira mathnogueira deleted the feat/split-trigger-queue branch September 5, 2023 21:00
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.

None yet

2 participants