mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 09:27:29 +00:00
* refactor(tooling): organize test runtime and maintenance owners * test(tooling): preserve relocated runtime fixture dependency edges * refactor(tooling): preserve xterm routing owner checks * ci(tooling): include routing owner in sparse checkout * test(tooling): preserve copied workflow dependency closures * fix(tooling): normalize hashed JSON assets in release parity * fix(tooling): distinguish asset aliases from literal references * fix(tooling): frame normalized asset reference payloads * fix(tooling): normalize decoded JSON asset references * refactor(tooling): organize build, CI and release owners * fix(tooling): align moved generator and workflow path contracts * fix(tooling): update generated plugin bundle owner banners * test(tooling): create relocated mobile verifier fixture directories * test(tooling): copy headless detector dependency closure * test(tooling): align native batch policy fixtures with owner path * fix(tooling): link moved reliability command to historical evidence * fix(tooling): preserve nested sandbox owners and canonical guide source * fix(tooling): target release version owners in checkout fixture
65 lines
2.4 KiB
YAML
65 lines
2.4 KiB
YAML
name: Shared xterm dependency cache
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- '.github/workflows/ci-xterm-cache.yml'
|
|
- '.github/actions/prepare-xterm-dependencies/**'
|
|
- 'config/patches/xterm-upstream.json'
|
|
- 'config/scripts/terminal-dependencies/xterm-patches/regenerate-xterm-patches.mjs'
|
|
- 'config/scripts/terminal-dependencies/xterm-patches/xterm-patch-text.mjs'
|
|
- 'package.json'
|
|
# Refresh after Node patch releases or cache eviction without rebuilding on hits.
|
|
schedule:
|
|
- cron: '17 5 * * *'
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
concurrency:
|
|
group: xterm-cache-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
env:
|
|
ORCA_BACKGROUND_LAUNCH: '1'
|
|
jobs:
|
|
seed:
|
|
if: github.ref == 'refs/heads/main'
|
|
# Blacksmith and GitHub keep separate cache stores; seed the same key in both for either consumer pool.
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
runner: [blacksmith-4vcpu-ubuntu-2404-arm, ubuntu-24.04-arm]
|
|
concurrency:
|
|
group: xterm-cache-seed-${{ github.ref }}-${{ matrix.runner }}
|
|
cancel-in-progress: true
|
|
runs-on: ${{ matrix.runner }}
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version-file: package.json
|
|
check-latest: true
|
|
package-manager-cache: false
|
|
- uses: ./.github/actions/prepare-xterm-dependencies
|
|
id: cache
|
|
- name: Verify and populate dependencies
|
|
if: steps.cache.outputs.cache-hit != 'true'
|
|
run: node config/scripts/terminal-dependencies/xterm-patches/regenerate-xterm-patches.mjs --check --work-dir="$RUNNER_TEMP/xterm-patch-build"
|
|
- uses: actions/cache/save@v5
|
|
if: steps.cache.outputs.cache-hit != 'true'
|
|
with:
|
|
path: |
|
|
${{ runner.temp }}/xterm-patch-build/upstream/.git
|
|
${{ runner.temp }}/xterm-patch-build/upstream/node_modules
|
|
key: ${{ steps.cache.outputs.cache-key }}
|
|
- name: Preserve fallback downloads
|
|
if: steps.cache.outputs.cache-hit != 'true'
|
|
uses: actions/cache/save@v5
|
|
with:
|
|
path: |
|
|
~/.npm
|
|
${{ runner.temp }}/xterm-patch-build/upstream/.git
|
|
key: xterm-upstream-${{ hashFiles('config/patches/xterm-upstream.json') }}
|