Record run input directory and retry failed runs with original inputs
This commit is contained in:
@@ -58,7 +58,7 @@ func TestCLIHeadlessRunInspectionCancellationAndRPC(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if response.RunDetail.Workspace != cwd {
|
||||
if response.RunDetail.Workspace != cwd || response.RunDetail.Input["pwd"] != cwd {
|
||||
t.Fatal("CLI did not use invocation directory", response.RunDetail.Workspace, cwd)
|
||||
}
|
||||
output, err = run("run", "workflow", "exact task", "--yes", "--json", "--request-key", "same-key")
|
||||
|
||||
Reference in New Issue
Block a user