mirror of
https://github.com/hanzoai/forge.git
synced 2026-10-30 15:00:39 +00:00
These jobs asked for `hanzo-linux-amd64`. No runner advertises that label, so they never ran — and crucially they did not FAIL either. A job requesting an unadvertised label queues until the 24h timeout, which reads as "CI is slow" rather than "CI is misconfigured", so this hid rather than surfaced. Verified live against git.hanzo.ai /api/v1/admin/actions/runners rather than inferred: the four ONLINE runners (git-runner-0..3) advertise exactly ubuntu-latest, ubuntu-22.04, ubuntu-24.04 and hanzo-build-linux-amd64. The three self-hosted hosts that carry other labels (spark gb10/cuda, dbc m4max/metal, evo gfx1151/rocm) are all OFFLINE, and none of them advertises a linux-amd64 pool anyway. So there is exactly ONE usable pool today and this points at it. Fleet-wide this was 27 jobs across 14 files in 8 repos. The one remaining mention of the old label is a COMMENT in iam2/image.yml that documents this very defect — deliberately left intact.
73 lines
2.2 KiB
YAML
73 lines
2.2 KiB
YAML
# Populates main's cache scope so PR runs warm-start from it. Saves the go
|
|
# module, go build (incl. test compile), and golangci-lint caches.
|
|
#
|
|
# Caches are ref-scoped: PR runs read their own scope then fall back to the
|
|
# base branch. Per .github/actions/go-cache/action.yml, PRs are restore-only,
|
|
# so push-to-main is the only opportunity to populate the fallback scope.
|
|
|
|
name: cache-seeder
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "go.sum"
|
|
- ".golangci.yml"
|
|
- ".github/actions/go-cache/action.yml"
|
|
- ".github/actions/go-setup/action.yml"
|
|
- ".hanzo/workflows/cache-seeder.yml"
|
|
|
|
concurrency:
|
|
group: cache-seeder
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
gobuild:
|
|
runs-on: hanzo-build-linux-amd64
|
|
steps:
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
|
- uses: ./.github/actions/go-setup
|
|
- run: make deps-backend deps-tools
|
|
- run: TAGS="bindata" make backend
|
|
- run: TAGS="bindata gogit" GOEXPERIMENT="" make backend
|
|
- name: warm test compile cache (bindata)
|
|
env:
|
|
TAGS: bindata
|
|
GOTEST_FLAGS: -race -list=^$$ -count=1
|
|
run: make test-backend
|
|
- name: warm test compile cache (bindata gogit)
|
|
env:
|
|
TAGS: bindata gogit
|
|
GOEXPERIMENT:
|
|
GOTEST_FLAGS: -race -list=^$$ -count=1
|
|
run: make test-backend
|
|
- name: warm integration compile cache
|
|
run: |
|
|
TAGS="bindata" make test-integration-compile
|
|
TAGS="bindata gogit" GOEXPERIMENT="" make test-integration-compile
|
|
TAGS="bindata gogit" GOTEST_FLAGS="-race" make test-integration-compile
|
|
|
|
lint:
|
|
runs-on: hanzo-build-linux-amd64
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- { tags: "bindata", target: "lint-backend" }
|
|
steps:
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
|
- uses: ./.github/actions/go-setup
|
|
with:
|
|
lint-cache: "true"
|
|
- run: make deps-backend deps-tools
|
|
- run: make generate-go
|
|
env:
|
|
TAGS: ${{ matrix.tags }}
|
|
- run: make ${{ matrix.target }}
|
|
env:
|
|
TAGS: ${{ matrix.tags }}
|