Files
PaperClipAI/server/src
DottaandClaude Opus 5.5 d21ae3724f fix(ci): run Runner image amd64 jobs on standard runners again (#23000)
## Thinking Path

> - Paperclip is the open source app people use to manage AI agents for
work
> - The Runner image workflow (`.github/workflows/runner-image.yml`)
builds the Runner image on each master push that changes Runner inputs
> - The Docker workflow waits for this Runner image before it publishes
the Core image
> - #22992 moved the master `Build and check (amd64)` and `Write the
build cache (amd64)` jobs to the `cloud-release-32` larger runner
> - On master, the amd64 build job stays queued with the
`cloud-release-32` label and never gets a runner. Jobs from other
workflows (for example `cloud-migrator-artifacts.yml`) get runners on
the same label at the same time. The runner group does not admit this
workflow.
> - Because of this, no Core image publishes after #22992, and staging
cannot deploy newer commits
> - This pull request puts the two jobs back on `matrix.runner` (the
runners before #22992). It keeps the parallel provider-pack archiving
from #22992.
> - The benefit is that Runner image and Core image publishing work
again on master

## Linked Issues or Issue Description

Refs #22992

**Describe the bug**
On master, every `Runner image` run after #22992 has its `Build and
check (amd64)` job queued forever with the `cloud-release-32` label. No
runner picks it up. The Docker publish waits on it, so no Core image
publishes.

**Steps to reproduce**
1. Merge any commit to master after #22992.
2. Open the `Runner image` run for that push.
3. See `Build and check (amd64)` queued with no runner for 30+ minutes,
while jobs from other workflows run on `cloud-release-32`.

**Expected behavior**
The amd64 build job starts on a runner, and the Runner image and the
Core image publish.

## What Changed

- `.github/workflows/runner-image.yml`: the `build` and `cache` jobs use
`runs-on: ${{ matrix.runner }}` again. The file is now identical to its
state before #22992. The comment about the larger runner is removed.
- `server/src/__tests__/runner-image-workflow.test.ts`: the guard test
now asserts that the `build` and `cache` jobs use `matrix.runner` and do
not reference `cloud-release-32` or `CORE_PUBLICATION_RUNNER`.
- The parallel archive change in
`scripts/create-provider-pack-archive.mjs` and its test from #22992 do
not change.

To use `cloud-release-32` for this workflow again, an owner must first
let the runner group admit `runner-image.yml`. With the current group
settings, the job never started on that runner. This PR does not change
repository variables, runner groups or organization settings.

## Verification

- `git diff 168253f74d -- .github/workflows/runner-image.yml` is empty.
- `pnpm exec vitest run
server/src/__tests__/runner-image-workflow.test.ts`: 18/18 pass.
- After merge: the master `Runner image` run starts its amd64 job on
`ubuntu-latest`, and the master `Docker` run publishes.

## Risks

- Low risk. This restores the runner placement that worked before
#22992. The master amd64 Runner build goes back to its earlier duration
on the 4-core runner.

## Model Used

- Claude Opus 5.5 (`claude-opus-5-5`), Claude Code agent with tool use
and shell execution.

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [x] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [ ] All Paperclip CI gates are green
- [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 16:53:08 -06:00
..
…
…
…
…
…
…