File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,8 @@ jobs:
186186 | xargs -I {} basename {} \
187187 | sed 's/\.js$//' \
188188 | grep -v metamask)
189+ # Persist full test list for visibility
190+ printf '%s\n' "$TEST_NAMES" > reports/shards/all-tests.txt
189191 COUNT=$(printf '%s\n' "$TEST_NAMES" | wc -l | awk '{print $1}')
190192 echo "Found $COUNT enabled tests. Planning for $PARALLEL shard(s)."
191193 # Generate a manifest (index 0 is arbitrary; manifest includes all bins)
@@ -201,6 +203,15 @@ jobs:
201203 printf '%s\n' "$OUT" > "${CACHE_PREFIX}/files-$i.txt"
202204 done
203205 echo "Precomputed shard files saved under $CACHE_PREFIX"
206+ - run :
207+ name : Generate shard overview (human + JSON)
208+ command : |
209+ # Build overview.txt and overview.json next to manifest.json
210+ if [ -f "${CACHE_PREFIX}/manifest.json" ]; then
211+ node scripts/generate-shard-overview.js "${CACHE_PREFIX}" timings-current.json || true
212+ else
213+ echo "No manifest found at ${CACHE_PREFIX}/manifest.json; skipping overview generation."
214+ fi
204215 - save_cache :
205216 key : v1-shards-{{ .Environment.CIRCLE_SHA1 }}-<< pipeline.parameters.e2e_parallelism >>
206217 paths :
@@ -210,6 +221,10 @@ jobs:
210221 paths :
211222 - remix-dist.tar.gz
212223 - reports/shards
224+ - store_artifacts :
225+ path : ./reports/shards
226+ - store_artifacts :
227+ path : ./timings-current.json
213228
214229 build-plugin :
215230 docker :
You can’t perform that action at this time.
0 commit comments