git-next/crates/repo-actor
Paul Campbell 5f36282667
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
Rust / build (push) Successful in 1m33s
feat: recheck failed status
Should a status check for a transient reason and is re-run, this will
allow that to be detected without the need to restart the git-next
server or force a spurious rebase.

Closes kemitix/git-next#88
2024-07-12 08:05:41 +01:00
..
src feat: recheck failed status 2024-07-12 08:05:41 +01:00
Cargo.toml refactor: extract actor-macros crate 2024-06-29 10:49:12 +01:00
README.md fix: don't retry validation when non-retryable error 2024-06-30 18:48:49 +01:00

stateDiagram-v2
[*] --> CloneRepo :on start

CloneRepo --> LoadConfigFromRepo :on repo config
CloneRepo --> RegisterWebhook :on server config

LoadConfigFromRepo --> ReceiveRepoConfig

ValidateRepo --> CheckCIStatus :on next ahead of main
ValidateRepo --> AdvanceNext :on dev ahead of next
ValidateRepo --> [*] :on dev == next == main
ValidateRepo --> [*] :on non-retryable error
ValidateRepo --> ValidateRepo :on retryable error

CheckCIStatus --> ReceiveCIStatus

ReceiveCIStatus --> AdvanceMain :on Pass
ReceiveCIStatus --> ValidateRepo :on Pending
ReceiveCIStatus --> [*] :on Fail

AdvanceNext --> ValidateRepo

ReceiveRepoConfig --> RegisterWebhook

RegisterWebhook --> WebhookRegistered

WebhookRegistered --> ValidateRepo

AdvanceMain --> LoadConfigFromRepo :on repo config
AdvanceMain --> ValidateRepo :on server config

[*] --> WebhookNotification :on push

WebhookNotification --> ValidateRepo