Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
131ca77
🐛 meetings: log every failed meetings call and keep a failed approval…
clubanderson Nov 17, 2026
2dace82
✨ Remote items: follow up on issues and PRs the hive opened as its Ap…
clubanderson Nov 17, 2026
d940f76
🐛 fix(ioscan): do not fleet-report an injection-withheld kick as a cl…
Karibhou Nov 17, 2026
5649daf
🌱 ci: fetch only the histories the squash-attribution check reads (#1…
clubanderson Nov 17, 2026
c48ca21
✨ Hand workflow-model states to their agent profiles (claim first, di…
clubanderson Nov 17, 2026
d937e8d
🐛 Betty closes the loop on deep dives; research agents survive config…
clubanderson Nov 17, 2026
4e8e58d
✨ Review follow-ups, trust-only 090 and issue pr-link notes become st…
clubanderson Nov 17, 2026
69ca296
🌱 ci: no mutation comment on error verdicts; no reopen hint for bot o…
clubanderson Nov 17, 2026
4cde921
🐛 Meetings: keep nothing from before the consent notice is delivered …
clubanderson Nov 17, 2026
ae19087
🐛 fix: stop open-PR guard label retry storms and classify the failure…
clubanderson Nov 17, 2026
54a8fa6
🌱 ci: blobless history fetch for the squash-attribution check (#18634)
clubanderson Nov 17, 2026
8bd2fd2
🐛 Deflake TestSessionCreateWithSeedWaitsForRunning (#18632)
clubanderson Nov 17, 2026
48cb46e
🔖 release: v5.293.0
actions-user Nov 17, 2026
1511437
Merge pull request #18640 from hivecommons/release-gate/v5.293.0
clubanderson Nov 17, 2026
6b9d861
✨ Owner-only Send to <profile> on model-owned stage-tracker rows (#18…
clubanderson Nov 17, 2026
81ef063
📖 docs: Betty on Zoom without a Zoom app, options and recommendation …
Karibhou Nov 17, 2026
cafedf4
🐛 hub: converge cluster host_aliases on every hosted spoke, push-repo…
clubanderson Nov 17, 2026
fbd59c4
✨ meetings: desktop companion meetings (/api/companion/*) (#18611)
clubanderson Nov 17, 2026
52a883d
🌱 deps: quorum v0.3.0 (desktop companion platform) (#18622)
clubanderson Nov 17, 2026
030a93c
✨ Betty: parallel answers with attribution, sources and timings, voic…
clubanderson Nov 17, 2026
7650ff2
✨ Sessions: per-session git worktrees with a locked shared git config…
clubanderson Nov 17, 2026
02d2850
🐛 fix: wait for seed queue before test cleanup (#18641)
hivecommons-hive[bot] Nov 17, 2026
6b1f578
✨ meetings: per-user desktop companion tokens and hub passthrough (#1…
clubanderson Nov 17, 2026
a688281
🔖 release: v5.294.0
actions-user Nov 17, 2026
c69304f
Merge pull request #18649 from hivecommons/release-gate/v5.294.0
clubanderson Nov 17, 2026
f444b4f
🌱 images: bump omp 18.20.0 -> 18.22.0 (#18647)
clubanderson Nov 17, 2026
3d8d438
🌱 images: bump claude 2.1.325 -> 2.1.326 (#18648)
clubanderson Nov 17, 2026
dfbc34d
🌱 ci: size overlayfs-exec-guard timeout for the cold whisper-cache pa…
clubanderson Nov 17, 2026
0b8ad82
🐛 Isolate restart kick test tmux sessions (#18650)
hivecommons-hive[bot] Nov 17, 2026
18df5b7
🔖 release: v5.295.0
actions-user Nov 17, 2026
b2a075b
Merge pull request #18652 from hivecommons/release-gate/v5.295.0
clubanderson Nov 17, 2026
a41f160
✨ feat: range attribution core for post-merge runs (#18653)
hivecommons-hive[bot] Nov 17, 2026
4ecf300
🔖 release: v5.296.0
actions-user Nov 17, 2026
72cb451
Merge pull request #18658 from hivecommons/release-gate/v5.296.0
clubanderson Nov 17, 2026
e36ea10
✨ feat: Tekton PipelineRun post-merge observer (#18655)
hivecommons-hive[bot] Nov 17, 2026
fd32290
✨ feat: GitHub Actions post-merge run observer for pipeline.status (#…
hivecommons-hive[bot] Nov 17, 2026
f38f2d9
[scanner] fix: wire post-merge observers into pipeline.status facts (…
hivecommons-hive[bot] Nov 17, 2026
81266fe
🔖 release: v5.297.0
actions-user Nov 17, 2026
1e196da
Merge pull request #18663 from hivecommons/release-gate/v5.297.0
clubanderson Nov 17, 2026
a703402
🔖 release: v5.298.0
actions-user Nov 17, 2026
4e5fc31
Merge pull request #18664 from hivecommons/release-gate/v5.298.0
clubanderson Nov 17, 2026
ed4f260
[scanner] fix: stop retrying closing-issue link on GitHub manual refe…
hivecommons-hive[bot] Nov 17, 2026
01acdce
🔖 release: v5.298.1
actions-user Nov 17, 2026
c51ab51
Merge pull request #18672 from hivecommons/release-gate/v5.298.1
clubanderson Nov 17, 2026
cf4f3b3
🌱 ci: move whisper-builder cache to GHCR registry, stop wasted gha ex…
clubanderson Nov 17, 2026
ff268e2
🐛 Keep Copilot config.json linked to the shared login after the CLI's…
clubanderson Nov 17, 2026
c7aea83
🐛 ci: materialize warmed tmux/whisper stages so the main image build …
clubanderson Nov 17, 2026
5440aa2
📖 Document kick refusals and link the docs from the dashboard (#18695)
clubanderson Nov 17, 2026
18d30bf
🌱 chore: top up v6 from v5 (2026-11-17, second pass)
clubanderson Nov 17, 2026
6712b20
🔖 release: v5.298.2
actions-user Nov 17, 2026
ff89890
Merge pull request #18698 from hivecommons/release-gate/v5.298.2
clubanderson Nov 17, 2026
5832c50
🌱 chore: top up v6 from v5 (2026-11-17, second pass): carry #18687 an…
clubanderson Nov 17, 2026
3da5c99
🌱 chore: top up v6 from v5 (2026-11-17, second pass): carry v5.298.2
clubanderson Nov 17, 2026
9f289f9
DCO Remediation Commit for Andy Anderson <andy@clubanderson.com>
clubanderson Nov 17, 2026
d02faff
🐛 Workflow dispatch: start on a standard hive and show a profile no a…
clubanderson Nov 17, 2026
bab59d6
Third-Party DCO Remediation Commit for hivecommons-hive[bot] <2809835…
clubanderson Nov 17, 2026
46c3c57
Third-Party DCO Remediation Commit for Andy Anderson <andy@clubanders…
clubanderson Nov 17, 2026
b9dff64
DCO Remediation Commit for Andy Anderson <andy@clubanderson.com>
clubanderson Nov 17, 2026
4675077
DCO Remediation Commit for Andy Anderson <andy@clubanderson.com>
clubanderson Nov 17, 2026
2a56dc5
🌱 ci: let the DCO app honour an author's own remediation commit (#18703)
clubanderson Nov 17, 2026
9384841
Merge remote-tracking branch 'origin/v5' into topup/v5-to-v6-20261117…
clubanderson Nov 17, 2026
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
11 changes: 11 additions & 0 deletions .github/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# DCO app (probot/dco) configuration.
#
# Allow an author to vouch for their own earlier commits with a DCO
# remediation commit, the mechanism the DCO app documents for commits whose
# author email has no matching Signed-off-by. This is needed when a v5 -> v6
# top-up carries commits whose author and sign-off identities differ (see
# hivecommons/hive#18697); it does not allow anyone to sign off on behalf of
# another author.
allowRemediationCommits:
individual: true
thirdParty: false
2 changes: 1 addition & 1 deletion .github/scripts/integration-governance.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const MAX_COMMITS = 1000;
const MAX_AUTHOR_BATCH = 50;
// This literal is inside the enrolled .github closure. A caller-supplied
// preparedBy.sourceSHA must never choose a new executable verifier tree.
const TRUSTED_SCRIPTS_TREE = '46005db3bdfd434e5a143bde8590e3b05e0892a2';
const TRUSTED_SCRIPTS_TREE = 'bf12ae550a3a4d306821d0ae56cc22850f035e3c';
const SOURCE = 'https://github.com/kubernetes-sigs/kubebuilder-release-tools/tree/012269a88fa4c034a0acf1ba84c26b195c0dbab4';
const sha = value => crypto.createHash('sha256').update(value).digest('hex');
const git = (args, cwd = process.cwd()) =>
Expand Down
52 changes: 44 additions & 8 deletions .github/workflows/dco-squash-attribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,61 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
# Shallow on purpose: `fetch-depth: 0` fetches EVERY branch and tag
# (`+refs/heads/*` `+refs/tags/*`). On this repo's ref count that
# took 17-35s on a good day and, on #18482 (run 43960382195), hung
# for the whole 5-minute job budget before the check ever ran. The
# step below fetches only the histories the checker reads.
fetch-depth: 1
# The merge commit GitHub synthesises for a PR is not what gets
# squashed; the PR's own commits are. Check those.
ref: ${{ github.event.pull_request.head.sha }}

- name: Self-test the attribution checker
run: bash src/scripts/test-check-squash-signoff-attribution.sh

- name: Make the default branch resolvable
- name: Fetch the PR, base and default-branch histories
env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
# A healthy targeted fetch finishes well inside this; a stalled
# connection is killed and retried instead of eating the job budget.
FETCH_ATTEMPT_TIMEOUT_SECS: '60'
FETCH_ATTEMPTS: '3'
run: |
set -euo pipefail
# Commits already on the default branch are excluded from the check
# (see the script). Without this ref a sync PR re-flags every commit
# it carries forward, so fetch it explicitly rather than relying on
# checkout having populated remote-tracking refs.
git fetch --no-tags origin \
"+refs/heads/${DEFAULT_BRANCH}:refs/remotes/origin/${DEFAULT_BRANCH}"
# The checker walks BASE_SHA..HEAD_SHA, and commits already on the
# default branch are excluded (see the script): without that ref a
# sync PR re-flags every commit it carries forward. Fetch exactly
# those three histories, in full, and nothing else.
#
# Blobless (--filter=blob:none): the checker reads only commits and
# trees (rev-list, log formats, diff-tree --name-only), never file
# contents, and git marks origin as a promisor so anything that did
# need a blob would lazy-fetch it. Unshallowing WITH blobs measured
# 38-42s on the self-hosted pool (#18609), slower than the old
# all-refs checkout; blobless cuts the transfer ~10x (277 MB -> 24 MB
# measured for v5's history).
for attempt in $(seq 1 "$FETCH_ATTEMPTS"); do
unshallow=()
if [ "$(git rev-parse --is-shallow-repository)" = "true" ]; then
unshallow=(--unshallow)
fi
if timeout "$FETCH_ATTEMPT_TIMEOUT_SECS" git fetch --no-tags --filter=blob:none ${unshallow[@]+"${unshallow[@]}"} origin \
"$HEAD_SHA" "$BASE_SHA" \
"+refs/heads/${DEFAULT_BRANCH}:refs/remotes/origin/${DEFAULT_BRANCH}"; then
break
fi
if [ "$attempt" = "$FETCH_ATTEMPTS" ]; then
echo "::error::git fetch failed or stalled ${FETCH_ATTEMPTS} times (${FETCH_ATTEMPT_TIMEOUT_SECS}s each)" >&2
exit 1
fi
echo "::warning::git fetch attempt ${attempt} failed or stalled; retrying" >&2
done
test "$(git rev-parse --is-shallow-repository)" = "false"
git rev-parse --verify "${BASE_SHA}^{commit}" >/dev/null
git rev-parse --verify "${HEAD_SHA}^{commit}" >/dev/null
git rev-parse --verify "refs/remotes/origin/${DEFAULT_BRANCH}^{commit}" >/dev/null

- name: Check sign-off attribution across the PR's commits
Expand Down
56 changes: 47 additions & 9 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,15 @@ jobs:
with:
driver-opts: network=host

# Also logs in on same-repo PR builds so the whisper-builder warm step
# can READ the GHCR registry cache below. Fork PRs never reach this job
# (see `if:` above), and nothing in a PR build pushes: the image output
# has push=false and the registry cache-to is gated on push == 'true'.
- name: Log in to GHCR
if: needs.gate.outputs.push == 'true'
if: >-
needs.gate.outputs.push == 'true' ||
(github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ghcr.io
Expand Down Expand Up @@ -362,14 +369,26 @@ jobs:
BASE_REGISTRY=${{ env.BASE_REGISTRY }}
provenance: false
sbom: false
# Materialize the stage into this builder (see the note on the
# whisper warm step below); without an output a cache hit stays a
# lazy remote reference and the main build recompiles tmux.
outputs: type=tar,dest=/dev/null
cache-from: type=gha,scope=tmux-${{ steps.slug.outputs.slug }}
cache-to: type=gha,scope=tmux-${{ steps.slug.outputs.slug }},mode=max

# Same reasoning for the built-in Inbox transcription engine:
# whisper-builder's inputs are the pinned base image and two pinned,
# checksummed tarballs (whisper.cpp, FFmpeg), so its layers are safe to
# serve from cache and it is not in no-cache-filters. Compiling it cold
# costs several minutes per arch.
# costs several minutes per arch (far more for arm64 under QEMU).
#
# Its cache lives in a GHCR registry cache, NOT the Actions cache. The
# Actions cache sits over its 10 GB cap, so LRU eviction kept dropping
# the whisper blobs and every build recompiled whisper.cpp + FFmpeg.
# The registry cache is not subject to that cap. It is a dedicated
# package (hive-buildcache), never a release image tag, with one tag
# per arch so amd64 and arm64 never overwrite each other. Only
# push=true builds export it; same-repo PR builds read it only.
- name: Warm whisper-builder layer cache
continue-on-error: true
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
Expand All @@ -382,8 +401,21 @@ jobs:
BASE_REGISTRY=${{ env.BASE_REGISTRY }}
provenance: false
sbom: false
cache-from: type=gha,scope=whisper-${{ steps.slug.outputs.slug }}
cache-to: type=gha,scope=whisper-${{ steps.slug.outputs.slug }},mode=max
# MATERIALIZE the result. Measured 2026-11-17 on v5: with no output
# this step reported every whisper-builder layer CACHED in ~1s, and
# the main build below then recompiled FFmpeg + whisper.cpp anyway
# (and tmux, same pattern, on runs before that). A warm step that
# hits its remote cache without an output never loads the layers
# into the builder's local cache, and the main build cannot be
# served from a remote cache for these stages: they share their
# FROM image with `runtime`, which no-cache-filters marks
# ignore-cache. The only builds where the main step showed these
# stages CACHED were the ones where the warm step MISSED and
# compiled locally. Exporting the stage (to /dev/null, nothing is
# kept) forces the layers to be pulled and recorded locally.
outputs: type=tar,dest=/dev/null
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/hive-buildcache:whisper-${{ steps.slug.outputs.slug }}
cache-to: ${{ needs.gate.outputs.push == 'true' && format('type=registry,ref=ghcr.io/{0}/hive-buildcache:whisper-{1},mode=max,image-manifest=true,oci-mediatypes=true,ignore-error=true', github.repository_owner, steps.slug.outputs.slug) || '' }}

- name: Build and push by digest
id: build
Expand Down Expand Up @@ -764,8 +796,11 @@ jobs:
sbom: false
# Owner-derived image name (dual-publish) — see the main build step.
outputs: type=image,name=ghcr.io/${{ github.repository_owner }}/hive-contributor,push-by-digest=true,name-canonical=true,push=${{ needs.gate.outputs.push }},oci-mediatypes=false
# Only push=true builds export: a PR-ref Actions cache entry is only
# visible to that same PR, yet it counts against the repo's 10 GB
# cap and evicts the long-lived branch entries every PR reads.
cache-from: type=gha,scope=contributor-${{ steps.slug.outputs.slug }}
cache-to: type=gha,scope=contributor-${{ steps.slug.outputs.slug }},mode=max
cache-to: ${{ needs.gate.outputs.push == 'true' && format('type=gha,scope=contributor-{0},mode=max', steps.slug.outputs.slug) || '' }}

- name: Export digest
if: needs.gate.outputs.push == 'true'
Expand Down Expand Up @@ -987,8 +1022,11 @@ jobs:
sbom: false
# Owner-derived image name (dual-publish) — see the main build step.
outputs: type=image,name=ghcr.io/${{ github.repository_owner }}/hive-hub,push-by-digest=true,name-canonical=true,push=${{ needs.gate.outputs.push }},oci-mediatypes=false
cache-from: type=gha,scope=hub-${{ steps.slug.outputs.slug }}
cache-to: type=gha,scope=hub-${{ steps.slug.outputs.slug }},mode=max
# No layer cache. src/Dockerfile.hub has exactly two stages, builder
# and runtime, and no-cache-filters above forces both to re-execute,
# so a cache could never serve a layer here. The old gha mode=max
# export only filled the Actions cache (and evicted entries that are
# reused, like whisper's) for zero hits.

- name: Export digest
if: needs.gate.outputs.push == 'true'
Expand Down Expand Up @@ -1215,8 +1253,8 @@ jobs:
sbom: false
# Owner-derived image name (dual-publish) — see the main build step.
outputs: type=image,name=ghcr.io/${{ github.repository_owner }}/hive-mx,push-by-digest=true,name-canonical=true,push=${{ needs.gate.outputs.push }},oci-mediatypes=false
cache-from: type=gha,scope=mx-${{ steps.slug.outputs.slug }}
cache-to: type=gha,scope=mx-${{ steps.slug.outputs.slug }},mode=max
# No layer cache, for the same reason as the hub build: both stages
# of src/Dockerfile.mx (builder, runtime) are in no-cache-filters.

- name: Export digest
if: needs.gate.outputs.push == 'true'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/integration-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -757,13 +757,15 @@ jobs:
- ci-required-context-scope
if: ${{ always() && needs.subject.result == 'success' && (always() && (needs.ci-required-context-scope.result != 'success' || needs.ci-required-context-scope.outputs.run-ci == 'true')) }}
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069
with:
cleanup: false
- name: Resolve runner ref name
id: ref_name
run: |
Expand All @@ -783,7 +785,7 @@ jobs:
outputs: type=oci,oci-mediatypes=true,dest=/tmp/hive-oci.tar,tar=true
cache-from: |
type=gha,scope=tmux-linux-amd64
type=gha,scope=whisper-linux-amd64
type=registry,ref=ghcr.io/${{ github.repository_owner }}/hive-buildcache:whisper-linux-amd64
build-args: |
BASE_REGISTRY=${{ env.BASE_REGISTRY }}
GIT_HASH=${{ github.sha }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/integration-technical-v2-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -595,13 +595,15 @@ jobs:
needs: required-context-scope
if: ${{ always() && (needs.required-context-scope.result != 'success' || needs.required-context-scope.outputs.run-ci == 'true') }}
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069
with:
cleanup: false
- name: Resolve runner ref name
id: ref_name
run: |
Expand All @@ -621,7 +623,7 @@ jobs:
outputs: type=oci,oci-mediatypes=true,dest=/tmp/hive-oci.tar,tar=true
cache-from: |
type=gha,scope=tmux-linux-amd64
type=gha,scope=whisper-linux-amd64
type=registry,ref=ghcr.io/${{ github.repository_owner }}/hive-buildcache:whisper-linux-amd64
build-args: |
BASE_REGISTRY=${{ env.BASE_REGISTRY }}
GIT_HASH=${{ github.sha }}
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/issue-closed-reopen-hint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ name: Issue Closed Hint
# instead of depending on whoever closed the issue remembering to say so.
#
# Skipped when the reporter closed the issue themselves (nothing to tell them)
# and for pull requests (the `issues` event never fires for those).
# and for pull requests (the `issues` event never fires for those). Also
# skipped when the reporter is a bot (the hive's own issues: nobody reads the
# hint) or a maintainer (OWNER / MEMBER / COLLABORATOR, who can reopen the
# issue themselves): those were most of the hint's comments and none of them
# told anyone something they could not already do (#18607).

on:
issues:
Expand All @@ -26,7 +30,11 @@ jobs:
name: Point the reporter at /reopen
runs-on: ubuntu-latest
timeout-minutes: 5
if: github.event.issue.user.login != github.event.sender.login
if: >-
github.event.issue.user.login != github.event.sender.login &&
github.event.issue.user.type != 'Bot' &&
!endsWith(github.event.issue.user.login, '[bot]') &&
!contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.issue.author_association)
steps:
- name: Comment
env:
Expand Down
28 changes: 26 additions & 2 deletions .github/workflows/v2-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,21 @@ jobs:
needs: required-context-scope
if: ${{ always() && (needs.required-context-scope.result != 'success' || needs.required-context-scope.outputs.run-ci == 'true') }}
runs-on: ubuntu-latest
timeout-minutes: 10
# Sized for the COLD-cache path, not the warm one. Measured 2026-11-16/17
# on ubuntu-latest: with the whisper-builder layers served from the gha
# cache the job takes 6.5-8 min (buildx step 4.3-5.8 min). But the repo's
# Actions cache sits at 12-23 GB against a 10 GB cap, so GitHub evicts LRU
# entries continuously (oldest surviving entry ~2 days) and the
# whisper-linux-amd64 blobs are regularly gone — docker.yml's own v5 warm
# step recompiles whisper several times a day. On a miss this 4-vCPU
# runner compiles FFmpeg + whisper.cpp from source: a serial ~8.5 min
# chain (apt ~35s, FFmpeg 95-150s, whisper.cpp 210-335s), so the build
# step alone is ~10.5 min and the job ~13 min. Every overlayfs-exec-guard
# cancellation sampled (#18432 x3, #18446, #18500, #18527) was that path:
# the build step cancelled at 9.5 min with whisper still compiling, or
# finishing at 7.7 min and the containerd run cut off. 20 min covers the
# cold path with ~50% headroom; the warm path is unchanged.
timeout-minutes: 20
# No `needs: build-and-test` — see the note above the `docker` job.
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -1535,6 +1549,10 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
with:
# Ephemeral hosted runner: tearing the builder container down in the
# post step bought nothing and measured 16-36s on every run.
cleanup: false

# Build a single-arch image the SAME way docker.yml builds the shipped
# image — buildx (BuildKit), attestations OFF (provenance:false/sbom:false
Expand All @@ -1555,6 +1573,12 @@ jobs:
# tmux-builder (~51s) at its third layer while its own apt layer takes
# ~20s, so a hit removes ~30s from a ~3.5 min build; a whole-image
# cache-to would instead ADD the 130-225s export docker.yml measured.
#
# whisper-builder layers come from docker.yml's GHCR registry cache
# (hive-buildcache:whisper-linux-amd64), which v5 pushes export and
# which is not subject to the Actions cache cap. Its inputs are pinned,
# checksummed tarballs, so the same stale-COPY argument holds. The read
# is anonymous; a miss or an unreadable ref just recompiles whisper.
- name: Resolve runner ref name
id: ref_name
run: |
Expand All @@ -1576,7 +1600,7 @@ jobs:
outputs: type=oci,oci-mediatypes=true,dest=/tmp/hive-oci.tar,tar=true
cache-from: |
type=gha,scope=tmux-linux-amd64
type=gha,scope=whisper-linux-amd64
type=registry,ref=ghcr.io/${{ github.repository_owner }}/hive-buildcache:whisper-linux-amd64
build-args: |
BASE_REGISTRY=${{ env.BASE_REGISTRY }}
GIT_HASH=${{ github.sha }}
Expand Down
Loading
Loading