huskies: merge 541_story_backlog_command_for_chat_and_web_ui_shows_only_backlog_items
This commit is contained in:
@@ -193,10 +193,18 @@ pub(crate) fn run_coverage_gate(path: &Path) -> Result<(bool, String), String> {
|
||||
}
|
||||
|
||||
let mut output = String::from("=== script/test_coverage ===\n");
|
||||
let result = Command::new(&script)
|
||||
.current_dir(path)
|
||||
.output()
|
||||
.map_err(|e| format!("Failed to run script/test_coverage: {e}"))?;
|
||||
let result = match Command::new(&script).current_dir(path).output() {
|
||||
Ok(r) => r,
|
||||
Err(e) if e.raw_os_error() == Some(26) => {
|
||||
// ETXTBSY — retry once after a brief pause.
|
||||
std::thread::sleep(std::time::Duration::from_millis(50));
|
||||
Command::new(&script)
|
||||
.current_dir(path)
|
||||
.output()
|
||||
.map_err(|e| format!("Failed to run script/test_coverage: {e}"))?
|
||||
}
|
||||
Err(e) => return Err(format!("Failed to run script/test_coverage: {e}")),
|
||||
};
|
||||
|
||||
let combined = format!(
|
||||
"{}{}",
|
||||
|
||||
Reference in New Issue
Block a user