Skip to content

Commit e9c6cc7

Browse files
authored
New batch id length is longer (#1944)
1 parent 30f9352 commit e9c6cc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,8 @@ function BatchIdDropdown({
841841
if (batchId) {
842842
if (!batchId.startsWith("batch_")) {
843843
error = "Batch IDs start with 'batch_'";
844-
} else if (batchId.length !== 27) {
845-
error = "Batch IDs are 27 characters long";
844+
} else if (batchId.length !== 27 && batchId.length !== 31) {
845+
error = "Batch IDs are 27 or 31 characters long";
846846
}
847847
}
848848

0 commit comments

Comments
 (0)