storkit: merge 466_story_configurable_timezone_in_project_toml_for_timer_scheduling

This commit is contained in:
dave
2026-04-03 13:12:52 +00:00
parent e1cea8f958
commit e9954d244b
6 changed files with 147 additions and 32 deletions
+12
View File
@@ -527,6 +527,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
// Should complete without panic
run_setup_commands(tmp.path(), &config).await;
@@ -550,6 +551,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
// Should complete without panic
run_setup_commands(tmp.path(), &config).await;
@@ -573,6 +575,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
// Setup command failures are non-fatal — should not panic or propagate
run_setup_commands(tmp.path(), &config).await;
@@ -596,6 +599,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
// Teardown failures are best-effort — should not propagate
assert!(run_teardown_commands(tmp.path(), &config).await.is_ok());
@@ -618,6 +622,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
let info = create_worktree(&project_root, "42_fresh_test", &config, 3001)
.await
@@ -647,6 +652,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
// First creation
let _info1 = create_worktree(&project_root, "43_reuse_test", &config, 3001)
@@ -717,6 +723,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
let result = remove_worktree_by_story_id(tmp.path(), "99_nonexistent", &config).await;
@@ -745,6 +752,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
create_worktree(&project_root, "88_remove_by_id", &config, 3001)
.await
@@ -820,6 +828,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
// Even though setup commands fail, create_worktree must succeed
// so the agent can start and fix the problem itself.
@@ -851,6 +860,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
// First creation — no setup commands, should succeed
create_worktree(&project_root, "173_reuse_fail", &empty_config, 3001)
@@ -872,6 +882,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
// Second call — worktree exists, setup commands fail, must still succeed
let result = create_worktree(&project_root, "173_reuse_fail", &failing_config, 3002).await;
@@ -899,6 +910,7 @@ mod tests {
max_retries: 2,
base_branch: None,
rate_limit_notifications: true,
timezone: None,
};
let info = create_worktree(&project_root, "77_remove_async", &config, 3001)
.await