Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .agents/skills/manage-ci/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,11 @@ contract; no downstream product's workflow topology applies here.
Candidate preparation and repair run directly on the native JY Linux runner
(`jy-rnr_vfnz8k5p4yrh334`, `jy-linux-docker`) with its installed Goose and
provider authentication; do not move them into a hosted CPU container or
onto Depot. Select the pool's `native-contracts` label without restricting
preparation to x64: both Linux x64 and ARM64 can prepare CPU candidates.
onto Depot. The pool must use the Fleet-managed Linux container, whose
baseline supplies Goose, GitHub CLI and LLVM/Clang 22. Use its standard
Linux container labels; Fleet containers do not inherit custom pool labels.
Both Linux x64 and ARM64 can prepare CPU candidates. Use the supplied GitHub
CLI rather than installing a replacement in the workflow.
The workflow defaults to noninteractive Goose and preflights its
native tools. Seed the protected current patch queue before replaying a new
upstream revision so cold repositories have intermediate merge-base blobs.
Expand Down
1 change: 0 additions & 1 deletion .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
self-hosted-runner:
labels:
- jy-linux-docker
- native-contracts
- skippy-ephemeral
- family-256g
- cpu
Expand Down
6 changes: 4 additions & 2 deletions .github/scripts/llama-upgrade.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,17 @@ test('candidate preparation and repair run with Goose on the native JY runner',
assert.match(job, /group: jy-rnr_vfnz8k5p4yrh334/);
const requested = job.match(/labels: \[([^\]]+)\]/)[1].split(',').map(label => label.trim().toLowerCase());
assert.ok(requested.includes('jy-linux-docker'));
assert.ok(requested.includes('native-contracts'));
// The pool has both architectures. Requiring X64 stranded preparation
// while its only x64 machine served another pool and ARM64 hosts were idle.
for (const arch of ['X64', 'ARM64']) {
const available = new Set(['self-hosted', 'jy-linux-docker', 'Linux', 'native-contracts', arch]
// Fleet Linux containers publish standard labels, not the pool's custom labels.
const available = new Set(['self-hosted', 'jy-linux-docker', 'Linux', arch]
.map(label => label.toLowerCase()));
assert.ok(requested.every(label => available.has(label)), `${name} excludes ${arch} JY capacity`);
}
assert.doesNotMatch(job, /depot-|ubuntu-24\.04|container:|\/etc\/skippy-ci-image-id/);
assert.match(job, /run: gh --version/);
assert.doesNotMatch(job, /install-gh|skippy-gh|gh_.*linux_amd64/);
assert.match(job, /GOOSE_MODE: auto/);
assert.match(job, /run: just automation-run upgrade runner-check/);
const fallback = job.match(/SKIPPY_UPGRADE_REPAIR_COMMAND: .*\|\| '([^']+)'/);
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/llama-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on:
group: jy-rnr_vfnz8k5p4yrh334
labels: [self-hosted, jy-linux-docker, Linux, native-contracts]
labels: [self-hosted, jy-linux-docker, Linux]
timeout-minutes: 180
permissions:
contents: read
Expand Down Expand Up @@ -60,10 +60,8 @@ jobs:
- uses: ./.github/actions/setup
with:
cache: 'false'
- name: Install pinned GitHub CLI
run: |
bash scripts/install-gh.sh "$RUNNER_TEMP/skippy-gh"
echo "$RUNNER_TEMP/skippy-gh" >> "$GITHUB_PATH"
- name: Check runner GitHub CLI
run: gh --version
- name: Resolve immutable upstream source
id: resolve
env:
Expand Down Expand Up @@ -138,7 +136,7 @@ jobs:
needs.candidate.outputs.validate == 'true' && needs.qualify.result == 'failure'
runs-on:
group: jy-rnr_vfnz8k5p4yrh334
labels: [self-hosted, jy-linux-docker, Linux, native-contracts]
labels: [self-hosted, jy-linux-docker, Linux]
defaults:
run:
shell: bash
Expand All @@ -161,10 +159,8 @@ jobs:
- uses: ./.github/actions/setup
with:
cache: 'false'
- name: Install pinned GitHub CLI
run: |
bash scripts/install-gh.sh "$RUNNER_TEMP/skippy-gh"
echo "$RUNNER_TEMP/skippy-gh" >> "$GITHUB_PATH"
- name: Check runner GitHub CLI
run: gh --version
- name: Check JY native tools and repair agent
run: just automation-run upgrade runner-check
- uses: ./.github/actions/cache
Expand Down
10 changes: 7 additions & 3 deletions ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,13 +534,17 @@ separate PR/manual/nightly/release policy in `inference.yml`.
The successful path has one full CI pass. A failed candidate may receive one
agent repair followed by full CI on a fresh candidate. Preparation and repair
run directly on the native JY Linux runner in group
`jy-rnr_vfnz8k5p4yrh334` with labels `self-hosted`, `jy-linux-docker`, `Linux`
and `native-contracts`. Both Linux x64 and ARM64 machines can prepare CPU
`jy-rnr_vfnz8k5p4yrh334` with labels `self-hosted`, `jy-linux-docker` and `Linux`.
The JY selection uses the Fleet-managed Linux container, whose baseline includes
GitHub CLI, Goose and LLVM/Clang 22. Fleet containers publish standard Linux
container labels; the selection's custom labels apply to its native listener.
Both Linux x64 and ARM64 machines can prepare CPU
candidates; compiler caches remain architecture-scoped. An x64-only selector
can leave preparation queued while the pool's ARM64 machines are idle.
Goose and its provider authentication come from that runner. These
jobs do not use the hosted CPU container, which would hide the runner
installation. Just and GitHub CLI remain pinned; native prerequisites include
installation. Just remains pinned; GitHub CLI is checked with `gh --version`
and used directly from the managed image. Native prerequisites include
LLVM/Clang 22 under `/usr/lib/llvm-22`. A preflight checks the repair executable
and native tools before preparation. The schedule stays disabled until
unchanged-pin and changed-pin
Expand Down
16 changes: 0 additions & 16 deletions scripts/install-gh.sh

This file was deleted.

Loading