improve(ci): reduce main gating delays and add timing trends (#122441)

* ci: stop publishing warm dependency snapshots

Amp-Thread-ID: https://ampcode.com/threads/T-019ff3db-c467-70ad-8ed3-81f2ba94b0c0

* ci: isolate the high-variance source test shard

Amp-Thread-ID: https://ampcode.com/threads/T-019ff3db-c467-70ad-8ed3-81f2ba94b0c0

* ci: guarantee rebuilt dependency snapshot publication

Amp-Thread-ID: https://ampcode.com/threads/T-019ff3db-c467-70ad-8ed3-81f2ba94b0c0

* ci: add balanced main timing trends

Amp-Thread-ID: https://ampcode.com/threads/T-019ff3db-c467-70ad-8ed3-81f2ba94b0c0

* fix(ci): fall back when Crabbox CLI is unavailable

Amp-Thread-ID: https://ampcode.com/threads/T-019ff3db-c467-70ad-8ed3-81f2ba94b0c0

* Revert "fix(ci): fall back when Crabbox CLI is unavailable"

This reverts commit 0583ac8a9d.

---------

Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Peter Steinberger
2026-08-11 22:26:39 -07:00
committed by GitHub
parent dd57cfb6c1
commit 72e42eed48
10 changed files with 1113 additions and 37 deletions
+11
View File
@@ -898,6 +898,17 @@ jobs:
echo "::warning::pnpm store remains above its 8 GiB maintenance ceiling after prune"
fi
# StickyDisk's pinned on-change mode compares whole-filesystem
# allocation to its mount-time baseline. Only a successful real
# dependency capture creates this runner-local signal. Force and
# verify the delta after pruning so a same-size rebuild commits while
# validated warm restores remain read-only.
if [ -f "${OPENCLAW_STICKY_REBUILD_SIGNAL:?}" ]; then
bash "$GITHUB_WORKSPACE/.github/actions/setup-node-env/sticky-importers.sh" \
ensure-change /var/tmp/openclaw-node-deps \
"${OPENCLAW_STICKY_INITIAL_USAGE_BYTES:?}"
fi
# Run dependency-free security checks on a hosted runner in parallel with
# scope detection. No downstream job waits for Python/pre-commit setup.
security-fast: