Replies: 3 comments 5 replies
-
Another way to speed the CI up would be to not build/test debian packages. The github action responsible for this has I think it should only be enabled for tags. |
Beta Was this translation helpful? Give feedback.
-
I did some refactoring in PR #2523, and there is still room for improvement. Solution 1) seems to be the most reasonable. To be honest, the API integration tests don't bother me that much. The job takes about 1 minute to run on GitHub Actions. |
Beta Was this translation helpful? Give feedback.
-
This job takes time, but it has been configured for a reason. For example, I was able to detect a compilation issue when building the packages on One possible way to work around this is to run this workflow once a day instead of each pull-request. |
Beta Was this translation helpful? Give feedback.
-
Currently, the testsuite is spending most of its time hashing the same password over and over in
func (s *Storage) CreateUser(userCreationRequest *model.UserCreationRequest) (*model.User, error)
.This isn't critical, but I think it's always good to not waste cpu cycles on useless things if we can avoid it. I'm opening a conversation instead of a pull-request, since I'm a bit unsure about the best way to improve the situation.
Here are some suggestions:
CreateTestUser
method, taking an already-hashed password.CreateUser
.cost
variable, set toDefaultCost
by default, and overridden by tests toMinCost
.What would be the least worst way to go?
Beta Was this translation helpful? Give feedback.
All reactions