git-next/crates/repo-actor
Paul Campbell 400cd87398
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
WIP: refactor: repo-actor: rewrite tests using mockall
2024-06-23 15:17:19 +01:00
..
src WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-23 15:17:19 +01:00
Cargo.toml WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-23 15:17:19 +01:00
README.md WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-23 15:17:19 +01:00

stateDiagram-v2
[*] --> CloneRepo :START

CloneRepo --> LoadConfigFromRepo
CloneRepo --> ValidateRepo

LoadConfigFromRepo --> LoadedConfig

ValidateRepo --> StartMonitoring
ValidateRepo --> ValidateRepo :SLEEP 10s

LoadedConfig --> ValidateRepo
LoadedConfig --> RegisterWebhook

RegisterWebhook --> WebhookRegistered

WebhookRegistered --> [*]

StartMonitoring --> AdvanceMainTo
StartMonitoring --> ValidateRepo :SLEEP 10s

AdvanceMainTo --> LoadConfigFromRepo
AdvanceMainTo --> ValidateRepo

[*] --> WebhookMessage :WEBHOOK

WebhookMessage --> ValidateRepo