Record run input directory and retry failed runs with original inputs
This commit is contained in:
@@ -32,7 +32,7 @@ func TestRunnerRoutingPersistenceAndIdempotency(t *testing.T) {
|
||||
release := make(chan struct{})
|
||||
r.execute = func(ctx context.Context, def stage.Definition, input stage.Values) (stage.Result, error) {
|
||||
if def.Key == "one" {
|
||||
if len(input) != 1 || input["prompt"] != "task" {
|
||||
if len(input) != 2 || input["prompt"] != "task" || input["pwd"] == "" {
|
||||
t.Error("entry input must be the user prompt unchanged")
|
||||
}
|
||||
close(entered)
|
||||
|
||||
Reference in New Issue
Block a user