diff --git a/.circleci/continue/main.yml b/.circleci/continue/main.yml index 27068f658a6..3504e771de9 100644 --- a/.circleci/continue/main.yml +++ b/.circleci/continue/main.yml @@ -1720,6 +1720,7 @@ jobs: - matches: pattern: "^gh-readonly-queue/.*$" value: << pipeline.git.branch >> + # PR branches targeting proposal/* still fetch develop's. Tests develop lacks get the 1m default. - matches: pattern: "^proposal/.*$" value: << pipeline.git.branch >> @@ -1727,7 +1728,8 @@ jobs: - run: name: Fetch develop's timings # The API needs no token while the project is public. If it goes private, set - # CIRCLE_TIMINGS_TOKEN (a personal API token, v2 rejects project tokens) as a project env var. + # CIRCLE_TIMINGS_TOKEN (a personal API token, v2 rejects project tokens) in a restricted + # context on this job. A project env var would be readable by every job. environment: # The fork must follow acceptance_l1_forks. A job with no file splits as today. JOBS: memory-all-opn-op-reth-fusaka memory-all-kona-op-reth-fusaka diff --git a/ops/scripts/shard-tests.sh b/ops/scripts/shard-tests.sh index e8d385d2032..0547c929102 100755 --- a/ops/scripts/shard-tests.sh +++ b/ops/scripts/shard-tests.sh @@ -42,6 +42,8 @@ set -- if [ -s "$TIMINGS_FILE" ]; then echo "Splitting by develop's timings from $TIMINGS_FILE" >&2 set -- --timings-file "$TIMINGS_FILE" +elif [ -d "$(dirname "$TIMINGS_FILE")" ]; then + echo "No fetched timings for ${CIRCLE_JOB:-}, splitting by CircleCI's own" >&2 fi # Canceled runs can leave partial history. CircleCI's tiny default weight for