huskies: merge 1035

This commit is contained in:
dave
2026-05-14 13:11:26 +00:00
parent c353c0a6be
commit f1c96595de
6 changed files with 141 additions and 8 deletions
+6
View File
@@ -144,6 +144,7 @@ async fn gateway_notification_poller_continues_when_one_project_unreachable() {
let event = vec![StoredEvent::StoryBlocked {
story_id: "10_story_ok".to_string(),
story_name: String::new(),
reason: "retry limit".to_string(),
timestamp_ms: 500,
}];
@@ -249,6 +250,7 @@ async fn gateway_notification_poller_sends_only_to_configured_gateway_rooms() {
let event = vec![StoredEvent::MergeFailure {
story_id: "5_story_x".to_string(),
story_name: String::new(),
reason: "conflict".to_string(),
timestamp_ms: 300,
}];
@@ -607,6 +609,7 @@ async fn gateway_notification_poller_delivers_events_from_two_projects_with_proj
let alpha_events = vec![StoredEvent::StageTransition {
story_id: "1_story_alpha".to_string(),
story_name: String::new(),
from_stage: "2_current".to_string(),
to_stage: "3_qa".to_string(),
timestamp_ms: 100,
@@ -632,6 +635,7 @@ async fn gateway_notification_poller_delivers_events_from_two_projects_with_proj
let beta_events = vec![StoredEvent::MergeFailure {
story_id: "2_story_beta".to_string(),
story_name: String::new(),
reason: "merge conflict in lib.rs".to_string(),
timestamp_ms: 200,
}];
@@ -765,6 +769,7 @@ async fn broadcaster_forwarder_forwards_events_with_project_tag() {
project: "my-project".to_string(),
event: StoredEvent::StageTransition {
story_id: "7_story_x".to_string(),
story_name: String::new(),
from_stage: "2_current".to_string(),
to_stage: "3_qa".to_string(),
timestamp_ms: 100,
@@ -841,6 +846,7 @@ async fn broadcaster_forwarder_resubscribes_on_lag() {
project: "p".to_string(),
event: StoredEvent::StageTransition {
story_id: format!("{n}_story"),
story_name: String::new(),
from_stage: "2_current".to_string(),
to_stage: "3_qa".to_string(),
timestamp_ms: n,