huskies: merge 738_refactor_delete_fs_shadow_code_from_lifecycle_rs_and_the_work_directory_watcher
This commit is contained in:
@@ -257,9 +257,7 @@ pub async fn tick_once(
|
||||
|
||||
// Move from backlog to current if needed — the auto-assign
|
||||
// watcher will then start an agent automatically.
|
||||
if let Err(e) =
|
||||
crate::agents::lifecycle::move_story_to_current(project_root, &entry.story_id)
|
||||
{
|
||||
if let Err(e) = crate::agents::lifecycle::move_story_to_current(&entry.story_id) {
|
||||
crate::slog!(
|
||||
"[timer] Failed to move story {} to current: {e}",
|
||||
entry.story_id
|
||||
|
||||
@@ -450,7 +450,7 @@ mod tests {
|
||||
|
||||
// Apply the move-to-current step the tick loop performs.
|
||||
for entry in &due {
|
||||
crate::agents::lifecycle::move_story_to_current(root, &entry.story_id)
|
||||
crate::agents::lifecycle::move_story_to_current(&entry.story_id)
|
||||
.expect("move_story_to_current should succeed for backlog story");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user