Skip to content

Commit a89e30c

Browse files
feanilclaude
andcommitted
build: split cms-1 shard — move contentstore/ to new cms-2
contentstore/ is large enough that the cms-1 runner was being killed mid-run in CI (OOM or runner-level timeout). Splitting it into its own shard keeps each job under the ~20-25 min target. No changes needed to gha_unit_tests_collector.py — it already classifies any shard whose first path starts with "cms/" as a CMS shard. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 94df4b2 commit a89e30c

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/unit-test-shards.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,5 +245,11 @@
245245
"cms/envs/",
246246
"cms/lib/"
247247
]
248+
},
249+
"cms-2": {
250+
"settings": "cms.envs.test",
251+
"paths": [
252+
"cms/djangoapps/contentstore/"
253+
]
248254
}
249255
}

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
- "shared-with-lms-2"
3636
- "shared-with-cms-1"
3737
- "cms-1"
38+
- "cms-2"
3839
mongo-version:
3940
- "7.0"
4041
os-version:

0 commit comments

Comments
 (0)