Skip to content

Commit 641edd2

Browse files
committed
Allow the longer run/batch ids in the filters
1 parent 041cd87 commit 641edd2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/webapp/app/components/runs/v3/BatchFilters.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ function BatchIdDropdown({
359359
if (batchId) {
360360
if (!batchId.startsWith("batch_")) {
361361
error = "Batch IDs start with 'batch_'";
362-
} else if (batchId.length !== 27) {
363-
error = "Batch IDs are 27 characters long";
362+
} else if (batchId.length !== 27 && batchId.length !== 31) {
363+
error = "Batch IDs are 27/32 characters long";
364364
}
365365
}
366366

apps/webapp/app/components/runs/v3/RunFilters.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,8 @@ function RunIdDropdown({
763763
if (runId) {
764764
if (!runId.startsWith("run_")) {
765765
error = "Run IDs start with 'run_'";
766-
} else if (runId.length !== 25) {
767-
error = "Run IDs are 25 characters long";
766+
} else if (runId.length !== 25 && runId.length !== 29) {
767+
error = "Run IDs are 25/30 characters long";
768768
}
769769
}
770770

0 commit comments

Comments
 (0)