Skip to content

Commit b9596a6

Browse files
committed
tests: ai-review: skip huge series
Occasional cross-post of huge series costs us a ton of money. Don't bother testing those. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent adf6cca commit b9596a6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/series/ai-review/test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ def test_series(tree, thing, result_dir) -> Tuple[int, str]:
1616
# Read in the config, cache it between executions
1717
global LOCAL_CONF, LOCAL_CONF_MTIME
1818

19+
if len(thing.patches) > 24:
20+
return 250, "Series too long, not submitting"
21+
1922
config_path = os.path.join(LOCAL_DIR, "config.json")
2023
if not os.path.exists(config_path):
2124
return 250, "Config file not found"

0 commit comments

Comments
 (0)