Skip to content

Commit 1422307

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 e95bbce commit 1422307

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@
235235
"paths": [
236236
"cms/djangoapps/api/",
237237
"cms/djangoapps/cms_user_tasks/",
238-
"cms/djangoapps/contentstore/",
239238
"cms/djangoapps/course_creators/",
240239
"cms/djangoapps/export_course_metadata/",
241240
"cms/djangoapps/models/",
@@ -245,5 +244,11 @@
245244
"cms/envs/",
246245
"cms/lib/"
247246
]
247+
},
248+
"cms-2": {
249+
"settings": "cms.envs.test",
250+
"paths": [
251+
"cms/djangoapps/contentstore/"
252+
]
248253
}
249254
}

.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)