Skip to content

fix(ci): drop restore-keys on Claude Code npm cache so pin bumps install - #1169

Merged
aaronjmars merged 1 commit into
mainfrom
fix/claude-code-cache-no-restore-keys
Oct 6, 2026
Merged

aaronjmars merged 1 commit into
mainfrom
fix/claude-code-cache-no-restore-keys

Conversation

@aaronjmars

Copy link
Copy Markdown
Collaborator

Problem

Since the 2026-10-05 aeon-update sync bumped the Claude Code pin to 2.1.287, every skill run on aeon-agent and miroshark-aeon failed at "Install Claude Code":

npm error notarget No matching version found for @anthropic-ai/claude-code@2.1.287.

There was no cache under claude-code-Linux-2.1.287, so restore-keys restored the old claude-code-Linux-2.1.168 cache from July. Its cached packument lists versions only up to 2.1.168, and npm install --prefer-offline trusts that stale metadata, so npm reports that 2.1.287 does not exist. The install fails, no new cache key is ever saved, and every later run fails the same way.

Fix

Remove the restore-keys fallback from the Claude Code npm cache in aeon.yml and messages.yml. An exact-key hit still installs offline. A miss (first run after a bump) downloads fresh and saves the new key. The old tarball never helped a bump anyway, since each release ships new binaries.

The broken instances were unblocked by deleting their stale claude-code-Linux-2.1.168 caches. This PR stops it from happening again on the next bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant