mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 17:17:38 +00:00
* ci: run PR unit shards on free hosted ARM as 12 shards Enterprise's 1,000-job limit makes more, smaller shards free. A 12-shard cold run on ubuntu-24.04-arm measured 361s median / 412s max per shard, against ~390s / ~441s for five warm Blacksmith 8-vCPU shards. The Blacksmith-store module cache producer becomes dispatch-only since hosted shards cannot read it. * TEMP: force 12 shards on this PR (repo var is still 5); drop before merge * test: size the full-inventory routing check from FULL_SHARD_COUNT * Revert TEMP 12-shard override; the repository variable is now 12 --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
31 lines
858 B
YAML
31 lines
858 B
YAML
name: Unit transform cache producer
|
|
|
|
# Cold full unit run on main that publishes per-shard Vitest transform caches.
|
|
# Dispatch only: PR shards run on hosted runners, which cannot read this Blacksmith-store cache.
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: unit-module-cache-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
unit_plan:
|
|
if: github.ref == 'refs/heads/main'
|
|
uses: ./.github/workflows/unit-plan.yml
|
|
|
|
test:
|
|
needs: unit_plan
|
|
uses: ./.github/workflows/unit-tests.yml
|
|
with:
|
|
# Match the PR unit matrix so the cache key's runtime and shard fields line up.
|
|
node_versions: '["24"]'
|
|
runner: blacksmith-8vcpu-ubuntu-2404
|
|
shards: ${{ needs.unit_plan.outputs.shards }}
|
|
module_cache: cold
|
|
artifact_prefix: cache-producer-unit
|
|
run_relay_integration: false
|