File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -207,10 +207,16 @@ jobs:
207207 name : Generate shard overview (human + JSON)
208208 command : |
209209 # 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
210+ PARALLEL=<< pipeline.parameters.e2e_parallelism >>
211+ COMMIT_SHA=${CIRCLE_SHA1:-unknown}
212+ CACHE_PREFIX="reports/shards/cache/${COMMIT_SHA}-shards${PARALLEL}"
213+ MANIFEST_PATH="${CACHE_PREFIX}/manifest.json"
214+ echo "Looking for manifest at: $MANIFEST_PATH"
215+ if [ -f "$MANIFEST_PATH" ]; then
216+ node scripts/generate-shard-overview.js "$CACHE_PREFIX" timings-current.json || true
212217 else
213- echo "No manifest found at ${CACHE_PREFIX}/manifest.json; skipping overview generation."
218+ echo "No manifest found at $MANIFEST_PATH; skipping overview generation."
219+ ls -la "$(dirname "$MANIFEST_PATH")" || true
214220 fi
215221 - save_cache :
216222 key : v1-shards-{{ .Environment.CIRCLE_SHA1 }}-<< pipeline.parameters.e2e_parallelism >>
You can’t perform that action at this time.
0 commit comments