git-next/crates/repo-actor
Paul Campbell 78a59861e3
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 17:49:56 +01:00
..
src WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-23 17:49:56 +01:00
Cargo.toml WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-23 17:49:56 +01:00
README.md WIP: refactor: repo-actor: rewrite tests using mockall 2024-06-23 17:49:56 +01:00

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

CloneRepo --> LoadConfigFromRepo
CloneRepo --> ValidateRepo

LoadConfigFromRepo --> LoadedConfig

ValidateRepo --> NextAheadOfMainCheckStatus
ValidateRepo --> DevAheadOfNextAdvanceNext
ValidateRepo --> ValidateRepo :invalid

NextAheadOfMainCheckStatus --> AdvanceMainTo :Pass
NextAheadOfMainCheckStatus --> ValidateRepo :Pending
NextAheadOfMainCheckStatus --> [*] :Fail

DevAheadOfNextAdvanceNext --> ValidateRepo

LoadedConfig --> ValidateRepo
LoadedConfig --> RegisterWebhook

RegisterWebhook --> WebhookRegistered

WebhookRegistered --> [*]

AdvanceMainTo --> LoadConfigFromRepo :on repo config - reload
AdvanceMainTo --> ValidateRepo :on server config

[*] --> WebhookMessage :WEBHOOK

WebhookMessage --> ValidateRepo