huskies: merge 726_story_notify_chat_transports_when_oauth_account_swaps_or_all_accounts_are_exhausted
This commit is contained in:
@@ -85,6 +85,18 @@ pub enum WatcherEvent {
|
||||
/// UTC instant at which the rate limit resets.
|
||||
reset_at: chrono::DateTime<chrono::Utc>,
|
||||
},
|
||||
/// An OAuth account pool swap succeeded: a different account is now active.
|
||||
/// Triggers a notification to chat transports naming the new account.
|
||||
OAuthAccountSwapped {
|
||||
/// Email address of the newly activated account.
|
||||
new_email: String,
|
||||
},
|
||||
/// All OAuth accounts in the pool are rate-limited — no swap was possible.
|
||||
/// Triggers a notification to chat transports with the earliest reset time.
|
||||
OAuthAccountsExhausted {
|
||||
/// Human-readable message describing when the earliest reset occurs.
|
||||
earliest_reset_msg: String,
|
||||
},
|
||||
}
|
||||
|
||||
/// Return `true` if `path` is the root-level `.huskies/project.toml` or
|
||||
|
||||
Reference in New Issue
Block a user