83ce95776e
fix: messages should always get delivered
...
Remove the async wrapper for sending messages as they were never being
delivered.
2024-07-02 18:51:40 +01:00
40c61fa9ff
test: add more debug tracing
2024-06-30 19:42:09 +01:00
ae7933c79e
fix: don't retry validation when non-retryable error
...
Closes kemitix/git-next#90
2024-06-30 18:48:49 +01:00
c9efbb9936
fix: ReceiveRepoConfig tries to send two messages
...
Similar to CloneRepo the handler tries to send two messages one after
the other. Leave it to WebhookRegistered handler to kick off the
ValidateRepo. Also update the README with the correct message sequence.
2024-06-30 16:59:24 +01:00
68005d757d
fix: start validating repo after registering webhook
...
Clone Repo wasn't sending the second message, so workaround: have it be
sent after registering the webhook.
2024-06-30 16:54:26 +01:00
55d8ccb0bd
feat: ignore github ping webhook messages
...
Closes kemitix/git-next#101
2024-06-30 15:20:00 +01:00
975c9e315c
fix: where repo config is in server should register webhook
2024-06-30 08:09:10 +01:00
c571e9ee8d
refactor: CloneRepo use actor::do_send to send LoadConfigFromRepo
2024-06-30 07:55:55 +01:00
e585b07f6b
tests: repo-actor: add more tests
2024-06-29 07:01:26 +01:00
ffab1986a7
refactor: repo-actor: rewrite tests using mockall
2024-06-27 18:58:47 +01:00